DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-105
# The no switchport command is used to switch the port mode on switches to routed port mode.
It is not applicable to routers. You are not required to run this command on routers.
DES-7200(config-if-gigabitethernet 1/1)# no switchport
DES-7200(config-if-gigabitethernet 1/1)# ip address 10.10.10.2
255.255.255.0
DES-7200(config-if-gigabitethernet 1/1)# label-switching
DES-7200(config-if-gigabitethernet 1/1)# mpls ip
DES-7200(config-if-gigabitethernet 1/1)# end
# Run OSPF on the backbone network to transmit routing information.
DES-7200# configure terminal
DES-7200(config)# router ospf 10
DES-7200(config-router)# network 10.10.10.0 0.0.0.255 area 0
DES-7200(config-router)# network 3.3.3.3 0.0.0.0 area 0
DES-7200(config-router)# end
# Assign an IP address to the interface connected to ASBR2.
DES-7200(config)# interface gigabitethernet 1/0
# The no switchport command is used to switch the port mode on switches to routed port mode.
It is not applicable to routers. You are not required to run this command on routers.
DES-7200(config-if-GigabitEthernet 1/0)# no switchport
DES-7200(config-if-gigabitethernet 1/0)# ip address 30.30.30.1
255.255.255.0
# Enable label switching on an interface.
DES-7200(config-if-gigabitethernet 1/0)# label-switching
The configuration of ASBR2 is similar to that of ASBR1.
2.5.6 Inter-AS VPN OptionC:
Enabling IPv4 Label Exchange
Between EBGP Neighbors
Requirement: One VPN user has sites at both ASs. It is required that the VPN sites in different
ASs access each other.