![Huawei S6700 Series Скачать руководство пользователя страница 657](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517657.webp)
Procedure
Step 1
Run the
system-view
command to enter the system view.
Step 2
Run the
ip route-static
vpn-instance
vpn-source-name
destination-address
{
mask
|
mask-
length
}{
interface-type
interface-number
[
gateway-address
] |
vpn-instance
vpn-destination-
name
gateway-address
|
gateway-address
} [
preference
preference
] [
track
bfd-session
cfg-
name
] [
description
description
] command to configure a static route to a PE.
You must specify the next hop address on the local device.
----End
11.5.3 (Optional) Configuring RIP Between an MCE and a PE
Context
Do as follows on the MCE.
You need to perform similar configurations on a PE. For details, refer to manuals of
corresponding products.
Procedure
Step 1
Run the
system-view
command to enter the system view.
Step 2
Run the
rip
[
process-id
]
vpn-instance
vpn-instance-name
command to create and enable a
RIP process used by a VPN instance and enter the RIP view.
Step 3
Run the
network
network-address
command to enable RIP routes on the network segment where
the IP address of the VLANIF interface bound to the VPN instance belongs.
Step 4
(Optional) Run the
import-route
{ {
static
|
direct
} | { {
rip
|
ospf
|
isis
} [
process-id
] } }
[
cost
cost
|
route-policy
route-policy-name
]
*
command to import routes from other routing
protocols.
If another routing protocol is run between an MCE and a site in this VPN, you need to perform
this step.
----End
11.5.4 (Optional) Configuring OSPF Between an MCE and a PE
Context
Do as follows on the MCE.
You need to perform similar configurations on a PE. For details, refer to manuals of
corresponding products.
Procedure
Step 1
Run the
system-view
command to enter the system view.
Step 2
Run the
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
]
*
command
to create an OSPF process used by a VPN instance and enter the OSPF view.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
11 MCE Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
638