The display ipv6 routing-table vpn-instance protocol command displays the routing table of an IPv6 address family-enabled VPN instance.
| Parameter | Description | Value |
|---|---|---|
| vpn-instance-name |
Specifies the name of a 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. |
| protocol |
Displays routes of a specified protocol. |
- |
| bgp |
displays BGP IPv6 routes. |
- |
| direct |
displays direct IPv6 routes. |
- |
| isis |
displays IS-IS IPv6 routes. |
- |
| ospfv3 |
displays OSPFv3 routes. |
- |
| ripng |
displays RIPng routes. |
- |
| static |
displays static IPv6 routes. |
- |
| unr |
Displays user network routes. |
- |
| time-range |
Displays routes that are generated within a specified period. |
- |
| min-age |
Specifies the start generation time. |
The value is a string of characters, in the format of XXdXXhXXmXXs. |
| max-age |
Specifies the end generation time. |
The value is a string of characters, in the format of XXdXXhXXmXXs. |
| inactive |
Displays the summary of inactive routes only. |
- |
| verbose |
Displays detailed information about active and inactive routes. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] display ipv6 routing-table vpn-instance vrf1 protocol direct vrf1 Routing Table : Direct Summary Count : 1 Direct routing table status : <Active> Summary Count : 1 Destination : FE80:: PrefixLength : 10 NextHop : :: Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : DB Direct routing table status : <Inactive> Summary Count : 0
| Item | Description |
|---|---|
| vrf1 Routing Table | vrf1 routing table. |
| Direct routing table status | Status of direct routes:
|
| 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. |
| Cost | Route cost. |
| Protocol | Routing protocol. |
| RelayNextHop | Indicates the iterated next hop address. |
| 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. |