Friday, July 16, 2021

Make Path - Tunnel - L2VPN PW-Class (VPLS & VLL) In Cisco ASR 9006

Warning: It's just Personal Note !!!

Make Path:

explicit-path name TO-JKT-CES-1-PRI
index 1 next-address strict ipv4 unicast 10.49.1.54
index 2 next-address strict ipv4 unicast 10.49.1.6
index 3 next-address strict ipv4 unicast 10.49.4.242
index 4 next-address strict ipv4 unicast 10.49.3.94
!

explicit-path name TO-JKT-CES-1-SEC
index 1 next-address loose ipv4 unicast 10.48.1.6
!

Make Tunnel:
interface tunnel-te129
description TUN-JKT-CES-1
ipv4 unnumbered Loopback0
signalled-name TUN-JKT-CES-1
destination 10.48.1.6
path-protection
!
path-option 10 explicit name TO-JKT-CES-1-PRI
path-option 20 explicit name TO-JKT-CES-1-SEC
!

L2VPN PW-Class:
l2vpn
pw-class VPLS-TO-CES-1
encapsulation mpls
preferred-path interface tunnel-te 129
!
!

Make VPLS:
RP/0/RSP0/CPU0:JKT-C-1(config)#l2vpn
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn)#bridge group VPLS-LL_SW-10G
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn-bg)#bridge-domain VPLS_LL_CUSTOMER_21010741
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn-bg-bd)#vfi VPLS_LL_CUSTOMER_OFFICE
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn-bg-bd-vfi)#neighbor 10.48.1.6 pw-id 21010741
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn-bg-bd-vfi-pw)#pw-class VPLS-TO-CES-1

Konfigurasi yang terpasang:
 bridge group VPLS-LL_SW-10G
  bridge-domain VPLS_LL_CUSTOMER_21010741
   mtu 9000
   interface TenGigE0/0/0/0.741
   !
   vfi VPLS_LL_CUSTOMER_21010741
    neighbor 10.48.1.6 pw-id 21010741
     pw-class VPLS-TO-CES-1
    !
   !
  !

Buat Sub Interface untuk VPLS yang kita buat:
interface TenGigE0/0/0/0.741 l2transport
 description VPLS_LL_GASTRA_OFFICE
 encapsulation dot1q 741
 rewrite ingress tag pop 1 symmetric
!

------------------------------------------------------------------------------------------------------------------

Membuat Koneksi VLL

RP/0/RSP0/CPU0:JKT-C-1(config)#l2vpn
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn)#pw-class VLL-TO-JKT-C-2
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn-pwc)#encapsulation mpls
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn-pwc-mpls)#transport-mode vlan
RP/0/RSP0/CPU0:JKT-C-1(config-l2vpn-pwc-mpls)#preferred-path interface tunnel-te 2

Hasil Konfigurasi:
pw-class VLL-TO-JKT-C-2
  encapsulation mpls
   transport-mode vlan
   preferred-path interface tunnel-te 2
  !
 !
 
p2p vll_p2p_core_jkt_to_bdg
   interface TenGigE0/0/0/1.3591
   neighbor ipv4 10.48.0.2 pw-id 11113591
    pw-class VLL-TO-JKT-C-2
   !
  !

interface TenGigE0/0/0/1.3591 l2transport
 description VLL_P2P_CORE_JKT_TO_BDG
 encapsulation dot1q 3591
 rewrite ingress tag pop 1 symmetric
 mtu 9018 
!