show route extensive
Syntax
show route extensive <destination-prefix> <logical-system (all | logical-system-name)>
Syntax (EX Series Switches)
show route extensive <destination-prefix>
Description
Display extensive information about the active entries in the routing tables.
Options
none | Display all active entries in the routing table. |
destination-prefix | (Optional) Display active entries for the specified address or range of addresses. |
logical-system (all | logical-system-name) | (Optional) Perform this operation on all logical systems or on a particular logical system. |
Required Privilege Level
view
Output Fields
Table 1 describes the output
fields for the show route extensive
command. Output fields are listed in the approximate
order in which they appear.
Field Name |
Field Description |
---|---|
routing-table-name |
Name of the routing table (for example, inet.0). |
number destinations |
Number of destinations for which there are routes in the routing table. |
number routes |
Number of routes in the routing table and total number of routes in the following states:
|
route-destination (entry, announced) |
Route destination (for example: 10.0.0.1/24).
The
|
TSI |
Protocol header information. |
label stacking |
(Next-to-the-last-hop routing device for MPLS only) Depth of the MPLS label stack, where the label-popping operation is needed to remove one or more labels from the top of the stack. A pair of routes is displayed, because the pop operation is performed only when the stack depth is two or more labels.
|
[protocol, preference] |
Protocol from which the route was learned and the preference value for the route.
In every routing metric except for the BGP
|
Level |
(IS-IS only). In IS-IS, a single autonomous system (AS) can be divided into smaller groups called areas. Routing between areas is organized hierarchically, allowing a domain to be administratively divided into smaller areas. This organization is accomplished by configuring Level 1 and Level 2 intermediate systems. Level 1 systems route within an area. When the destination is outside an area, they route toward a Level 2 system. Level 2 intermediate systems route between areas and toward other ASs. |
Route Distinguisher |
IP subnet augmented with a 64-bit prefix. |
PMSI |
Provider multicast service interface (MVPN routing table). |
Next-hop type |
Type of next hop. |
Next-hop reference count |
Number of references made to the next hop. |
Flood nexthop branches exceed maximum message |
Indicates that the number of flood next-hop branches exceeded the system limit of 32 branches, and only a subset of the flood next-hop branches were installed in the kernel. |
Source |
IP address of the route source. |
Next hop |
Network layer address of the directly reachable neighboring system. |
via |
Interface used to reach the next hop. If there
is more than one interface available to the next
hop, the name of the interface that is actually
used is followed by the word
|
Label-switched-path lsp-path-name |
Name of the LSP used to reach the next hop. |
Label operation |
MPLS label and operation occurring at this
routing device. The operation can be
|
Offset |
Whether the metric has been increased or decreased by an offset value. |
Interface |
(Local only) Local interface name. |
Protocol next hop |
Network layer address of the remote routing device that advertised the prefix. This address is used to recursively derive a forwarding next hop. |
label-operation |
MPLS label and operation occurring at this
routing device. The operation can be
|
Indirect next hops |
When present, a list of nodes that are used to resolve the path to the next-hop destination, in the order that they are resolved. When BGP PIC Edge is enabled, the output lines
that contain
|
State |
State of the route (a route can be in more than one state). |
Session ID |
The BFD session ID number that represents the protection using MPLS fast reroute (FRR) and loop-free alternate (LFA). |
Weight |
Weight for the backup path. If the weight of an indirect next hop is larger than zero, the weight value is shown. |
Inactive reason |
If the route is inactive, the reason for its current state is indicated. Typical reasons include:
|
Local AS |
Autonomous system (AS) number of the local routing device. |
Age |
How long the route has been known. |
AIGP |
Accumulated interior gateway protocol (AIGP) BGP attribute. |
Metric |
Cost value of the indicated route. For routes within an AS, the cost is determined by IGP and the individual protocol metrics. For external routes, destinations, or routing domains, the cost is determined by a preference value. |
MED-plus-IGP |
Metric value for BGP path selection to which the IGP cost to the next-hop destination has been added. |
TTL-Action |
For MPLS LSPs, state of the TTL propagation attribute. Can be enabled or disabled for all RSVP-signaled and LDP-signaled LSPs or for specific VRF routing instances. |
Task |
Name of the protocol that has added the route. |
Announcement bits |
List of protocols that are consumers of the
route.
Using
the following output as an example,
The notation
|
AS path |
AS path through which the route was learned. The letters at the end of the AS path indicate the path origin, providing an indication of the state of the route at the point at which the AS path originated:
When AS path numbers are included in the route, the format is as follows:
Note:
In Junos OS Release 10.3 and later, the AS path field displays an unrecognized attribute and associated hexadecimal value if BGP receives attribute 128 (attribute set) and you have not configured an independent domain in any routing instance. |
validation-state |
(BGP-learned routes) Validation status of the route:
|
FECs bound to route |
Point-to-multipoint root address, multicast source address, and multicast group address when multipoint LDP (M-LDP) inband signaling is configured. |
AS path: I <Originator> |
(For route reflected output only) Originator ID attribute set by the route reflector. |
route status |
Indicates the status of a BGP route:
|
Primary Upstream |
When multipoint LDP with multicast-only fast reroute (MoFRR) is configured, the primary upstream path. MoFRR transmits a multicast join message from a receiver toward a source on a primary path, while also transmitting a secondary multicast join message from the receiver toward the source on a backup path. |
RPF Nexthops |
When multipoint LDP with MoFRR is configured, the reverse-path forwarding (RPF) next-hop information. Data packets are received from both the primary path and the secondary paths. The redundant packets are discarded at topology merge points due to the RPF checks. |
Label |
Multiple MPLS labels are used to control MoFRR stream selection. Each label represents a separate route, but each references the same interface list check. Only the primary label is forwarded while all others are dropped. Multiple interfaces can receive packets using the same label. |
weight |
Value used to distinguish MoFRR primary and backup routes. A lower weight value is preferred. Among routes with the same weight value, load balancing is possible. |
VC Label |
MPLS label assigned to the Layer 2 circuit virtual connection. |
MTU |
Maximum transmission unit (MTU) of the Layer 2 circuit. |
VLAN ID |
VLAN identifier of the Layer 2 circuit. |
Cluster list |
(For route reflected output only) Cluster ID sent by the route reflector. |
Originator ID |
(For route reflected output only) Address of router that originally sent the route to the route reflector. |
Prefixes bound to route |
Forwarding Equivalent Class (FEC) bound to this route. Applicable only to routes installed by LDP. |
Communities |
Community path attribute for the route. |
DeletePending |
The DeletePending flag indicates that a BGP route needs to be processed due to a BGP peer down event. |
Layer2-info: encaps |
Layer 2 encapsulation (for example, VPLS). |
control flags |
Control flags: |
mtu |
Maximum transmission unit (MTU) information. |
Label-Base, range |
First label in a block of labels and label block size. A remote PE routing device uses this first label when sending traffic toward the advertising PE routing device. |
status vector |
Layer 2 VPN and VPLS network layer reachability information (NLRI). |
Localpref |
Local preference value included in the route. |
Router ID |
BGP router ID as advertised by the neighbor in the open message. |
Primary Routing Table |
In a routing table group, the name of the primary routing table in which the route resides. |
Secondary Tables |
In a routing table group, the name of one or more secondary tables in which the route resides. |
Originating RIB |
Name of the routing table whose active route was used to determine the forwarding next-hop entry in the resolution database. For example, in the case of inet.0 resolving through inet.0 and inet.3, this field indicates which routing table, inet.0 or inet.3, provided the best path for a particular prefix. |
Node path count |
Number of nodes in the path. |
Forwarding nexthops |
Number of forwarding next hops. The forwarding next hop is the network layer address of the directly reachable neighboring system (if applicable) and the interface used to reach it. |
Statistics ID Group |
Indicates the Kernel ID number and Statistics ID number. |
Statistics |
Indicates the number of packets and data transferred. |
Validation State |
Displays the origin validation information for
each route entry and a reason code if the route is
marked invalid. The possible reasons for an
invalid route entry include mismatch due to
|
Sample Output
- show route extensive
- show route extensive (with Validation State)
- show route extensive (BGP-SRTE routes)
- show route extensive (AIGP)
show route extensive
user@host> show route extensive inet.0: 22 destinations, 23 routes (21 active, 0 holddown, 1 hidden) 203.0.113.10/16 (1 entry, 1 announced) TSI: KRT in-kernel 203.0.113.10/16 -> {192.168.71.254} *Static Preference: 5 Next-hop reference count: 29 Next hop: 192.168.71.254 via fxp0.0, selected State: <Active NoReadvrt Int Ext> Local AS: 64496 Age: 1:34:06 Task: RT Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I 203.0.113.30/30 (2 entries, 1 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 2 Next hop: via so-0/3/0.0, selected State: <Active Int> Local AS: 64496 Age: 1:32:40 Task: IF Announcement bits (1): 3-Resolve tree 2 AS path: I OSPF Preference: 10 Next-hop reference count: 1 Next hop: via so-0/3/0.0, selected State: <Int> Inactive reason: Route Preference Local AS: 64496 Age: 1:32:40 Metric: 1 Area: 0.0.0.0 Task: OSPF AS path: I 203.0.113.103/32 (1 entry, 1 announced) *Local Preference: 0 Next hop type: Local Next-hop reference count: 7 Interface: so-0/3/0.0 State: <Active NoReadvrt Int> Local AS: 644969 Age: 1:32:43 Task: IF Announcement bits (1): 3-Resolve tree 2 AS path: I ... 203.0.113.203/30 (1 entry, 1 announced) TSI: KRT in-kernel 203.0.113.203/30 -> {203.0.113.216} *OSPF Preference: 10 Next-hop reference count: 9 Next hop: via so-0/3/0.0 Next hop: 203.0.113.216 via ge-3/1/0.0, selected State: <Active Int> Local AS: 64496 Age: 1:32:19 Metric: 2 Area: 0.0.0.0 Task: OSPF Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I ... 198.51.100.2/32 (1 entry, 1 announced) TSI: KRT in-kernel 198.51.100.2/32 -> {} *PIM Preference: 0 Next-hop reference count: 18 State: <Active NoReadvrt Int> Local AS: 64496 Age: 1:34:08 Task: PIM Recv Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I ... 198.51.100.22/32 (1 entry, 1 announced) TSI: KRT in-kernel 198.51.100.22/32 -> {} *IGMP Preference: 0 Next-hop reference count: 18 State: <Active NoReadvrt Int> Local AS: 64496 Age: 1:34:06 Task: IGMP Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) 203.0.113.103/32 (1 entry, 1 announced) State: <FlashAll> *RSVP Preference: 7 Next-hop reference count: 6 Next hop: 203.0.113.216 via ge-3/1/0.0 weight 0x1, selected Label-switched-path green-r1-r3 Label operation: Push 100096 State: <Active Int> Local AS: 64496 Age: 1:28:12 Metric: 2 Task: RSVP Announcement bits (2): 1-Resolve tree 1 2-Resolve tree 2 AS path: I 203.0.113.238/32 (1 entry, 1 announced) State: <FlashAll> *RSVP Preference: 7 Next-hop reference count: 6 Next hop: via so-0/3/0.0 weight 0x1, selected Label-switched-path green-r1-r2 State: <Active Int> Local AS: 64496 Age: 1:28:12 Metric: 1 Task: RSVP Announcement bits (2): 1-Resolve tree 1 2-Resolve tree 2 AS path: I private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) ... iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) 47.0005.80ff.f800.0000.0108.0001.0102.5507.1052/152 (1 entry, 0 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via lo0.0, selected State: <Active Int> Local AS: 64496 Age: 1:34:07 Task: IF AS path: I mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) 0 (1 entry, 1 announced) TSI: KRT in-kernel 0 /36 -> {} *MPLS Preference: 0 Next hop type: Receive Next-hop reference count: 6 State: <Active Int> Local AS: 64496 Age: 1:34:08 Metric: 1 Task: MPLS Announcement bits (1): 0-KRT AS path: I ... mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) 299840 (1 entry, 1 announced) TSI: KRT in-kernel 299840 /52 -> {indirect(1048575)} *RSVP Preference: 7/2 Next hop type: Flood Address: 0x9174a30 Next-hop reference count: 4 Next hop type: Router, Next hop index: 798 Address: 0x9174c28 Next-hop reference count: 2 Next hop: 198.51.100.2 via lt-1/2/0.9 weight 0x1 Label-switched-path R2-to-R4-2p2mp Label operation: Pop Next hop type: Router, Next hop index: 1048574 Address: 0x92544f0 Next-hop reference count: 2 Next hop: 198.51.100.2 via lt-1/2/0.7 weight 0x1 Label-switched-path R2-to-R200-p2mp Label operation: Pop Next hop: 198.51.100.2 via lt-1/2/0.5 weight 0x8001 Label operation: Pop State: <Active Int> Age: 1:29 Metric: 1 Task: RSVP Announcement bits (1): 0-KRT AS path: I... 800010 (1 entry, 1 announced) TSI: KRT in-kernel 800010 /36 -> {vt-3/2/0.32769} *VPLS Preference: 7 Next-hop reference count: 2 Next hop: via vt-3/2/0.32769, selected Label operation: Pop State: <Active Int> Age: 1:31:53 Task: Common L2 VC Announcement bits (1): 0-KRT AS path: I vt-3/2/0.32769 (1 entry, 1 announced) TSI: KRT in-kernel vt-3/2/0.32769.0 /16 -> {indirect(1048574)} *VPLS Preference: 7 Next-hop reference count: 2 Next hop: 203.0.113.216 via ge-3/1/0.0 weight 0x1, selected Label-switched-path green-r1-r3 Label operation: Push 800012, Push 100096(top) Protocol next hop: 203.0.113.103 Push 800012 Indirect next hop: 87272e4 1048574 State: <Active Int> Age: 1:31:53 Metric2: 2 Task: Common L2 VC Announcement bits (2): 0-KRT 1-Common L2 VC AS path: I Communities: target:11111:1 Layer2-info: encaps:VPLS, control flags:, mtu: 0 Indirect next hops: 1 Protocol next hop: 203.0.113.103 Metric: 2 Push 800012 Indirect next hop: 87272e4 1048574 Indirect path forwarding next hops: 1 Next hop: 203.0.113.216 via ge-3/1/0.0 weight 0x1 203.0.113.103/32 Originating RIB: inet.3 Metric: 2 Node path count: 1 Forwarding nexthops: 1 Nexthop: 203.0.113.216 via ge-3/1/0.0 inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) 2001:db8::10:255:71:52/128 (1 entry, 0 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via lo0.0, selected State: <Active Int> Local AS: 64496 Age: 1:34:07 Task: IF AS path: I fe80::280:42ff:fe10:f179/128 (1 entry, 0 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via lo0.0, selected State: <Active NoReadvrt Int> Local AS: 64496 Age: 1:34:07 Task: IF AS path: I ff02::2/128 (1 entry, 1 announced) TSI: KRT in-kernel ff02::2/128 -> {} *PIM Preference: 0 Next-hop reference count: 18 State: <Active NoReadvrt Int> Local AS: 64496 Age: 1:34:08 Task: PIM Recv6 Announcement bits (1): 0-KRT AS path: I ff02::d/128 (1 entry, 1 announced) TSI: KRT in-kernel ff02::d/128 -> {} *PIM Preference: 0 Next-hop reference count: 18 State: <Active NoReadvrt Int> Local AS: 64496 Age: 1:34:08 Task: PIM Recv6 Announcement bits (1): 0-KRT AS path: I ff02::16/128 (1 entry, 1 announced) TSI: KRT in-kernel ff02::16/128 -> {} *MLD Preference: 0 Next-hop reference count: 18 State: <Active NoReadvrt Int> Local AS: 64496 Age: 1:34:06 Task: MLD Announcement bits (1): 0-KRT AS path: I private.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) fe80::280:42ff:fe10:f179/128 (1 entry, 0 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via lo0.16385, selected State: <Active NoReadvrt Int> Age: 1:34:07 Task: IF AS path: I green.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) 203.0.113.103:1:3:1/96 (1 entry, 1 announced) *BGP Preference: 170/-101 Route Distinguisher: 203.0.113.103:1 Next-hop reference count: 7 Source: 203.0.113.103 Protocol next hop: 203.0.113.103 Indirect next hop: 2 no-forward State: <Secondary Active Int Ext> Local AS: 64496 Peer AS: 64496 Age: 1:28:12 Metric2: 1 Task: BGP_69.203.0.113.103+179 Announcement bits (1): 0-green-l2vpn AS path: I Communities: target:11111:1 Layer2-info: encaps:VPLS, control flags:, mtu: 0 Label-base: 800008, range: 8 Localpref: 100 Router ID: 203.0.113.103 Primary Routing Table bgp.l2vpn.0 203.0.113.152:1:1:1/96 (1 entry, 1 announced) TSI: Page 0 idx 0 Type 1 val 8699540 *L2VPN Preference: 170/-1 Next-hop reference count: 5 Protocol next hop: 203.0.113.152 Indirect next hop: 0 - State: <Active Int Ext> Age: 1:34:03 Metric2: 1 Task: green-l2vpn Announcement bits (1): 1-BGP.0.0.0.0+179 AS path: I Communities: Layer2-info: encaps:VPLS, control flags:Site-Down, mtu: 0 Label-base: 800016, range: 8, status-vector: 0x9F 203.0.113.152:1:5:1/96 (1 entry, 1 announced) TSI: Page 0 idx 0 Type 1 val 8699528 *L2VPN Preference: 170/-101 Next-hop reference count: 5 Protocol next hop: 203.0.113.152 Indirect next hop: 0 - State: <Active Int Ext> Age: 1:34:03 Metric2: 1 Task: green-l2vpn Announcement bits (1): 1-BGP.0.0.0.0+179 AS path: I Communities: Layer2-info: encaps:VPLS, control flags:, mtu: 0 Label-base: 800008, range: 8, status-vector: 0x9F ... l2circuit.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) TSI: 203.0.113.163:CtrlWord:4:3:Local/96 (1 entry, 1 announced) *L2CKT Preference: 7 Next hop: via so-1/1/2.0 weight 1, selected Label-switched-path my-lsp Label operation: Push 100000[0] Protocol next hop: 203.0.113.163 Indirect next hop: 86af000 296 State: <Active Int> Local AS: 64499 Age: 10:21 Task: l2 circuit Announcement bits (1): 0-LDP AS path: I VC Label 100000, MTU 1500, VLAN ID 512 203.0.113.55/24 (1 entry, 1 announced) TSI: KRT queued (pending) add 198.51.100.0/24 -> {Push 300112} *BGP Preference: 170/-101 Next hop type: Router Address: 0x925c208 Next-hop reference count: 2 Source: 203.0.113.9 Next hop: 203.0.113.9 via ge-1/2/0.15, selected Label operation: Push 300112 Label TTL action: prop-ttl State: <Active Ext> Local AS: 64509 Peer AS: 65539 Age: 1w0d 23:06:56 AIGP: 25 Task: BGP_65539.203.0.113.9+56732 Announcement bits (1): 0-KRT AS path: 65539 64508 I Accepted Route Label: 300112 Localpref: 100 Router ID: 213.0.113.99
show route extensive (with Validation State)
user@host>show route extensive inet.0: 48 destinations, 51 routes (48 active, 0 holddown, 0 hidden) 1.1.1.1/32 (1 entry, 1 announced) *BGP Preference: 170/-101 Next hop type: Router, Next hop index: 599 Address: 0x7106094 Next-hop reference count: 7 Source: 10.1.1.1 Next hop: 10.1.1.1 via ge-0/0/0.0, selected Session Id: 0x140 State: <Active Ext> Local AS: 2 Peer AS: 1 Age: 2w5d 4:29:09 Validation State: [valid | invalid | unknown | unverified ] + Task: RT
show route extensive (BGP-SRTE routes)
user@host> show route extensive inet.0: 22 destinations, 23 routes (21 active, 0 holddown, 1 hidden) 9.9.9.9-1 <c>/64 (1 entry, 0 announced): **SPRING-TE Preference: 8 Next hop type: Indirect, Next hop index: 0 Address: 0xdc33080 Next-hop reference count: 1 Next hop type: Router, Next hop index: 0 Next hop: 1.2.2.2 via ge-0/0/2.0, selected Label element ptr: 0xdf671d0 Label parent element ptr: 0x0 Label element references: 11 Label element child references: 0 Label element lsp id: 0 Session Id: 0x0 Protocol next hop: 299920 Label operation: Push 800040 Label TTL action: prop-ttl Load balance label: Label 800040: None; Composite next hop: 0xcd4f950 - INH Session ID: 0x0 Indirect next hop: 0xdc99a84 - INH Session ID: 0x0 Weight 0x1 State: <Active Int> Local AS: 100 Age: 5d 17:37:19 Metric: 1 Metric2: 16777215 Validation State: unverified Task: SPRING-TE AS path: SRTE Policy State: SR Preference/Override: 200/100 Tunnel Source: Static configuration Composite next hops: 1 Protocol next hop: 299920 Metric: 0 Label operation: Push 800040 Label TTL action: prop-ttl Load balance label: Label 800040: None; Composite next hop: 0xcd4f950 - INH Session ID: 0x0 Indirect next hop: 0xdc99a84 - INH Session ID: 0x0 Weight 0x1 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 1.2.2.2 via ge-0/0/2.0 Session Id: 0x0 299920 /52 Originating RIB: mpls.0 Metric: 0 Node path count: 1 Forwarding nexthops: 1 Next hop type: Router Next hop: 1.2.2.2 via ge-0/0/2.0 Session Id: 0x141
show route extensive (AIGP)
user@host> show route 3.3.3.3/32 extensive inet.0: 18 destinations, 23 routes (18 active, 0 holddown, 1 hidden) 3.3.3.3/32 (2 entries, 1 announced) TSI: KRT in-kernel 3.3.3.3/32 -> {Push 299872} *BGP Preference: 170/-101 Next hop type: Router, Next hop index: 570 Address: 0x9760194 Next-hop reference count: 7, key opaque handle: 0x0, non-key opaque handle: 0x0 Source: 12.12.12.2 Next hop: 12.12.12.2 via ge-0/0/0.0, selected Load balance label: Label 299872: None; Session Id: 333 State: <Active Ext> Peer AS: 200 Age: 3d 4:16:17 Validation State: unverified AIGP: 67 Effective AIGP: 67 (AIGP plus IGP metric) Task: BGP_200_100.12.12.12.2 Announcement bits (3): 0-KRT 3-Resolve tree 2 4-Resolve_IGP_FRR task AS path: 200 300 I Accepted Localpref: 100 Router ID: 128.51.141.40 Session-IDs associated: Session-id: 332 Version: 3 Thread: junos-main
Release Information
Command introduced before Junos OS Release 7.4.
DeletePending
flag added to the
command output in Junos OS Release 19.4R1.