State: Active Adv Age: 1d00h20m52s
Tag: 0
Destination: 2.2.2.1/32
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
IpPrecedence: QosLcId:
NextHop: 127.0.0.1 Interface: InLoopBack0
BkNextHop: 0.0.0.0 BkInterface:
RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0
Tunnel ID: 0x0 Label: NULL
BKTunnel ID: 0x0 BKLabel: NULL
State: Active NoAdv Age: 1d00h20m52s
Tag: 0
For command output, see
.
display ip routing-table protocol
Syntax
display ip routing-table
[
vpn-instance vpn-instance-name
]
protocol
protocol
[
inactive
|
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance vpn-instance-name
: Specifies an MPLS L3VPN.
vpn-instance-name
is a
case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public
network is displayed.
protocol
: Specifies the routing protocol. It can be
bgp
,
direct
,
isis
,
nat
,
ospf
,
rip
, and
static
.
inactive
: Displays information about only inactive routes. Without this argument, the command
displays information about both active and inactive routes.
verbose
: Displays detailed routing table information. Without this argument, the command displays
brief routing table information.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
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, a case-sensitive string of 1 to 256 characters.
Description
Use
display ip routing-table
protocol
to display routing information of a specified routing protocol.
Examples
# Display brief information about direct routes.
12