DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-112
DES-7200(config-router)# network 1.1.1.1 0.0.0.0 area 0
DES-7200(config-router)# end
The configuration of PE1-AS2 is similar to that of PE1-AS1.
P1-AS1:
The configuration mainly includes the MPLS signaling protocol and IGP and is not described
here. It is similar to Example for Configuring Basic MPLS Functions.
ASBR1:
# Configure the loopback interface.
DES-7200# configure terminal
DES-7200(config)# interface loopback 0
DES-7200(config-if-Loopback 0)# ip address 3.3.3.3 255.255.255.255
# Configure ACL rules and route map rules to assign labels to or set labels only for routes that
match the rules.
DES-7200# configure terminal
DES-7200(config)# ip access-list extended 101
DES-7200(config)# permit ip host 1.1.1.1 any
DES-7200(config)# exit
DES-7200(config)# ip access-list extended 102
DES-7200(config)# permit ip host 5.5.5.5 any
DES-7200(config)# route-map internal-mpls-route permit 10
DES-7200(config-route-map)# match ip address 101
DES-7200(config-route-map)# set mpls-label
DES-7200(config-route-map)# exit
DES-7200(config)# route-map external-mpls-route permit 10
DES-7200(config-route-map)# match ip address 102
DES-7200(config-route-map)# set mpls-label
DES-7200(config-route-map)# end
# Set up an EBGP session with the ASBR and configure route map rules to assign labels to PE
routes that match the rules (the route map rules are optional and allow BGP to assign labels to
only certain routes), and configure static routes to PEs in the local AS.
DES-7200# configure terminal
DES-7200(config)# router bgp 1