The display ip routing-table extensive command displays detailed information about routes with a specified prefix.
| Parameter | Description | Value |
|---|---|---|
| vpn-instance vpn-instance-name |
Displays information about the routing table of an IPv4 address family-enabled VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
| topology topology-name |
Displays routing information about the specified IPv4 topology instance. |
The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive) and can contain numbers, hyphens (-), or underlines (_). When double quotation marks are used around the string, spaces are allowed in the string. |
| prefix |
Displays information about routes with a specified IP prefix list. |
The value is in dotted decimal notation. |
| mask |
Specifies the mask in dotted decimal notation. |
The value is in dotted decimal notation. |
| masklength |
Specifies the mask length. A 32-bit mask is represented by consecutive 1s, and the mask in dotted decimal notation can be replaced by the mask length. |
The value is an integer ranging from 0 to 32. |
| extensive |
Extensive verbose information of the routing table. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ip routing-table vpn-instance vpna 10.2.2.2 extensive Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route ------------------------------------------------------------------------------ Routing Table : vpna Summary Count : 1 Destination: 10.2.2.2/32 Protocol: IBGP Process ID: 0 Preference: 255 Cost: 0 NextHop: 2.2.2.2 Neighbour: 2.2.2.2 State: Active Adv Relied Age: 00h43m18s Tag: 0 Priority: low Label: 48180 QoSInfo: 0x0 IndirectID: 0x1000152 Instance: RelayNextHop: 192.168.12.2 Interface: Ethernet0/1/20 TunnelID: 0x000000002900000002 Flags: RD RouteColor: 0 TunnelType: srbe-lsp LabelStack:3
<HUAWEI> display ip routing-table 10.10.10.10 extensive
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : vrf1
Summary Count : 2
Destination: 10.10.10.10/32
Protocol: Static Process ID: 0
Preference: 60 Cost: 0
NextHop: 1.2.3.4 Neighbour: 0.0.0.0
State: Active Adv Relied Age: 00h00m14s
Tag: 0 Priority: low
Label: NULL QoSInfo: 0x0
IndirectID: 0x10000F4 Instance:
RelayNextHop: 0.0.0.0 Interface: tunnel14
TunnelID: 0x000000000500000003 Flags: RD
RouteColor: 0
TunnelType: gre
<HUAWEI> display ip routing-table vpn-instance vpna 10.11.1.1 extensive
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : vpna
Summary Count : 1
Destination: 10.11.1.1/32
Protocol: IBGP Process ID: 0
Preference: 255 Cost: 0
NextHop: 1.1.1.9 Neighbour: 1.1.1.9
State: Active Adv Relied Age: 00h12m55s
Tag: 0 Priority: low
Label: 48090 QoSInfo: 0x0
IndirectID: 0x1000131 Instance:
RelayNextHop: 0.0.0.0 Interface: SR-TE Policy
TunnelID: 0x000000003200000001 Flags: RD
RouteColor: 0
TunnelType: srtepolicy EndPoint: 1.1.1.9
Color: 100 GroupID: --
SrPolicyName: p10
<HUAWEI> display ip routing-table 10.1.1.1 extensive
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : _public_
Summary Count : 1
Destination: 10.1.1.1/32
Protocol: Static Process ID: 0
Preference: 60 Cost: 0
NextHop: 1.1.1.1 Neighbour: 0.0.0.0
State: Active Adv Relied Age: 00h05m04s
Tag: 0 Priority: medium
Label: NULL QoSInfo: 0x0
IndirectID: 0x10000F4 Instance:
RelayNextHop: 0.0.0.0 Interface: Tunnel1
TunnelID: 0x000000000300000003 Flags: RD
RouteColor: 0
TunnelType: te OutLabel: 20
<HUAWEI> display ip routing-table vpn-instance vpn1 10.1.1.1 extensive
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : vpn1
Summary Count : 1
Destination: 10.1.1.1/32
Protocol: IBGP Process ID: 0
Preference: 255 Cost: 0
NextHop: 1.1.1.1 Neighbour: 1.1.1.1
State: Active Adv Relied Age: 00h00m29s
Tag: 0 Priority: low
Label: NULL QoSInfo: 0x0
IndirectID: 0x1000118 Instance:
RelayNextHop: 0.0.0.0 Interface: VXLAN
TunnelID: 0x0000000027f0000001 Flags: RD
RouteColor: 0
TunnelType: vxlan_nvo3 Vni: 5010
GatewayIP : 10.4.1.2
| Item | Description |
|---|---|
| Route Flags | Route flag:
|
| Routing Table | Routing table. |
| Summary Count | Number of summary routes. |
| Process ID | Process ID of the routing protocol. |
| GatewayIP | Gateway address of the VXLAN tunnel. |
| Destination | Destination address. |
| Protocol | Routing protocol type. |
| Preference | Priority of the routing protocol. |
| Cost | Cost of the imported route. |
| NextHop | Next-hop address. |
| Neighbour | Peer. |
| State | Route status.
|
| Age | Time when the route is generated. |
| Tag | Tag for importing routes. |
| Priority | Priority. |
| Label | VPN label. |
| QoSInfo | QoS information. |
| IndirectID | Keyword of the indirect next hop, which is generated by the system. If route recursion is not performed, the value is 0x0. |
| Instance | Instance. |
| RelayNextHop | Recursive next hop. |
| Interface | Outbound interface through which the next hop of a route can be reached. |
| TunnelID | Tunnel ID. The value 0x0 indicates that no tunnel is used or the tunnel fails to be established. |
| Flags | Route flags in the header of the routing table. |
| TunnelType | Tunnel type. |
| OutLabel | Tag value. |
| EndPoint | Destination address of an SR-MPLS TE Policy. |
| Color | Color of an SR-MPLS TE Policy. |
| GroupID | Index of a policy group. |
| SrPolicyName | SR-MPLS TE Policy name. |
| Vni | VXLAN tunnel network identifier (VNI). |
| LabelStack | Label stack. |
| RouteColor | Route color value. |