7
Perform this configuration on the MCE. On the VPN site, configure a common static route.
Procedure
1.
Enter system view.
system-view
2.
Configure a static route for a VPN instance.
ip route-static
vpn-instance
s-vpn-instance-name
dest-address
{
mask-length
|
mask
}
{
interface-type
interface-number
[
next-hop-address
]
|
next-hop-address
[
public
]
|
vpn-instance
d-vpn-instance-name
next-hop-address
}
3.
(Optional.) Configure the default preference for static routes.
ip route-static default-preference
default-preference
The default preference is 60.
Configuring RIP between an MCE and a VPN site
About RIP between an MCE and a VPN site
Binding RIP processes to VPN instances can isolate routes of different VPNs. For more information
about RIP, see
Layer 3—IP Routing Configuration Guide
.
Perform this configuration on the MCE. On a VPN site, create a common RIP process.
Procedure
1.
Enter system view.
system-view
2.
Create a RIP process for a VPN instance and enter RIP view.
rip
[
process-id
]
vpn-instance
vpn-instance-name
A RIP process can belong to only one VPN instance.
3.
Enable RIP on the interface attached to the specified network.
network network-address
[
wildcard-mask
]
By default, RIP is disabled on an interface.
4.
Redistribute remote site routes advertised by the PE into RIP.
import-route protocol
[
as-number
] [
process-id
|
all-processes
|
allow-ibgp
]
[
allow-direct
|
cost
cost-value
|
route-policy
route-policy-name
|
tag tag
]
*
By default, no route is redistributed into RIP.
Configuring OSPF between an MCE and a VPN site
About OSPF between an MCE and a VPN site
Binding OSPF processes to VPN instances can isolate routes of different VPNs. For more
information about OSPF, see
Layer 3—IP Routing Configuration Guide
.
Perform this configuration on the MCE. On a VPN site, create a common OSPF process.
Procedure
1.
Enter system view.
system-view
2.
Create an OSPF process for a VPN instance and enter OSPF view.
Содержание S5560S-EI Series
Страница 7: ...ii Example Configuring IPv6 MCE 34...