show iproute

show iproute {ipv4} {priority | vlan vlan_name | permanent | ip_address netmask | summary} {multicast | unicast} {vr vrname}}


Displays the contents of the IP routing table or the route origin priority.

Syntax Description

priority Displays the priority values for each route origin type.
vlan_name Specifies a VLAN (Virtual LAN) 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.



Usage Guidelines

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:

Switch.3 # show iproute
Ori  Destination        Gateway         Mtr  Flags        VLAN       Duration
d         1    -------um--- v2         2d:10h:17m:41s
#d        1    U------um--f jim_igmp   1d:19h:49m:49s
d         1    -------um--- v3         2d:10h:17m:49s
d         1    -------um--- v4         2d:10h:17m:5s
*hm    1    UGHD---u---f- vlan23    0d:0h:16m:5s 
Origin(Ori): (b) BlackHole, (be) EBGP, (bg) BGP, (bi) IBGP, (bo) BOOTP
(ct) CBT, (d) Direct, (df) DownIF, (dv) DVMRP, (e1) ISISL1Ext
(e2) ISISL2Ext, (h) Hardcoded, (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, (hm) Host-mobility, (un) UnKnown
(*) Preferred unicast route (@) Preferred multicast route
(#) Preferred unicast and multicast route
Flags: (B) BlackHole, (b) BFD protection requested, (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
(l) Calculated LDP LSP, (3) L3VPN Route, (m) Multicast, (P) LPM-routing
(p) BFD protection active, (R) Modified, (S) Static, (s) Static LSP
(T) Matching RSVP-TE LSP, (t) Calculated RSVP-TE LSP, {u) Unicast, (U) Up
Mask distribution:
1 routes at length 16           3 routes at length 24
Route Origin distribution:
4 routes from Direct
Total number of routes = 4
Total number of compressed routes = 0


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 (Internet Control Message Protocol) ping protection was added in ExtremeXOS 22.1.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.