Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
Chapter 2 Static Route Configuration
2-3
Note:
z
Use the
ip route-static
command to configure a default route by setting the
destination IP address and the mask to 0.0.0.0.
z
Avoid configuring the next hop address of a static route to the address of an
interface on the local switch.
z
Different preferences can be configured to implement flexible route management
policies.
z
For automatic detection information, refer to the part discussing
Auto Detect
.
2.3 Displaying and Maintaining Static Routes
To do...
Use the command...
Remarks
Display the current
configuration information
display current-configuration
Display the brief information
of a routing table
display ip routing-table
Display the detailed
information of a routing table
display ip routing-table verbose
Display the information of
static routes
display ip routing-table
protocol
static
[
inactive
|
verbose
]
Available in
any view
Delete all static routes
delete static-routes all
Available in
system view
2.4 Static Route Configuration Example
I. Network requirements
A small company requires that any two nodes in its office network communicate with
each other, and that the network structure be simple and stable. The company hopes
that the existing devices that do not support any dynamic routing protocol can be fully
utilized.
In this case, static routes can implement communication between any two nodes.
II. Network diagram
According to the network requirements, the network topology is designed as shown in
Figure 2-1
.