Chapter 16 Configuring MPLS VPNs

Configuration Examples for MPLS VPN

Router_1#show running-config partition router bgp 1

Building configuration...

Current configuration : 664 bytes

!

Configuration of Partition - router bgp 1

!

!

!

router bgp 1

bgp log-neighbor-changes neighbor 100.0.0.1 remote-as 1

neighbor 100.0.0.1 update-source Loopback2 neighbor 100.0.1.1 remote-as 1

neighbor 100.0.1.1 update-source Loopback2

!

address-family ipv4 no synchronization neighbor 100.0.0.1 activate

neighbor 100.0.0.1 send-community both neighbor 100.0.1.1 activate neighbor 100.0.1.1 send-community both no auto-summary

exit-address-family

!

address-family vpnv4 neighbor 100.0.0.1 activate

neighbor 100.0.0.1 send-community both neighbor 100.0.1.1 activate neighbor 100.0.1.1 send-community both

exit-address-family

!

!

end

Router_1#

Router_1#show running-config partition router ospf 1

Building configuration...

Current configuration : 197 bytes

!

Configuration of Partition - router ospf 1

!

!

!

router ospf 1 log-adjacency-changes redistribute connected subnets network 1.0.0.0 0.0.0.255 area 0 network 9.0.0.0 0.0.0.255 area 0

!

!

end

PE2 Configuration

Interface details

Router_3#show running-config interface gigabitEthernet 6/3

Building configuration...

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

16-6

OL-23826-09

Page 312
Image 312
Cisco Systems A9014CFD manual PE2 Configuration, Interface details, 16-6