DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-83
DES-7200(config-if-GigabitEthernet 1/0)# mpls ip
DES-7200(config-if-GigabitEthernet 1/0)# exit
DES-7200(config)# interface gigabitethernet 1/1
# 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 172.168.20.1 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/0)# end
# Configure routing protocols on the backbone network.
DES-7200# configure terminal
DES-7200(config)# router ospf 10
DES-7200(config-router)# network 172.168.10.0 0.0.0.255 area 0
DES-7200(config-router)# network 172.168.20.0 0.0.0.255 area 0
DES-7200(config-router)# end
P2:
The configuration procedure is similar to that of P1.
2.5.2 Extranet Configuration
Examples
Requirements: There are two VPN users: VPNA and VPNB. Mutual access is required in a VPN.
The two VPNs cannot access each other but can access some shared resources. As shown in
the following figure, VPNA and VPNB sites should access the resources of VPN-SITEA.