Chapter 16 Configuring MPLS VPNs

Configuration Examples for MPLS VPN

interface GigabitEthernet0/8 no negotiation auto

!

interface GigabitEthernet0/9 load-interval 30

no negotiation auto

service instance 10 ethernet

encapsulation dot1q 301

rewrite ingress tag pop 1 symmetric bridge-domain 301

!

!

interface GigabitEthernet0/10 no negotiation auto ethernet dot1ad nni

service instance 1 ethernet

encapsulation dot1ad 30

rewrite ingress tag pop 1 symmetric

!

!

interface GigabitEthernet0/11 no negotiation auto

!

interface ToP0/12 no negotiation auto

!

interface FastEthernet0/0 no ip address full-duplex

!

interface Vlan1

!

interface Vlan2

ip vrf forwarding customer_2

ip address 2.2.1.1 255.255.255.0

!

interface Vlan300

ip address 1.0.0.1 255.255.255.0 mpls ip

!

interface Vlan301

ip address 11.0.0.1 255.255.255.0 mpls ip

!

router ospf 22 router-id 1.0.0.1 redistribute connected subnets network 1.0.0.0 0.0.0.255 area 23 network 11.0.0.0 0.0.0.255 area 23

!

router bgp 1

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

neighbor 111.0.1.1 update-source Loopback100

!

address-family ipv4 redistribute connected

 

 

 

neighbor 111.0.1.1

activate

 

 

 

neighbor 111.0.1.1

send-community both

 

 

 

exit-address-family

 

 

!

 

 

 

 

 

address-family vpnv4

 

 

 

 

 

neighbor 111.0.1.1

activate

 

 

 

neighbor 111.0.1.1

send-community both

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

16-4

 

 

OL-23826-09

 

 

 

 

 

Page 310
Image 310
Cisco Systems A9014CFD manual 16-4