3Com Switch 8800 Advanced Software V5 Configuration Guide

Configuring a Static Route 261
n
If you specify the next hop of a static route and then configure the next hop as
the IP address of a local interface such as a VLAN interface, the static route
cannot take effect.
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.
A description can describe the usage, function of some specific static routes for
easy and flexible management, classification and configuration of static routes.
You can flexibly control static routes by configuring tag values and using the
tag values in the routing policy.
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.
To do... Use the command... Remarks
Enter system view system-view -
Configure a static route ip route-static dest-address {
mask | mask-length } {
gateway-address |
interface-type
interface-number [
gateway-address ] |
vpn-instance
d-vpn-instance-name
gateway-address } [
preference preference-value
] [ tag tag-value ] [
description description-text ]
Required
By default, the preference of
static routes is 60, tag is 0,
and no description
information is configured.
ip route-static vpn-instance
s-vpn-instance-name&<1-6>
dest-address { mask |
mask-length } {
gateway-address [ public ] |
interface-type
interface-number [
gateway-address ] |
vpn-instance
d-vpn-instance-name
gateway-address } [
preference preference-value
] [ tag tag-value ] [
description description-text ]
Configure the default
preference for static routes
ip route-static
default-preference
default-preference-value
Optional
60 by default