Basic MPLS VPN

PlAwAnSaI

Administrator
การ Implement MPLS VPN เค้าทำกันยังไง มี Command พื้นฐาน, ขั้นตอนอะไรบ้าง?
  1. MPLS L2VPN:
    1. สร้าง IGP Route ให้เสร็จก่อน ในที่นี้จะใช้ IS-IS
    2. Run MPLS
    3. Destination Router:
      • Cisco no need configuration more
      • Nokia: SDP
        configure service sdp 123 mpls create
        far-end
        ldp

      • Huawei:
        mpls ldp remote-peer
        remote-ip
        mpls ldp local-lsr-id LoopBack10 !If not need default loopback 0 interface
  2. MPLS L3VPN: Require เหมือนกับ L2VPN ข้อ 1 และ 2 แต่เพิ่มอีกข้อนึง
  1. 3. Run MP-BGP แค่นี้แหละ เรามาทำพร้อมๆ กันเลยดีกว่า นี่ diagram ตามนี้
13733-new-mpls-vpn-basic1.gif

1. มาดูที่ P และ PE Router ว่าต้องทำอะไรบ้าง นี่เป็นของ Pauillac คับ


[li]router isis
net 49.0001.0100.1001.0001.00
 

PlAwAnSaI

Administrator
On 7600 PE:


Quote:
mls ipv6 vrf
ipv6 unicast-routing
!
mpls label protocol ldp
!
router bgp 1
address-family ipv6
no synchronization
neighbor 10.0.0.1 activate
neighbor 10.0.0.1 send-community both
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community both
exit-address-family
!
address-family vpnv6
neighbor 10.0.0.1 activate
neighbor 10.0.0.1 send-community both
neighbor 10.0.0.2 activate
neighbor 10.0.0.2 send-community both
exit-address-family
!
mpls ldp router-id Loopback0
!
vrf definition 6vpe
rd 1:100
route-target export 1:100
route-target import 1:100
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
interface GigabitEthernetx/x
description ce1
vrf forwarding 6vpe
ipv6 address x:410:210:1::1/64
!
router bgp 1
!
address-family ipv6 vrf 6vpe
redistribute connected
no synchronization
exit-address-family


Credit: P'Ohm@AIT

On ASR / XR PE can enable 6VPE with no service impact following steps:

  1. If you peer BGP with 2 RRs, you can enable on one RR first.


  2. Quote:
    router bgp 1
    address-family vpnv6 unicast

  3. Create new Neighbor-group


    Quote:
    neighbor-group vpnv6-rr
    remote-as 1
    password encrypted 12413841
    update-source Loopback0
    address-family vpnv4 unicast
    !
    address-family vpnv6 unicast
    !
    address-family ipv4 mdt !if have MVPN

  4. Apply to RR neighbor


    Quote:
    neighbor 10.0.0.1
    use neighbor-group vpnv6-rr
ASR / XR VRF configuration:

Quote:
vrf 6vpe
address-family ipv6 unicast
import route-target
1:100
!
export route-target
1:100
!
router bgp 1
!
vrf 6vpe
rd 1:100
address-family ipv6 unicast
redistribute connected
!
interface TenGigE0/0/0/0.19
vrf 6vpe
ipv6 address 100:100:4::1/64
encapsulation dot1q 19



cool.gif
 
Top