Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 Static Routing Configuration
1-3
1.2.2 Configuration Procedure
Follow these steps to configure a static route:
To do…
Use the command…
Remarks
Enter system view
system-view
—
ip
route-static
dest-address
{
mask
|
mask-length
} {
gateway-address
[
bfd
{
control-packet
|
echo-packet
} ] |
interface-type interface-number
[
gateway-address
[
bfd
{
control-packet
|
echo-packet
} ] ] |
vpn-instance
d-vpn-instance-name
gateway-address
[
bfd
{
control-packet
|
echo-packet
} ] }
[
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
Configure a static
route
ip route-static
vpn-instance
s-vpn-instance-name&
<1-6
>
dest-address
{
mask
|
mask-length
} {
gateway-address
[
bfd
{
control-packet
|
echo-packet
} ]
[
public
] |
interface-type interface-number
[
gateway-address
[
bfd
{
control-packet
|
echo-packet
} ] ] |
vpn-instance
d-vpn-instance-name gateway-address
[
bfd
{
control-packet
|
echo-packet
} ] }
[
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
Required
By default,
preference
for
static routes is
60,
tag
is 0,
and no
description
information is
configured.
Configure the
default preference
for static routes
ip route-static default-preference
default-preference-value
Optional
60 by default