cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2677
Views
8
Helpful
10
Replies

Cannot established L2TPv3 tunnel successfully

Hello All,
I am trying to establish L2TPv3 pure tunnel between Cisco IOSv 15.6(2)T and routers but can not established successfully.

Below are the configuration:

version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname xxx
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
ethernet lmi ce
!
!
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
no ip icmp rate-limit unreachable
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
l2tp-class tsd2henry
hostname xxx
!
!
multilink bundle-name authenticated
!
!
!
!
!
redundancy
!
no cdp log mismatch duplex
!
ip tcp synwait-time 5
pseudowire-class tsd2henry
encapsulation xxx
sequencing both
protocol xxx xxx
ip local interface GigabitEthernet0/0
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.11.144 255.255.255.0
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
media-type rj45
xconnect 192.168.11.133 1 encapsulation xxxx pw-class tsd2henry

For now, when us checked the packets on our site, the error code will be displayed "Length is wrong".
And the error message will be displayed "Protocol version :expected at least 8, got 24
Have any ideas to reslove this situation ?
By the way, could we reduce the support pseudowire type on the Cisco router ?

Regards,
Henry

1 Accepted Solution

Accepted Solutions

interworking 

 

R1(config)#pseudowire-class mhm2
R1(config-pw-class)#en
R1(config-pw-class)#encapsulation d
R1(config-pw-class)#encapsulation l
R1(config-pw-class)#encapsulation l2tpv3
R1(config-pw-class)#p
R1(config-pw-class)#prt
R1(config-pw-class)#pro
R1(config-pw-class)#protocol l
R1(config-pw-class)#protocol l2tpv3
R1(config-pw-class)#?
Pseudowire-class configuration commands:
default Set a command to its defaults
encapsulation Data encapsulation method
exit Exit from Pseudowire-class configuration mode
interworking Interworking options for pseudowire
ip Specify IP parameters
no Negate a command or set its defaults
preferred-path Preferred path
protocol Signaling protocol to use
sequencing Sequencing options for pseudowire
status Pseudowire status capabilities

R1(config-pw-class)#in
R1(config-pw-class)#interworking ?
ethernet Ethernet interworking
ip IP interworking
vlan VLAN interworking

R1(config-pw-class)#interworking

View solution in original post

10 Replies 10

Remove sequence command' and check again.

Hi @MHM Cisco World ,
The problem still exist.
We still can't establish the L2TPv3 tunnel.
And the error message is the same.

Regards,
Henry

I will run lab do same config you use and check result 
can you share the config of other side ??

I do lab use same config you use and I success no error 
can you share 
show l2tp session all 
show l2tp tunnel all 
for both Peer 

Hi @MHM Cisco World ,
Here is the informations for the tunnel and the session.

Router#show l2tp tunnel all

L2TP Tunnel Information Total tunnels 1 sessions 0

Tunnel id 1757361402 is down, remote id is 0, 0 active sessions
Locally initiated tunnel
Tunnel state is Wt-STOPACK, time since change 00:00:00
Tunnel transport is IP (115)
Remote tunnel name is
Internet Address 192.168.11.133, port 0
Local tunnel name is l2tpv3
Internet Address 192.168.11.144, port 0
L2TP class for tunnel is tsd2henry
Counters, taking last clear into account:
0 packets sent, 0 received
0 bytes sent, 0 received
Last clearing of counters never
Counters, ignoring last clear:
0 packets sent, 0 received
0 bytes sent, 0 received
Control Ns 2, Nr 0
Local RWS 1024 (default), Remote RWS 4
Control channel Congestion Control is disabled
Tunnel PMTU checking disabled
Retransmission time 1, max 1 seconds
Unsent queuesize 0, max 0
Resend queuesize 1, max 1
Total resends 2, ZLB ACKs sent 0
Total out-of-order dropped pkts 0
Total out-of-order reorder pkts 0
Total peer authentication failures 0
Current no session pak queue check 0 of 5
Retransmit time distribution: 0 1 1 0 0 0 0 0 0
Control message authentication is disabled
Router#
Router#
Router#
Router#
Router#sho
Router#show l2tp
Router#show l2tp sess
Router#show l2tp session all

%No active L2TP tunnels

Currently, we can only establish tunnels for a few seconds and then the tunnel will be shut down.

Regards,
Henry

Screenshot (338).png
I run lab and try make condition same to get same error 
wt-STOPACK 
and I success 
what I do ?

I change the IP in one side, and tunnel go to wt-STOPACK 
how can I solve this?
you can use LO as IP local.

Hi @MHM Cisco World ,
I seemed to find out the root cause.
Currently, for my other router, it does not seem to support many types of the PSEUDOWIRE capability list.
Therefore, the error message seems to indicate this problem.
May I know that any command can reduce the support pseudowire type on the Cisco router ?

Regards,
Henry


IOU1(config)#pseudowire-class mhm4
IOU1(config-pw-class)#en
IOU1(config-pw-class)#encapsulation l
IOU1(config-pw-class)#encapsulation l2tpv3
IOU1(config-pw-class)#pr
IOU1(config-pw-class)#protocol l
IOU1(config-pw-class)#protocol l2tpv3
IOU1(config-pw-class)#ip pro
IOU1(config-pw-class)#ip protocol ?
l2tp L2TP over IP (protocol 115)
udp L2TP over UDP
uti Legacy UTI mode (protocol 120)

IOU1(config-pw-class)#ip protocol

Hi @MHM Cisco World ,
Thanks for your information.
But the part I mentioned is Pseudowire Capability List AVP.
May I configure Cisco router to support only Ethernet and Ethernet VLAN ?

henryhuang19980506_0-1677814470175.png

Regards,
Henry

 

interworking 

 

R1(config)#pseudowire-class mhm2
R1(config-pw-class)#en
R1(config-pw-class)#encapsulation d
R1(config-pw-class)#encapsulation l
R1(config-pw-class)#encapsulation l2tpv3
R1(config-pw-class)#p
R1(config-pw-class)#prt
R1(config-pw-class)#pro
R1(config-pw-class)#protocol l
R1(config-pw-class)#protocol l2tpv3
R1(config-pw-class)#?
Pseudowire-class configuration commands:
default Set a command to its defaults
encapsulation Data encapsulation method
exit Exit from Pseudowire-class configuration mode
interworking Interworking options for pseudowire
ip Specify IP parameters
no Negate a command or set its defaults
preferred-path Preferred path
protocol Signaling protocol to use
sequencing Sequencing options for pseudowire
status Pseudowire status capabilities

R1(config-pw-class)#in
R1(config-pw-class)#interworking ?
ethernet Ethernet interworking
ip IP interworking
vlan VLAN interworking

R1(config-pw-class)#interworking