3Com 4500 26-PORT Switch User Manual


 
Routing Table Display Commands 143
For detailed information of the output information, refer to Table 18.
display ip routing-table
protocol
Syntax
display ip routing-table protocol protocol [ inactive | verbose ]
View
All views
Parameters
protocol Enter one of the following:
direct Displays the direct connection route information
static Displays the static route information.
ospf Displays OSPF route information.
ospf-ase Displays OSPF ASE route information.
ospf-nssa Displays OSPF NSSA route information.
rip Displays RIP route information.
inactive Enter to display inactive route information. Without this parameter, the
command displays both active and inactive route information. Optional.
verbose Enter to display verbose route information. Without this parameter, the
command displays the route summary. Optional.
Description
Use the display ip routing-table protocol command to view the route
information for a specified protocol.
Example
To display a summary of all direct connection routes, enter the following:
<4500>display ip routing-table protocol direct
The information displays in the following format:
DIRECT Routing tables:
Summary count: 4
DIRECT Routing tables status:<active>:
Summary count: 3
Destination/Mask Protocol Pre Cost Nexthop Interface
20.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.0/8 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
DIRECT Routing tables status:<inactive>:
Summary count: 1
Destination/Mask Protocol Pre Cost Nexthop Interface
210.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
To display a summary of all static route information, enter the following:
<4500>display ip routing-table protocol static