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

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
. Static routes are required
for interconnection between any two hosts.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points