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

display ip routing-table verbose

Available in

 

table

 

any view

 

 

display ip routing-table

 

 

Display the information of static routes

protocol static [ inactive

 

 

 

verbose ]

 

 

 

 

 

 

Delete all static routes

delete static-routes all

Available in

 

system view

 

 

 

 

 

 

 

Static Route Configuration Example

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.

According to the network requirements, the network topology is designed as shown in Figure 2-1.

Figure 2-1Network diagram for static route configuration

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

1.1.1.1/24

1.1.4.1/24

Switch A

Switch B

1.1.1.2/24

1.1.4.2/24

Host C

Host B

2-3

Page 688
Image 688
3Com WX3000 operation manual Displaying and Maintaining Static Routes, Static Route Configuration Example