Implementing Multipoint Layer 2 Services
!
interface GigabitEthernet0/6/0/1
dot1q tunneling ethertype 0x9100
!
interface GigabitEthernet0/6/0/0.1 l2transport
encapsulation dot1q 10 second-dot1q 20
!
interface GigabitEthernet0/6/0/1.1 l2transport
encapsulation dot1q 1 second-dot1q 2
L2VPN Configuration at N-PE2:
l2vpn
bridge group g1
bridge-domain d1
interface GigabitEthernet0/6/0/0.1
!
interface GigabitEthernet0/6/0/1.1
!
vfi core-pws
neighbor 5.5.5.5 pw-id 10
H-VPLS with Access-PWs: Example
Router Configuration at U-PE1:
l2vpn
pw-class vpls
encapsulation mpls
transport-mode ethernet
!
xconnect group g1
p2p p1
interface GigabitEthernet0/1/1/0.1 --> Local AC
neighbor 5.5.5.5 pw-id 100 --> Access PW to N-PE1
pw-class vpls
interface GigabitEthernet0/1/1/0.1 l2transport
encapsulation dot1q 1
Router Configuration at U-PE2:
l2vpn
pw-class vpls
encapsulation mpls
transport-mode ethernet
mac-withdraw
!
xconnect group g1
p2p p1
interface GigabitEthernet0/2/5/0.1 --> Local AC
neighbor 5.5.5.5 pw-id 100 --> Access PW to N-PE1
pw-class vpls
interface GigabitEthernet0/2/5/0.1 l2transport
encapsulation dot1q 1
Router Configuration at N-PE1:
l2vpn
bridge group g1
bridge-domain d1
interface GigabitEthernet0/1/4/0.1 ? Local AC
neighbor 1.1.1.1 pw-id 100 --> Access PW to U-PE1
neighbor 2.2.2.2 pw-id 100 --> Access PW to U-PE2
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
H-VPLS Configuration: Examples
121