mpls l2vpn L2TPv3 and AToM con example config

Home » Blog » Routing » mpls » mpls teoria » mpls l2vpn L2TPv3 and AToM con example config

mpls l2vpn L2TPv3 and AToM con example config

01.12 2019 | by massimiliano

L2TPv3 layer 2 tunneling protocol: Tunnel over IP network    ethernet    frame relay    atm    hdlc    ppp   […]



L2TPv3 layer 2 tunneling protocol: Tunnel over IP network

   ethernet

   frame relay

   atm

   hdlc

   ppp

 

Non richiede MPLS Core network

 

AToM (Any Transport over MPLS): Tunnels P2P over MPLS network 

 

   ethernet

   frame relay

   atm

   hdlc

   ppp

 

Richiede MPLS Core network

 

  trasporto labels attraverso LDP / MPLS-TE / BGP + label path

  VPN label  rappresenta una nuova etichetta “pseudowire” automaticamente allocata attraverso una LDP session tra nodi PE

 

 

L2TPv3 ed AToM, quindi permette un any to any layer 2 tunneling:

 

   Ethernet to ATM

   Ethernet to FR

   Ethernet to PPP

   ATM to FR

   ATM to PPP

   PPP to FR

 

 

Esempio di configurazione di uno pseudowire di tipo ethernet to vlan over l2tpv3:

 

ip cef

!

l2tp-class ethernet-class

authentication

hostname PE

password 0 max

!

pseudowire-class ETH-VLAN-L2TPv3

encapsulation l2tpv3

internetworking ethernet

protocol l2tpv3

ethernet-class

ip local-interface loopback0

!

interface loopback0

ip address 1.1.1.1 255.255.255.255

!

interface fa0/1.100

encapsuation dot1.q 100

xconnect 2.2.2.2 10 pw-class ETH-VLAN-L2TPv3

 

 

Esempio di configurazione di uno pseudowire di tipo ethernet to vlan over AToM: 

 

ip cef

mpls label protocol ldp

mpls ldp router-id loopback0 force

!

pseudowire-class ETH-VLAN-AToM

encapsulation mpls

!

interface loopback0

ip address 1.1.1.1 255.255.255.255

!

interface fa0/1.100

encapsulation dot1q 100

xconnect 2.2.2.2 10 pw-class ETH-VLAN-AToM

 

 

 

Esempio di configurazione di uno pseudowire di tipo Frame Relay to Vlan over l2tpv3:

 

 ip cef

frame-relay switching

!

interface loopback 0

ip address 1.1.1.1 255.255.255.255

!

pseudowire-class ip

encapsulation l2tpv3

internetworking ip

ip local interface loopback 0

!

interface POS2/0

encapsulation frame-relay

clock source internal

logging event dlci-status-change

no fair-queue

!

connect fr-vlan POSA2/0 206

l2transport

xconnect 2.2.2.2 10 pw-class ip

 

 

Esempio di configurazione di uno pseudowire di tipo Frame Relay to Vlan over AToM:

 

 

ip cef

frame-relay switching

!

mpls label protocol ldp

mpls ldp router-id loopback0

mpls ip

!

interface loopback 0

ip address 1.1.1.1 255.255.255.255

!

pseudowire-class atom

encapsulation mpls

internetworking ip

ip local interface loopback 0

!

connect fr-vlan POSA2/0 206

l2transport

xconnect 2.2.2.2 10 pw-class atom

 

 

   

 

  

 

 

 

 

Torna in alto