Displays the contents of the IP routing table or the route origin priority.
priority | Displays the priority values for each route origin type. |
vlan_name | Specifies a VLAN name. |
permanent | Specifies permanent routing. |
ip_address | Specifies an IP address. |
netmask | Specifies a subnet mask. |
summary | Displays summary information. |
multicast | Displays information for IPv4 multicast routes only. |
unicast | Displays information for IPv4 unicast routes only. |
vrname | Specifies a VR or VRF. |
N/A.
A c flag in the Flags column indicates a compressed route resulting from enabling compression using the enable iproute compression command. The total number of compressed routes is also shown.
All routes that are provided to the FIB display the f flag.
If you do not specify a VR or VRF, the command applies to the current VR context.
The following example displays detailed information about all IP routing:
# show iproute vr vr-b Ori Destination Gateway Mtr Flags VLAN Duration #d 1.1.1.100/32 1.1.1.100 1 U------um--f- l3vni_vr_b 0d:0h:1m:17s *evn 2.2.2.2/32 2.2.2.2 1 UGHD---u---f- l3vni_vr_b 0d:0h:0m:8s *evn 2.2.2.200/32 2.2.2.2 1 UGHD---u---f- l3vni_vr_b 0d:0h:0m:7s #d 20.1.101.0/24 20.1.101.1 1 U------um--f- tenant_vlan_101 0d:0h:1m:17s *evn 20.1.102.0/24 2.2.2.2 1 UG-D---u---f- l3vni_vr_b 0d:0h:0m:7s *evn 20.1.102.2/32 2.2.2.2 1 UGHD---u---f- l3vni_vr_b 0d:0h:0m:7s *evn 99.0.0.0/8 2.2.2.2 1 UG-D---u---f- l3vni_vr_b 0d:0h:0m:7s Origin(Ori): (ap) Auto-peering, (b) BlackHole, (be) EBGP, (bg) BGP, (bi) IBGP, (bo) BOOTP,(ct) CBT, (d) Direct, (df) DownIF, (dv) DVMRP, (e1) ISISL1Ext, (e2) ISISL2Ext, (evn) EVPN, (h) Hardcoded, (hm) Host-mobility, (i) ICMP,(i1) ISISL1 (i2) ISISL2,(is) ISIS, (mb) MBGP, (mbe) MBGPExt, (mbi) MBGPInter, (mp) MPLS Lsp, (mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,(oa) OSPFIntra (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM, (r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown, (*) Preferred unicast route (@) Preferred multicast route, (#) Preferred unicast and multicast route. Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic, (f) Provided to FIB, (G) Gateway, (H) Host Route, (I) ICMP ping protection requested, (l) Calculated LDP LSP, (L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing, (R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP, (T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route. MPLS Label: (S) Bottom of Label Stack Mask distribution: 1 routes at length 8 2 routes at length 24 4 routes at length 32 Route Origin distribution: 2 routes from Direct 5 routes from EVPN Total number of routes = 7 Total number of compressed routes = 0
The following example displays detailed priority values for VR 'vr-test':
# show iproute priority vr vr-test Direct 10 MPLS 20 Blackhole 50 Static 1100 HostMobility 1150 ICMP 1200 EVPN 1698 Autopeering 1699 EBGP 1700 IBGP 1900 OSPFIntra 2200 OSPFInter 2300 Isis 2350 IsisL1 2360 IsisL2 2370 RIP 2400 OSPFAsExt 3100 OSPFExt1 3200 OSPFExt2 3300 IsisL1Ext 3400 IsisL2Ext 3500 Bootp 5000 OSPFInterVr 5010
The following example displays detailed information for VR 'vrf-test':
# show iproute vr vrf-test Ori Destination Gateway Mtr Flags VLAN Duration #oiv 40.0.0.0/24 11.0.0.2 5010 UG-D---um--f- ce2_pe2_1 0d:0h:1m:15s Origin(Ori): (ap) Auto-peering, (b) BlackHole, (be) EBGP, (bg) BGP, (bi) IBGP, (bo) BOOTP,(ct) CBT, (d) Direct, (df) DownIF, (dv) DVMRP, (e1) ISISL1Ext, (e2) ISISL2Ext, (evn) EVPN, (h) Hardcoded, (hm) Host-mobility, (i) ICMP,(i1) ISISL1 (i2) ISISL2,(is) ISIS, (mb) MBGP, (mbe) MBGPExt, (mbi) MBGPInter, (mp) MPLS Lsp, (mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,(oa) OSPFIntra (oe) OSPFAsExt, (oiv) OSPFInterVr, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM, (r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown, (*) Preferred unicast route (@) Preferred multicast route, (#) Preferred unicast and multicast route.
This command was first available in ExtremeXOS 10.1.
The ipv4 keyword was added in ExtremeXOS 11.2.
The c flag was added in ExtremeXOS 12.0.
The f flag was added in ExtremeXOS 12.2.2.
The I flag showing ICMP ping protection was added in ExtremeXOS 22.1.
The ap flag showing auto-peering information was added in ExtremeXOS 22.5.
The evn origin prefix showing EVPN information was added in ExtremeXOS 30.7.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.