DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-10
Ruiije(config-router-af)# neighbor
ip-address remote-as ce-asn-num
Set up an EBGP session with a CE.
DES-7200(config-router-af)# show
running-config
View all configuration information.
# Set up an EBGP session with the neighboring CE at 192.168.10.2.
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config-router)# address-family ipv4 vrf vrf1
DES-7200(config-router)# neighbor 192.168.10.2 remote-as 2
Caution
Generally speaking, a VRF is assigned with an RD value after the VRF is
defined. If no RD value is specified for the VRF, the preceding
address-family ipv4 vrf vrf-name command enters the address family of
the specified VRF and the system creates a default RD value 0:0 for the
VRF. After this value is created, the RD value cannot be modified or
deleted.
The configuration procedure for a PE peer on the CE is as follows:
Command Function
DES-7200# configure terminal
Enter the global configuration mode.
DES-7200(config)# router bgp
ce-asn-num
Create a BGP domain and enter the BGP
configuration mode.
Ruiije(config-router)# neighbor
ip-address pe-asn
Set up an EBGP session with a PE.
DES-7200(config-router)# show
running-config
View all configuration information.
# Set up an EBGP session with the PE at 192.168.10.1.
DES-7200# configure terminal
DES-7200(config)# router bgp 2
DES-7200(config-router)# neighbor 192.168.10.1 remote-as 1
Configuring OSPF Between PEs and CEs to Transmit Routing Information
To run OSPF between a PE and CE, you must configure an OSPF instance for the VRF on the
PE. The VRF then uses the OSPF instance to exchange routing information between the PE and
CE. By redistributing BGP routes, the OSPF module sends the VPN routes received from other