Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Overlay VPN task #3. L2VPN optimization

Topology:



Use configuration from L2VPN task #2 as initial configuration for this task.

Requirements: 

1. Change the solution, so both encapsulation overhead and provisioning efforts are kept to               minimum.
    You are allowed to change the service provider network configuration for this task. 


Solution:

Highlight the text below to reveal the solution.

This task requires understanding of L2VPN AToM configuration, and differences between L2TPv3 and AToM options.

AToM overhead is 8 bytes (2 labels) or 12 bytes (2 labels + control word) , vs L2TPv3 overhead is at least 24 bytes (new IP header of 20 bytes + l2tpv3 header of 4 bytes ), plus cookies and transport header overhead which may vary. 

Change to AToM to reduce overhead to 12 bytes, and use targeted LDP session between the tunnel endpoints to negotiate the VC labels. 

Requirement #1 - enable MPLS and LDP on routers R1, R2 and R3. change xconnect encapsulation from l2tpv3 to mpls. leave the pseudowire protocol to default - ldp. 

R1:


!
pseudowire-class ATOM
 encapsulation mpls
!
!
router ospf 1
 mpls ldp autoconfig
 router-id 18.0.1.1
!
!
interface Ethernet1/0
 no ip address
 no cdp enable
 xconnect 18.0.3.3 46 encapsulation mpls pw-class ATOM
!
interface Ethernet1/1
 no ip address
!
interface Ethernet1/1.57
 encapsulation dot1Q 57
 xconnect 18.0.3.3 57 encapsulation mpls pw-class ATOM
!
interface Ethernet1/1.58
 encapsulation dot1Q 58
 xconnect 18.0.3.3 58 encapsulation mpls pw-class ATOM
!


R3:


!
pseudowire-class ATOM
 encapsulation mpls
!
!
router ospf 1
 mpls ldp autoconfig
 router-id 18.0.3.3
!
interface Ethernet1/0
 no ip address
 no cdp enable
 xconnect 18.0.1.1 46 encapsulation mpls pw-class ATOM
!
interface Ethernet1/1
 no ip address
!
interface Ethernet1/1.75
 encapsulation dot1Q 75
 xconnect 18.0.1.1 57 encapsulation mpls pw-class ATOM
!
interface Ethernet1/2
 no ip address
!
interface Ethernet1/2.85
 encapsulation dot1Q 85
 xconnect 18.0.1.1 58 encapsulation mpls pw-class ATOM
!


Verification:


R1#        show mpls ldp neighbor
    Peer LDP Ident: 18.0.2.2:0; Local LDP Ident 18.0.1.1:0
        TCP connection: 18.0.2.2.59677 - 18.0.1.1.646
        State: Oper; Msgs sent/rcvd: 26/27; Downstream
        Up time: 00:16:20
        LDP discovery sources:
          Ethernet0/0, Src IP addr: 18.0.12.2
        Addresses bound to peer LDP Ident:
          18.0.12.2       18.0.23.2       18.0.2.2
    Peer LDP Ident: 18.0.3.3:0; Local LDP Ident 18.0.1.1:0
        TCP connection: 18.0.3.3.16095 - 18.0.1.1.646
        State: Oper; Msgs sent/rcvd: 26/26; Downstream
        Up time: 00:13:20
        LDP discovery sources:
          Targeted Hello 18.0.1.1 -> 18.0.3.3, active, passive
        Addresses bound to peer LDP Ident:
          18.0.23.3       18.0.3.3

R1#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         Pop Label  18.0.2.2/32      0             Et0/0      18.0.12.2
17         17         18.0.3.3/32      0             Et0/0      18.0.12.2
18         Pop Label  18.0.23.0/24     0             Et0/0      18.0.12.2
19         No Label   l2ckt(46)        22790         Et1/0      point2point
20         No Label   l2ckt(57)        630           Et1/1.57   point2point
21         No Label   l2ckt(58)        570           Et1/1.58   point2point

R1#show mpls l2transport vc detail
Local interface: Et1/0 up, line protocol up, Ethernet up
  Destination address: 18.0.3.3, VC ID: 46, VC status: up
    Output interface: Et0/0, imposed label stack {17 19}
    Preferred path: not configured
    Default path: active
    Next hop: 18.0.12.2
  Create time: 00:16:21, last status change time: 00:14:03
  Signaling protocol: LDP, peer 18.0.3.3:0 up
    Targeted Hello: 18.0.1.1(LDP Id) -> 18.0.3.3
    Status TLV support (local/remote)   : enabled/supported
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: no fault
      Last local SSS circuit status rcvd: no fault
      Last local SSS circuit status sent: no fault
      Last local  LDP TLV    status sent: no fault
      Last remote LDP TLV    status rcvd: no fault
    MPLS VC labels: local 19, remote 19
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description:
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 203, send 201
    byte totals:   receive 22910, send 27693
    packet drops:  receive 0, seq error 0, send 0

Local interface: Et1/1.57 up, line protocol up, Eth VLAN 57 up
  Interworking type is Ethernet
  Destination address: 18.0.3.3, VC ID: 57, VC status: up
    Output interface: Et0/0, imposed label stack {17 20}
    Preferred path: not configured
    Default path: active
    Next hop: 18.0.12.2
  Create time: 00:15:08, last status change time: 00:13:47
  Signaling protocol: LDP, peer 18.0.3.3:0 up
    Targeted Hello: 18.0.1.1(LDP Id) -> 18.0.3.3
    Status TLV support (local/remote)   : enabled/supported
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: no fault
      Last local SSS circuit status rcvd: no fault
      Last local SSS circuit status sent: no fault
      Last local  LDP TLV    status sent: no fault
      Last remote LDP TLV    status rcvd: no fault
    MPLS VC labels: local 20, remote 20
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description:
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 6, send 6
    byte totals:   receive 630, send 786
    packet drops:  receive 0, seq error 0, send 0

Local interface: Et1/1.58 up, line protocol up, Eth VLAN 58 up
  Interworking type is Ethernet
  Destination address: 18.0.3.3, VC ID: 58, VC status: up
    Output interface: Et0/0, imposed label stack {17 21}
    Preferred path: not configured
    Default path: active
    Next hop: 18.0.12.2
  Create time: 00:14:55, last status change time: 00:13:27
  Signaling protocol: LDP, peer 18.0.3.3:0 up
    Targeted Hello: 18.0.1.1(LDP Id) -> 18.0.3.3
    Status TLV support (local/remote)   : enabled/supported
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: no fault
      Last local SSS circuit status rcvd: no fault
      Last local SSS circuit status sent: no fault
      Last local  LDP TLV    status sent: no fault
      Last remote LDP TLV    status rcvd: no fault
    MPLS VC labels: local 21, remote 21
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description:
  Sequencing: receive disabled, send disabled
  VC statistics:
    packet totals: receive 5, send 5
    byte totals:   receive 570, send 700
    packet drops:  receive 0, seq error 0, send 0

R4#ping 10.10.64.6 repeat 100
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.10.64.6, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 1/1/5 ms

R5#ping 172.16.57.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.57.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
R5#ping 172.16.58.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.58.8, timeout is 2 seconds:
!!!!!




This post first appeared on CCIE Service Provider Workbook, please read the originial post: here

Share the post

Overlay VPN task #3. L2VPN optimization

×

Subscribe to Ccie Service Provider Workbook

Get updates delivered right to your inbox!

Thank you for your subscription

×