show iproute

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

Description

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 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.

Default

N/A.

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.

Example

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

History

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.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5420, and 5520 series switches.