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
OMP route metric for IPv4 routes
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
OMP route metric for IPv6 routes
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
…