display ipv6 routing-table protocol
Syntax
display ipv6 routing-table protocol protocol [ inactive | verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
protocol: Displays routes of a routing protocol, which can be direct and static.
inactive: Displays only inactive routes. Without the keyword, all active and inactive routes are displayed.
verbose: Displays both active and inactive verbose routing information. Without this keyword, only brief active routing information is displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display ipv6 routing-table protocol command to display routes of a specified routing protocol.
Examples
# Display brief information about all direct routes.
<Sysname> display ipv6 routing-table protocol direct Direct Routing Table : Summary Count : 1 Direct Routing Table's Status : < Active > Summary Count : 1 Destination: ::1/128 Protocol : Direct NextHop : ::1 Preference: 0 Interface : InLoop0 Cost : 0 Direct Routing Table's Status : < Inactive > Summary Count : 0
See Table 2 for description of the output.