3com 8807 Guia De Referência

Página de 1099
Display Commands of the Routing Table
389
View
Any view
Parameter
inactive: With the parameter, this command displays the inactive route 
information. Without the parameter, this command displays the active and 
inactive route information.
verbose: With the verbose keyword, this command displays the verbose route 
information. Without the parameter, this command displays the route summary.
protocol: The parameter has multiple selectable values:
direct: Displays direct connection route information
static: Displays the static route information.
bgp: Displays BGP route information.
isis: Displays IS-IS 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.
vpn-instance-name: Indicates a VPN instance name.
Description
Use the display ip routing-table protocol command to view the route 
information of specified protocol.
Example
# Display all direct connection routes summary.
<SW8800> display ip routing-table protocol direct
 
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 
# View the static routing table.
<SW8800> display ip routing-table protocol static
 
STATIC Routing tables:
 
  Summary count: 1
 
STATIC Routing tables status:<active>:
 
  Summary count: 0
 
STATIC Routing tables status:<inactive>:
 
  Summary count: 1
 
Destination/Mask   Protocol   Pre Cost       Nexthop      Interface
 
1.2.3.0/24          STATIC     60  0          1.2.4.5      Vlan-interface10