F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
167
Ste
p
Command
Remarks
3. Configure the
default preference
for static routes.
ip route-static default-preference
default-preference-value
Optional.
60 by default.
4. Delete all static
routes, including
the default route.
delete [ multiple-topology topology-name |
vpn-instance vpn-instance-name ] static-routes all
Optional.
To delete one static route,
use the undo ip
route-static command.
Displaying and maintaining static routes
Task Command
Remarks
Display static route information.
display ip routing-table protocol static [ inactive |
verbose ] [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Basic static route configuration example
Network requirements
Configure static routes in Figure 114 for interconnections between any two hosts.
Figure 114 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure static routes:
# Configure a default route on LB A.
<LBA> system-view
[LBA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2
# Configure two static routes on LB B.
<LBB> system-view
[LBB] ip route-static 1.1.2.0 255.255.255.0 1.1.4.1
[LBB] ip route-static 1.1.3.0 255.255.255.0 1.1.5.6