Display the brief information of a
routing
table
Display the detailed info
routing table
Display the information of static
routes
Delete all static routes
Stat
ic Route Configuration Example
Net
work requirements
A small company requires that any two nodes in its office network communicate with each other, and
that the network st
not support any dynamic routing protocol can be fully utilized.
In this case, static routes can implement communication b
Network diagram
According to the network requirements, the network to
Figure 22-1 Network diagram for static route configuration
1.1.1.1/24
Switch A
1.1.1.2/24
Host C
Configuration procedure
Wh n only one interface of the device is interconnec
e
implement network communication by configuring e
1)
Perform the following configurations on the switch.
rmation of a
ructure be simple and stable. The company hopes that the existing devices that do
Host A
1.1.5.2/24
1.1.5.1/24
1.1.2.2/24
1.1.3.1/24
Switch C
1.1.2.1/24
1.1.3.2/24
Switch B
display ip routing-table
display ip routing-table
display ip routing-table protocol static
[ inactive | verbose ]
delete static-routes all
etween any two nodes.
pology is designed as shown in
1.1.4.1/24
1.1.4.2/24
Host B
ted with another network segment, you can
ither a static route or default route.
22-3
verbose
Available in
system view
Figure 22-1
.