Explains how to monitor the translation of OMP metrics into service-side routing protocols.
For complete information about how a transport gateway translates RIB metrics, see Translating OMP Metrics for Devices Outside of the Overlay Network.
Cisco Catalyst SD-WAN Routing Configuration Guide, Releases 26.x and Later
Cisco Catalyst SD-WAN Routing Configuration Guide, Releases 26.x and Later
Explains how to monitor the translation of OMP metrics into service-side routing protocols.
For complete information about how a transport gateway translates RIB metrics, see Translating OMP Metrics for Devices Outside of the Overlay Network.
To view the OMP RIB metrics for a route, use the show ip route command on a transport gateway that is translating OMP RIB metrics.
The example below shows the OMP RIB metrics for the 10.1.1.1 route. The following metrics are shown in bold in the output:
OMP Route Metric: 3
OMP AS-PATH: 100 101
Device# show ip route vrf 1 10.1.1.1 protocol-internal
Routing Table: 1
Routing entry for 10.1.1.1/32
Known via "omp", distance 251, metric 3, type omp
Redistributing via bgp 1
Advertised by bgp 1
Last update from 10.100.1.2 00:04:35 ago
Routing Descriptor Blocks:
* 10.100.1.2 (default), from 10.100.1.2, 00:04:35 ago
opaque_ptr 0x7FC8D1470748
pdb 0x111111111110, ndb 0x111111111120, rdb 0x111111111130
OMP attribute 0x7FC8D1470748, ref 2
aspath 0x7FC8D1474870, ref 2, length 10, value 100 101
Total OMP attr count 1, aspath 1, community 0
Route metric is 3, traffic share count is 1
To show the OMP route metric for each IPv4 route prefix that a transport gateway is redistributing, use the show ip route command on the transport gateway. The OMP route metric, which is 66, is shown in bold in the output, and the administrative distance is 251.
device# show ip route vrf 1 omp
Routing Table: 1
10.0.0.0/32 is subnetted, 1 subnets
m 10.10.10.10 [251/66] via 172.16.0.1, 00:09:15
To show the OMP route metric for each IPv6 route prefix that a transport gateway is redistributing, use the show ipv6 route command on the transport gateway. The OMP route metric, which is 66, is shown in bold in the output, and the administrative distance is 251.
device# show ipv6 route vrf 1 omp
m 2001:DB8::/128 [251/66]
via 172.16.0.1%default
…
To view the derived BGP metrics for a route, use the show ip bgp command on a transport gateway that is translating OMP RIB metrics.
This example shows the derived BGP metrics for the 10.1.1.1 route. Though the example shows an IPv4 route, IPv6 routes are also supported. The following metrics are shown in bold in the output:
BGP MED: 3
BGP LOCAL_PREF: 252
BGP AS_PATH: 100 100 100 100 101 (This is 100 100 100 (3 copies), plus the original 100 101 of the OMP AS-PATH value.)
device# show ip bgp vpnv4 all 10.1.1.1
BGP routing table entry for 1:1:10.1.1.1/32, version 2
Paths: (1 available, best #1, table 1)
Advertised to update-groups:
1
Refresh Epoch 1
100 100 100 100 101
10.100.1.2 (via default) from 0.0.0.0 (10.100.1.1)
Origin incomplete, metric 3, localpref 252, valid, sourced, best
Extended Community: SoO:0:0
mpls labels in/out 16/nolabel
rx pathid: 0, tx pathid: 0x0
Updated on Apr 12 2023 19:08:17 EST
To show that the redistribute omp translate-rib-metric command is active on a router, use the show ip ospf command. The result shown in bold in the output shows that the router is configured to translate RIB metrics.
OSPF Metric for IPv4 Routes
OSPF Metric for IPv6 Routes
To show the OSPF metric that the transport gateway uses when distributing IPv4 routes to OSPF, use the show ip ospf command on the transport gateway. The OSPF metric, which is determined by the OMP route metric, is 66 in this example, and is shown in bold in the output.
Router#show ip ospf 1 rib redistribution
OSPF Router with ID (192.168.0.1) (Process ID 1)
Base Topology (MTID 0)
OSPF Redistribution
10.10.10.10/32, type 2, metric 66, tag 0, from OMP_AGENT Router
via 172.16.0.1, unknown interface
…
TTo show the OSPF metric that the transport gateway uses when distributing IPv6 routes to OSPF, use the show ospfv3 command on the transport gateway. The OSPF metric, which is determined by the OMP route metric, is 66 in this example, and is shown in bold in the output.
Router#show ospfv3 vrf 1 ipv6 rib redistribution
OSPFv3 10 address-family ipv6 vrf 1 (router-id 192.168.0.1)
2001:DB8::/128, type 2, metric 66, tag 0, from omp
via 172.16.0.1
…