H3C s3600 series Command Manual page 286

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

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.
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
1.1.1.0/24
1.1.1.1/32
2.2.2.0/24
2.2.2.1/32
3.3.3.0/24
3.3.3.1/32
4.4.4.0/24
4.4.4.1/32
127.0.0.0/8
127.0.0.1/32
# Display the routing information from the entry containing the character string interface4 in the current
routing table.
<Sysname> display ip routing-table | begin interface4
Routing Table: public net
4.4.4.0/24
4.4.4.1/32
127.0.0.0/8
127.0.0.1/32
# Display the routing information containing the character string interface4 in the current routing table.
<Sysname> display ip routing-table | include interface4
Routing Table: public net
Destination/Mask
4.4.4.0/24
# Display the routing information without the character string interface4 in the current routing table.
<Sysname> display ip routing-table | exclude interface4
Routing Table: public net
Destination/Mask
1.1.1.0/24
1.1.1.1/32
2.2.2.0/24
2.2.2.1/32
3.3.3.0/24
3.3.3.1/32
4.4.4.1/32
Protocol
Pre Cost
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
Protocol
Pre Cost
DIRECT
0
0
Protocol
Pre Cost
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
DIRECT
0
0
Nexthop
Interface
1.1.1.1
Vlan-interface1
127.0.0.1
InLoopBack0
2.2.2.1
Vlan-interface2
127.0.0.1
InLoopBack0
3.3.3.1
Vlan-interface3
127.0.0.1
InLoopBack0
4.4.4.1
Vlan-interface4
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
4.4.4.1
Vlan-interface4
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
Nexthop
Interface
4.4.4.1
Vlan-interface4
Nexthop
Interface
1.1.1.1
Vlan-interface1
127.0.0.1
InLoopBack0
2.2.2.1
Vlan-interface2
127.0.0.1
InLoopBack0
3.3.3.1
Vlan-interface3
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
1-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents