Difference between revisions of "L2TPv3"

From VyOS Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
'''L2TPv3''' is a pseudowire protocol, more information in [http://en.wikipedia.org/wiki/L2TPv3 Wikipedia L2TPv3].
 
'''L2TPv3''' is a pseudowire protocol, more information in [http://en.wikipedia.org/wiki/L2TPv3 Wikipedia L2TPv3].
 +
[http://cabildocl.blogspot.cl/2015/08/l2tpv3-con-vyosfork-de-vyatta.html example]
  
 
== Configuration commands ==
 
== Configuration commands ==

Revision as of 18:16, 2 August 2015

L2TPv3 is a pseudowire protocol, more information in Wikipedia L2TPv3. example

Configuration commands

interfaces
  l2tpv3 <l2tpeth[0-999]>
    encapsulation <ip|udp>
    local-ip <ipv4> # Local address
    remote-ip <ipv4> # Remote address
    local-port <1-65535> # Local port, UDP only
    remote-port <1-65535> # Remote port, UDP only
    session-id <int32> # Local L2TPv3 session identifier
    peer-session-id <int32> # Remote L2TPv3 session identifier
    tunnel-id <int32> # Local L2TPv3 tunnel identifier
    peer-tunnel-id <int32> # Remote L2TPv3 tunnel identifier

All other usual interface commands (firewall, QoS etc.) are supported on L2TPv3 interfaces as well.

Examples

L2TPv3 over IP:

# show interfaces l2tpv3 
 l2tpv3 l2tpeth10 {
     address 192.168.37.1/27
     encapsulation ip
     local-ip 192.0.2.1
     peer-session-id 100
     peer-tunnel-id 200
     remote-ip 203.0.113.24
     session-id 100
     tunnel-id 200
 }

L2TPv3 over UDP:

# show interfaces l2tpv3 
 l2tpv3 l2tpeth10 {
     address 192.168.37.1/27
     destination-port 9001
     encapsulation udp
     local-ip 192.0.2.1
     peer-session-id 100
     peer-tunnel-id 200
     remote-ip 203.0.113.24
     session-id 100
     source-port 9000
     tunnel-id 200
 }