Displaying and maintaining static routes, Static route configuration example, 3 static route configuration example – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 649

Advertising
background image

65-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

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 65-1

.

Figure 65-1

Network diagram for static route configuration

Configuration procedure

When only one interface of the device is interconnected with another network segment, you can
implement network communication by configuring either a static route or default route.

1) Perform the following configurations on the device.

Advertising