< Home

display ipv6 routing-table protocol

Function

The display ipv6 routing-table protocol command displays the routes of the specified protocol.

Format

display ipv6 routing-table protocol { direct | static | bgp | isis | ripng | ospfv3 | unr } [ inactive | verbose | brief ]

Parameters

Parameter Description Value
direct Displays the information about direct IPv6 routes. -
static Displays the information about static IPv6 routes. -
bgp Displays the information about bgp IPv6 routes. -
isis Displays the information about isis IPv6 routes. -
ripng Displays the information about ripng routes. -
ospfv3 Displays the information about ospfv3 routes. -
unr Displays the information about user network routes. -
inactive Displays information about inactive routes only. If inactive is not specified, information about active and inactive routes is displayed. -
verbose Displays detailed information about the active and inactive routes that match the filtering rule. If verbose is not specified, only the summary of the active routes that match the filtering rule is displayed. -
brief Displays brief information about the active and inactive routes that match the filtering rule. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None.

Example

# Display the summary of all direct routes.

<sysname> display ipv6 routing-table protocol direct
Public Routing Table : Direct
Summary Count : 2

Direct Routing Table's Status : < Active >
Summary Count : 2

 Destination  : ::1                             PrefixLength : 128
 NextHop      : ::1                             Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : InLoopBack0                     Flags        : D

 Destination  : FE80::                          PrefixLength : 10
 NextHop      : ::                              Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : NULL0                           Flags        : D

Direct Routing Table's Status : < Inactive >
Summary Count : 0 

# Display the brief information of all static routes.

<sysname> display ipv6 routing-table protocol static brief
Public Routing Table : Static
Summary Count : 2
Static Routing Table's Status : < Active >
Summary Count : 1
Format :
Destination/Mask                             Protocol
Nexthop                                      Interface
------------------------------------------------------------------------------
 2001:db8:2::/64                             Static
  ::                                         NULL0
Static Routing Table's Status : < Inactive >
Summary Count : 1
Format :
Destination/Mask                             Protocol
Nexthop                                      Interface
------------------------------------------------------------------------------
 2001:db8:1::/64                             Static
  ::                                         NULL0
Table 1 Description of the display ipv6 routing-table protocol command output

Item

Description

Public Routing Tables

Indicates the contents of the public routing table:
  • Direct: Direct IPv6 routes.

  • Static: Static IPv6 routes.

  • bgp: BGP IPv6 routes.

  • ripng: RIPng IPv6 routes.

  • isis: IS-IS IPv6 routes.

  • ospfv3: OSPF IPv6 routes.

  • unr: User network routes.

Summary Count

Indicates the total number of route prefixes

Direct Routing Table's Status

Indicates the status of direct routes:
  • Active: Active routes

  • Inactive: Inactive routes

Destination

Address of the destination network or host

PrefixLength

Length of the address prefix

NextHop

Next hop

Preference

Protocol preference

Cost

Route cost

Protocol

Protocol of imported routes

RelayNextHop

Iterated next hop

TunnelID

Tunnel ID

The value 0x0 indicates that no tunnel is used or the tunnel is not set up

Interface

Outbound interface through which the next hop is reachable

Flags

Indicates the route flag:

  • R: indicates an iterated route

  • D: indicates that the route is downloaded to the Forwarding Information Base (FIB) table

Destination/Mask

Address and mask of the destination network or host

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >