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

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
Ori  Destination        Gateway         Mtr  Flags         VLAN       Duration
#s   Default Route      192.168.1.1     1    UG---S-um--f- Default    0d:3h:5m:18s
*ap 1.1.1.111/32       1.1.1.111       1    UGHD---u---f- SYS_BGP_1001 0d:2h:36m:27s
be  1.1.1.111/32       1.1.1.111       1    UGHD---um---- SYS_BGP_1001 0d:2h:35m:44s
*ap 3.3.3.113/32       3.3.3.113       1    UGHD---u---f- SYS_BGP_1002 0d:2h:36m:26s
*ap 3.3.3.113/32       3.3.3.113       1    UGHD---u---f- SYS_BGP_1003 0d:2h:36m:25s
be  3.3.3.113/32       3.3.3.113       1    UGHD---um---- SYS_BGP_1002 0d:2h:36m:24s

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

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

The ap flag showing auto-peering information was added in ExtremeXOS 22.5.

Platform Availability