D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-22
DES-7200(config-router-af)#
neighbor peer-address route-map
route-map-name in
Filter the VPN routes received from the ASBR in
another AS.
DES-7200(config-router-af)#
neighbor peer-address route-map
route-map-name out
Filter the VPN routes sent to the ASBR in another
AS.
DES-7200(config-router-af)# show
running-config
View all configuration information.
# Configure an ASBR to receive VPN routes with an RT value of 100:1 from the MP-IBGP peer
at 1.1.1.1.
DES-7200# configure terminal
DES-7200(config)# ip extcommunity-list standard RT permit rt 100:1
DES-7200(config)# show ip extcommuniy-list RT
Named extended community standard list RT
permit rt 100:1
DES-7200(config)# route-map RT-IN permit
DES-7200(config-route-map)# match extcommunity RT
DES-7200(config-route-map)# show route-map RT-IN
route-map map, permit, sequence 10
Match clauses:
extcommunity (extcommunity-list filter):RT
Set clauses:
Policy routing matches: 0 packets, 0 bytes
DES-7200(config-route-map)# exit
DES-7200(config)# router bgp 100
DES-7200(config-router)# neighbor 1.1.1.1 remote-as 100
DES-7200(config-router)# neighbor 1.1.1.1 update-source loopback 0
DES-7200(config-router)# address-family vpnv4
DES-7200(config-router-af)# neighbor 1.1.1.1 activate
DES-7200(config-router-af)# neighbor 1.1.1.1 route-map RT-IN in
DES-7200(config-router-af)# end
Configuring an IGP to Redistribute ASBR Routes of Another AS
Since the ASBR does not change the next hop of VPN routes sent to the IBGP peer, the next
hop address of VPN routes learnt by the PEs in the local AS is the ASBR address in another AS.
Therefore, you must configure the PEs to learn the route to the next hop address. For the
single-hop directly-connected MP-EBGP session where BGP is enabled to carry labels (through
IPv4 routes or VPN routes), the MP-BGP module supports the automatic generation of a host
route with 32-bit mask length and FTN entry (with the outgoing label 3) on the ASBR. In this