16-36

ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter16 Configuring Tag Switching and MPLS
MPLS VPNs
router bgp 104
bgp log-neighbor-changes
redistribute connected
neighbor 12.0.0.2 remote-as 100
!
8540-ATM-PE1 Configuration

The configuration of ATM switch router 8540-ATM-PE1, follows:

!
ip vrf vpn1
rd 200:1
route-target export 200:1
route-target import 100:1
!
interface Loopback0
ip address 22.0.0.1 255.255.255.255
end
!
interface FastEthernet0/0/0
ip vrf forwarding vpn1
ip address 12.0.0.2 255.0.0.0
mpls-forwarding interface ATM2/0/0
end
!
interface ATM11/0/1
ip unnumbered Loopback0
logging event subif-link-status
no atm ilmi-keepalive
tag-switching ip
mpls-forwarding interface ATM2/0/0
end
!
!
router ospf 100
log-adjacency-changes
network 22.0.0.0 0.255.255.255 area 100
!
!
router bgp 100
bgp log-neighbor-changes
neighbor 24.0.0.1 remote-as 100
neighbor 24.0.0.1 update-source Loopback0
!
address-family ipv4 vrf vpn1
redistribute connected
neighbor 12.0.0.1 remote-as 104
neighbor 12.0.0.1 activate
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 24.0.0.1 activate
neighbor 24.0.0.1 send-community extended
exit-address-family
!