beautypg.com

Displaying and maintaining static routes, Static route configuration examples, Basic static route configuration example – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 147: Network requirements

background image

136

NOTE:

When configuring a static route, the static route does not take effect if you specify the next hop address
first and then configure it as the IP address of a local interface, such as VLAN interface.

If you do not specify the preference when configuring a static route, the default preference will be used.
Reconfiguring the default preference applies only to newly created static routes.

If the destination IP address and mask are both configured as 0.0.0.0 with the ip route-static command,
the route is the default route.

For detailed information about track, see the

High Availability Configuration Guide.

Displaying and maintaining static routes

To do…

Use the command…

Remarks

Display information of static routes

display ip routing-table protocol static [ inactive |
verbose ] [ | { begin | exclude | include }
regular-expression ]

Available in any
view

Delete all the static routes

delete static-routes all

Available in
system view

NOTE:

For more information about the display ip routing-table protocol static

[ inactive | verbose ] [ | { begin

| exclude | include }

regular-expression ] command, see the Layer 3 Command Reference.

Static route configuration examples

Basic static route configuration example

Network requirements

The IP addresses and masks of the switches and hosts are shown in

Figure 50

. Static routes are required

for interconnection between any two hosts.