3com 4500 PWR 26-PORT Manuel D’Utilisation
Routing Table Display Commands
141
Protocol: #Static
Preference: 60
*NextHop: 2.1.1.1
Interface: 2.1.1.1(LoopBack1)
Vlinkindex: 0
State: <Int ActiveU Static Unicast>
Age: 4:479
Cost: 0/0
Tag: 0
For detailed description of output information, refer to
display ip routing-table
ip_address1 ip_address2
Syntax
display ip routing-table ip_address1 m
ask1 ip_address2 mask2
[ verbose ]
View
All views
Parameters
ip_address1
mask1
Enter the destination IP address and subnet mask that you
want to start the address range. This command displays the route for your chosen
address range. The subnet mask can be entered as either a dotted decimal
notation (x.x.x.x), or an an integer in the range 0 to 32.
address range. The subnet mask can be entered as either a dotted decimal
notation (x.x.x.x), or an an integer in the range 0 to 32.
ip_address2 mask2
Enter the IP address and subnet mask that you want to end
the address range. The subnet mask can be entered as either a dotted decimal
notation (x.x.x.x), or an integer in the range 0 to 32.
notation (x.x.x.x), or an integer in the range 0 to 32.
verbose
Enter to display the verbose information of both the active and inactive
routes. Without this parameter, the command only displays a summary of active
routes. Optional.
routes. Optional.
Description
Use the
display ip routing-table ip_address1 mask1 ip_address2 mask2
command to view the route information for the specified address range.
Example
To display the routing information of destination addresses ranging from 1.1.1.0
to 2.2.2.0., with a subnet mask of 24, enter the following:
to 2.2.2.0., with a subnet mask of 24, enter the following:
<4500>display ip routing-table 1.1.1.0 24 2.2.2.0 24
The information displays in the following format:
Routing tables:
Summary count: 3
Destination/Mask Proto Pre Cost Nexthop
Interface
1.1.1.0/24 DIRECT 00
1.1.1.1
Vlan-interface1
1.1.1.1/32 DIRECT 00
127.0.0.1 InLoopBack0
2.2.2.0/24 DIRECT 00
2.2.2.1
Vlan-interface2
For a detailed description of the output information, refer to
.
display ip routing-table
ip-prefix
Syntax
display ip routing-table ip-prefix ip_prefix_name [ verbose ]