Operation Manual – MCE
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 MCE Configuration
2-10
2.3.2 Configuring to Use Static Routes between a MCE and a PE
Table 2-14
Define a static route for a VPN instance
Operation
Command
Description
Enter system view
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
]
Define a static
route for a VPN
instance
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
]
Required
By default, for a
static route, the
preference value is
60, the tag value is
0, and no
description
information is
configured.
Set the default
preference value of
static routes
ip route-static default-preference
default-preference-value
Optional
By default, the
preference value of
a static route is 60.
Note:
z
A static route configured for a VPN instance does not take effect if you configure the
next hop address of the route as the IP address of a local interface (such as
Ethernet interface, VLAN interface).
z
If the default static route preference is not configured, the preference of a newly
defined static route adopts the system default preference value, which is 60. A
customized default static route preference has no effect on existing static routes.
z
Static routes can be controlled selectively by using routing policies according to the
tag values set for static routes.
z
The
ip route-static
command defines a default route if both the destination address
and the mask are set to 0.0.0.0.