R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
363
display ip routing-table protocol
Syntax
display ip routing-table protocol protocol [ inactive | verbose ]
View
Any view
Default level
1: Monitor level
Parameters
protocol: Routing protocol. It can be bgp, direct, ospf, rip, static, or guard.
inactive: Displays information about only inactive routes. With this argument absent, the command
displays information about both active and inactive routes.
verbose: Displays detailed routing table information. With this argument absent, the command displays
brief routing table information.
Description
Use the display ip routing-table protocol command to display routing information of a specified routing
protocol.
Examples
# Display brief information about direct routes.
<Sysname> display ip routing-table protocol direct
Public Routing Table : Direct
Summary Count : 6
Direct Routing table Status : < Active>
Summary Count : 6
Destination/Mask Proto Pre Cost NextHop Interface
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2
2.2.2.2/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.80.0/24 Direct 0 0 192.168.80.10 GE0/1
192.168.80.10/32 Direct 0 0 127.0.0.1 InLoop0
Direct Routing table Status : < Inactive>
Summary Count : 0
# Display brief information about static routes.
<Sysname> display ip routing-table protocol static
Public Routing Table : Static
Summary Count : 2
Static Routing table Status : < Active>