Monday, March 22, 2021

Change mpls tunnel in mpls l2-vpn @CIENA 5160

Warning: It's just Personal Note !!!

EXISTING:
JKT-CNA-5160>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! VIRTUAL-SWITCH MPLS-VC ATTACHMENT:
!
virtual-switch ethernet attach mpls-vc VPLS-INET-21012004 vs VPLS-INET-21012004

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! L2-VPN STATIC and DYNAMIC PSEUDOWIREs
!
mpls l2-vpn create dynamic-vc VPLS-INET-21012004 pw-id 21012004 peer 10.48.0.3 te-tunnel TUN-C-1-PRI mtu 9000 (Tunnel that will be replaced)
mpls l2-vpn set dynamic-vc VPLS-INET-21012004 customer CUSTOMER-INET


EXECUTE:
JKT-CNA-5160*>virtual-switch ethernet detach mpls-vc VPLS-INET-21012004 (Remove VPLS from Virtual Switch)
JKT-CNA-5160*>mpls l2-vpn delete vc VPLS-INET-21012004 (Remove existing l2-vpn)

JKT-CNA-5160*>mpls l2-vpn create dynamic-vc VPLS-INET-21012004 pw-id 21012004 peer 10.48.0.3 te-tunnel TUN-C-1-PRI2 mtu 9000 (Insert New Tunnel)
JKT-CNA-5160*>mpls l2-vpn set dynamic-vc VPLS-INET-21012004 customer CUSTOMER-INET
JKT-CNA-5160*>virtual-switch ethernet attach mpls-vc VPLS-INET-21012004 vs VPLS-INET-21012004
JKT-CNA-5160*>configuration save