Download Print this page

Configuration Procedure - H3C S9500 Series Operation Manual

Routing switch
Hide thumbs Also See for S9500 Series:

Advertisement

Operation Manual – Static Routing
H3C S9500 Series Routing Switches
Configure the physical parameters for related interfaces
Configure the link-layer attributes for related interfaces
Configure the IP addresses for related interfaces

1.2.2 Configuration Procedure

Follow these steps to configure a static route:
To do...
Enter system
view
Configure a
static route
Configure the
default
preference for
static routes
Note:
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.
Use the command...
system-view
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 ]
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 ]
ip route-static default-preference
default-preference-value
1-3
Chapter 1 Static Routing Configuration
Remarks
Required
By default, the
preference of
static routes is
60, tag is 0, and
no description
information is
configured.
Optional
60 by default

Advertisement

loading