3com 5500-ei pwr Guía De Referencia
1-1
1
IP Routing Table Commands
IP Routing Table Commands
display ip routing-table
Syntax
display ip routing-table
[ | { begin | exclude | include } regular-expression ]
View
Any view
Parameters
regular-expression
: Regular expression, a string of 1 to 256 case-sensitive characters used for
specifying routing entries.
|: Uses the regular expression to match the output routing information.
begin
: Displays the routing information from the route entry containing the specified character string.
include
: Displays all routing information containing the specified character string.
exclude
: Displays all routing information without the specified character string.
For details about regular expressions, refer to Configuration File Management Operation of this
manual.
manual.
Description
Use the display ip routing-table command to display the routing table summary.
This command displays the summary of the routing table. Each line represents one route, containing
destination address/mask length, protocol, preference, cost, next hop, and output interface.
destination address/mask length, protocol, preference, cost, next hop, and output interface.
This command displays only the currently used routes, that is, the optimal routes.
Examples
# Display the summary of the current routing table.
<Sysname> display ip routing-table
Routing Table: public net
Destination/Mask Protocol Pre Cost
Nexthop
Interface
1.1.1.0/24 DIRECT
0
0
1.1.1.1
Vlan-interface1
1.1.1.1/32 DIRECT
0
0
127.0.0.1
InLoopBack0