The display ipv6 routing-table vpn-instance command displays the routing table of an IPv6 address family-enabled VPN instance.
Parameter | Description | Value |
---|---|---|
ipv6-address |
Specifies the destination IPv6 address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length |
Specifies the length of the IPv6 address prefix. |
The value is an integer ranging from 0 to 128. |
host-name host-name |
Specifies the hostname. |
The value is a string of 1 to 255 case-sensitive characters, spaces not supported. |
longer-match |
Displays only the VPN IPv6 routes that match the specified network and mask. |
- |
verbose |
Displays detailed information about active and inactive routes. |
- |
vpn-instance vpn-instance-name |
Displays information about the routing table of an IPv6 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. |
Usage Scenario
To check the routing table of the IPv6 address family-enabled VPN instance, run the display ipv6 routing-table vpn-instance command. The command output includes the destination address, prefix length, protocol type, priority, cost, next hop, and outbound interface.
a recursive route is counted as one route no matter how many outbound interfaces and next hops the route finds. This command without verbose specified displays preferred routes only.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ipv6 routing-table vpn-instance vpn1 2001:DB8:22:: verbose Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route ------------------------------------------------------------------------------ Routing Table : vpn1 Summary Count : 1 Destination : 2001:DB8:22:: PrefixLength : 64 NextHop : 2001:DB8:130::1:0:21 Preference : 255 Neighbour : 2001:DB8:3::3 ProcessID : 0 Label : NULL Protocol : IBGP State : Active Adv Relied Cost : 0 Entry ID : 0 EntryFlags : 0x00000000 Reference Cnt: 0 Tag : 0 Priority : low Age : 13836sec IndirectID : 0x100016D Instance : RelayNextHop : 2001:DB8:130::1:0:21 TunnelID : 0x0 Interface : SRv6 BE Flags : RD [~HUAWEI] display ipv6 routing-table 2001:DB8:130::1:0:21 verbose Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route ------------------------------------------------------------------------------ Routing Table : _public_ Summary Count : 1 Destination : 2001:DB8:130:: PrefixLength : 64 NextHop : FE80::3AF2:EBFF:FE11:300 Preference : 15 Neighbour : :: ProcessID : 1 Label : NULL Protocol : ISIS-L1 State : Active Adv Cost : 10 Entry ID : 0 EntryFlags : 0x00000000 Reference Cnt: 0 Tag : 0 Priority : medium Age : 1355sec IndirectID : 0x1000033 Instance : RelayNextHop : :: TunnelID : 0x0 Interface : Ethernet0/1/16 Flags : D
<HUAWEI> display ipv6 routing-table vpn-instance vrf1 2001:db8:1::1 verbose
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : vrf1
Summary Count : 1
Destination : 2001:db8:1:: PrefixLength : 64
NextHop : :: Preference : 60
Neighbour : :: ProcessID : 0
Label : NULL Protocol : Static
State : Active Adv Cost : 0
Entry ID : 0 EntryFlags : 0x00000000
Reference Cnt: 0 Tag : 0
Priority : low Age : 135sec
IndirectID : 0x10000CD Instance :
RelayNextHop : :: TunnelID : 0x0
Interface : NULL0 Flags : DB
Item | Description |
---|---|
Route Flags | Route flag:
|
Routing Table | Routing Table. |
Summary Count | Number of summary routes. |
Destination | Address of the destination network or host. |
PrefixLength | Length of the prefix. |
NextHop | IPv6 address of the adjacent next hop through which the packet reaches the destination. |
Preference | Priority of the route. |
Neighbour | IP address of the neighbor interface. |
ProcessID | Process ID of the routing protocol. |
Label | Label value carried by the route. |
Protocol | Routing protocol. |
State | Route status:
|
Cost | Route cost. |
Entry ID | Keyword of the retrieval index of routes in the routing table. |
EntryFlags | Information about route flags. |
Reference Cnt | Number of times that the route is referenced. |
Tag | Tag for importing routes. |
Priority | Priority of the route:
|
Age | Time since the route was generated. |
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. |
TunnelID | Tunnel ID. The value 0x0 indicates that no tunnel is used or no tunnel has been set up. |
Interface | Outbound interface through which the next hop is reachable. |
Flags | Route flags. |