A RIP process belongs to only one VPN instance. If you run a RIP process without
binding it to a VPN instance, this process is considered as a public network process.
A RIP process that belongs to a public network cannot be bound with a VPN instance.
3.
Run:
network
network-address
The RIP is configured on the network segment of the interface bound with the VPN
instance.
4.
Run:
import-route
bgp
[
cost
{
cost
|
transparent
} |
route-policy
route-policy-
name
]*
The BGP route is imported.
After the running of the
import-route
bgp
command in the RIP view, the PE imports
the VPN-IPv4 routes learnt from the remote PE into the RIP, and then advertises them
to its CE.
5.
Run:
quit
Return to the system view.
6.
Run:
bgp
as-number
The BGP view is displayed.
7.
Run:
ipv4-family
vpn-instance
vpn-instance-name
The BGP VPN instance view is displayed.
8.
Run:
import-route
rip
process-id
[
med
med
|
route-policy
route-policy-name
]*
The RIP route is imported into the routing table of the BGP VPN instance.
After the configuration of the
import-route
rip
command in the BGP VPN view, the
PE imports the VPN routes learnt from its CE into BGP, forms them into VPN-IPv4
routes, and advertises them to the remote PE.
NOTE
After a VPN instance is deleted, all the associated RIP processes are deleted.
l
Configure OSPF between a PE and a CE
Do as follows on the PE. The CE is configured with OSPF. The configurations are common,
therefore not mentioned here.
NOTE
For details, see Quidway S7700 Smart Routing Switch
Configuration Guide - IP Routing.
1.
Run:
system-view
The system view is displayed.
2.
Run:
ospf
process-id
[
router-id
router-id
]
vpn-instance
vpn-instance-name
The OSPF instance is created between the PE and the CE, and the OSPF view is
displayed.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
113