For example, a dual-homed ring is configured between two CPT 600: NE-1 and NE-5 through three CPT 50's: NE-2, NE-3 and NE-4. Perform the following configuration to configure Management VFI:
1. Create TP tunnel NE-1 <-> NE-3 NE-1<->NE-5 NE-3<->NE-5
Tunnel between NE-1 and NE-3:
NE-1
interface Tunnel-tp31
ip unnumbered Loopback0
no keepalive
tp bandwidth 1
tp source 1.1.1.1
tp destination 3.3.3.3
bfd LSP_BFD_50
working-lsp
out-label 100 out-link 51
in-label 250
lsp-number 0
protect-lsp
out-label 980 out-link 42
in-label 990
lsp-number 1
soak link notification 10
NE-2
mpls tp lsp source 1.1.1.1 tunnel-tp 31 lsp working destination 3.3.3.3 tunnel-tp 31
forward-lsp
bandwidth 1
in-label 100 out-label 150 out-link 5646
reverse-lsp
bandwidth 1
in-label 200 out-label 250 out-link 5645
NE-3
interface Tunnel-tp31
ip unnumbered Loopback0
no keepalive
tp bandwidth 1
tp source 3.3.3.3
tp destination 1.1.1.1
bfd LSP_BFD_50
working-lsp
out-label 200 out-link 5745
in-label 150
lsp-number 0
protect-lsp
out-label 960 out-link 5746
in-label 960
lsp-number 1
soak link notification 10
NE-4
mpls tp lsp source 1.1.1.1 tunnel-tp 31 lsp working destination 3.3.3.3 tunnel-tp 31
forward-lsp
bandwidth 1
in-label 970 out-label 960 out-link 5845
reverse-lsp
bandwidth 1
in-label 960 out-label 1010 out-link 5846
NE-4
mpls tp lsp source 1.1.1.1 tunnel-tp 31 lsp working destination 3.3.3.3 tunnel-tp 31
forward-lsp
bandwidth 1
in-label 980 out-label 970 out-link 41
reverse-lsp
bandwidth 1
in-label 1010 out-label 990 out-link 52
Tunnel between NE-3 and NE-5
NE-3
interface Tunnel-tp35
bandwidth 1
ip unnumbered Loopback0
no keepalive
tp source 3.3.3.3
tp destination 5.5.5.5
bfd LSP_BFD_50
working-lsp
out-label 200 out-link 5746
in-label 2030
lsp-number 0
protect-lsp
out-label 3600 out-link 5745
in-label 3660
lsp-number 1
soak link notification 10
NE-4
mpls tp lsp source 3.3.3.3 tunnel-tp 35 lsp working destination 5.5.5.5 tunnel-tp 35
forward-lsp
bandwidth 1
in-label 2000 out-label 2010 out-link 5846
reverse-lsp
bandwidth 1
in-label 2020 out-label 2030 out-link 5845
NE-5
interface Tunnel-tp35
bandwidth 1
ip unnumbered Loopback0
no keepalive
tp source 5.5.5.5
tp destination 3.3.3.3
bfd LSP_BFD_50
working-lsp
out-label 2020 out-link 41
in-label 2010
lsp-number 0
protect-lsp
out-label 3680 out-link 52
in-label 3680
lsp-number 1
soak link notification 10
NE-1
mpls tp lsp source 3.3.3.3 tunnel-tp 35 lsp working destination 5.5.5.5 tunnel-tp 35
forward-lsp
bandwidth 1
in-label 3670 out-label 3680 out-link 42
reverse-lsp
bandwidth 1
in-label 3680 out-label 3670 out-link 51
NE-2
mpls tp lsp source 3.3.3.3 tunnel-tp 35 lsp
protect destination 5.5.5.5 tunnel-tp 35
forward-lsp
bandwidth 1
in-label 3660 out-label 3670 out-link 5645
reverse-lsp
bandwidth 1
in-label 3670 out-label 3660 out-link 5646
2. Create Pesudowire class
NE-1
pseudowire-class PW31
encapsulation mpls
interworking ethernet
control-word
protocol none
preferred-path interface Tunnel-tp31
!
pseudowire-class PW51
encapsulation mpls
interworking ethernet
control-word
protocol none
preferred-path interface Tunnel-tp51
!
pseudowire-class PW_VPLS 51
encapsulation mpls
interworking ethernet
control-word
preferred-path interface Tunnel-tp51
!
pseudowire-class PW_VPLS 31
encapsulation mpls
interworking ethernet
control-word
preferred-path interface Tunnel-tp 31
NE-5
pseudowire-class PW35
encapsulation mpls
interworking ethernet
control-word
protocol none
preferred-path interface Tunnel-tp35
!
pseudowire-class PW51
encapsulation mpls
interworking ethernet
control-word
protocol none
preferred-path interface Tunnel-tp51
!
pseudowire-class PW_VPLS 51
encapsulation mpls
interworking ethernet
control-word
preferred-path interface Tunnel-tp51
!
pseudowire-class PW_VPLS 35
encapsulation mpls
interworking ethernet
control-word
preferred-path interface Tunnel-tp 35
NE-3
pseudowire-class PW35
encapsulation mpls
interworking ethernet
control-word
protocol none
preferred-path interface Tunnel-tp35
!
pseudowire-class PW_VPLS_31
encapsulation mpls
interworking ethernet
control-word
protocol none
preferred-path interface Tunnel-tp31
!
pseudowire-class PW_VPLS 35
encapsulation mpls
interworking ethernet
control-word
preferred-path interface Tunnel-tp35
!
pseudowire-class PW 51
encapsulation mpls
interworking ethernet
control-word
preferred-path interface Tunnel-tp 51
3. Configure Mesh VPLS between NE-1 and NE-5
NE-1
l2 router-id 1.1.1.1
l2 vfi vfi::1 manual
vpn id 10
bridge-domain 10
mtu 1500
neighbor 5.5.5.5 pw-class PW_VPLS_51
!
l2 vfi vfi::2 manual
vpn id 11
bridge-domain 11
mtu 1500
neighbor 5.5.5.5 pw-class PW_VPLS_51
!
l2 vfi vfi::3 manual
vpn id 12
bridge-domain 12
mtu 1500
neighbor 5.5.5.5 pw-class PW_VPLS_51
in-label 960 out-label 1010 out-link 5846
NE-5
l2 router-id 5.5.5.5
l2 vfi VPLS::1 manual
vpn id 10
bridge-domain 10
mtu 1500
neighbor 1.1.1.1 pw-class PW_VPLS_51
!
l2 vfi VPLS::2 manual
vpn id 11
bridge-domain 11
mtu 1500
neighbor 1.1.1.1 pw-class PW_VPLS_51
!
l2 vfi VPLS::3 manual
vpn id 12
bridge-domain 12
mtu 1500
neighbor 1.1.1.1 pw-class PW_VPLS_51
Verfication
Table 4 NE5(PRC)#sh mpls l2 vc
Local intf |
Local circuit |
Dest address |
VC ID |
Status |
VFI VPLS::1 |
vfi |
1.1.1.1 |
10 |
UP |
VFI VPLS::2 |
vfi |
1.1.1.1 |
11 |
UP |
VFI VPLS::3 |
vfi |
1.1.1.1 |
12 |
UP |
Table 5 NE1(WRC)#sh mpls l2 vc
Local intf |
Local circuit |
Dest address |
VC ID |
Status |
VFI vfi::1 |
vfi |
5.5.5.5 |
10 |
UP |
VFI vfi::2 |
vfi |
5.5.5.5 |
11 |
UP |
VFI vfi::3 |
vfi |
5.5.5.5 |
12 |
UP |
4. Configure H-VPLS from one of the 1GE ports of each CPT 50 to NE-1 and NE-5
NE-2
interface GigabitEthernet57/10
mtu 9200l
no ip address
carrier-delay msec 200
speed auto
duplex auto
no negotiation auto
no keepalive
soak link notification 10
l2protocol peer cdp lacp
l2protocol forward stp vtp dtp pagp dot1x
service instance 10 ethernet
encapsulation dot1q 201
service-policy input 2G_Ingress_Updated
xconnect 1.1.1.1 10 encapsulation mpls pw-class PW_VPLS_21
backup peer 5.5.5.5 10 pw-class PW_VPLS_25
mtu 1500
!
service instance 20 ethernet
encapsulation dot1q 3001
service-policy input 3G_Ingress_Updated
xconnect 1.1.1.1 11 encapsulation mpls pw-class PW_VPLS_21
backup peer 5.5.5.5 11 pw-class PW_VPLS_25
mtu 1500
!
service instance 30 ethernet
encapsulation dot1q 4001
xconnect 1.1.1.1 12 encapsulation mpls pw-class PW_VPLS_21
backup peer 5.5.5.5 11 pw-class PW_VPLS_25
mtu 1500
NE-3
interface GigabitEthernet57/10
mtu 9200l
no ip address
carrier-delay msec 200
speed auto
duplex auto
no negotiation auto
no keepalive
soak link notification 10
l2protocol peer cdp lacp
l2protocol forward stp vtp dtp pagp dot1x
service instance 10 ethernet
encapsulation dot1q 201
service-policy input 2G_Ingress_Updated
xconnect 1.1.1.1 10 encapsulation mpls pw-class PW_VPLS_31
backup peer 5.5.5.5 10 pw-class PW_VPLS_35
mtu 1500
!
service instance 20 ethernet
encapsulation dot1q 3001
service-policy input 3G_Ingress_Updated
xconnect 1.1.1.1 11 encapsulation mpls pw-class PW_VPLS_31
backup peer 5.5.5.5 11 pw-class PW_VPLS_35
mtu 1500
!
service instance 30 ethernet
encapsulation dot1q 4001
xconnect 1.1.1.1 12 encapsulation mpls pw-class PW_VPLS_31
backup peer 5.5.5.5 11 pw-class PW_VPLS_35
mtu 1500
NE-4
interface GigabitEthernet57/10
mtu 9200l
no ip address
carrier-delay msec 200
speed auto
duplex auto
no negotiation auto
no keepalive
soak link notification 10
l2protocol peer cdp lacp
l2protocol forward stp vtp dtp pagp dot1x
service instance 10 ethernet
encapsulation dot1q 201
service-policy input 2G_Ingress_Updated
xconnect 1.1.1.1 10 encapsulation mpls pw-class PW_VPLS_41
backup peer 5.5.5.5 10 pw-class PW_VPLS_45
mtu 1500
!
service instance 20 ethernet
encapsulation dot1q 3001
service-policy input 3G_Ingress_Updated
xconnect 1.1.1.1 11 encapsulation mpls pw-class PW_VPLS_41
backup peer 5.5.5.5 11 pw-class PW_VPLS_45
mtu 1500
!
service instance 30 ethernet
encapsulation dot1q 4001
xconnect 1.1.1.1 12 encapsulation mpls pw-class PW_VPLS_41
backup peer 5.5.5.5 11 pw-class PW_VPLS_45
mtu 1500
5. Assign IP address with similar network mask to another 1GE port