Manual

Layer 2 Tunnel Protocol Version 3
show l2tun session
135
Cisco IOS Releases 12.0(29)S and 12.2(25)S
Usage Guidelines When you use the show l2tun session command to display information about current L2TPv3 sessions
on the router, you can filter the output as follows:
To filter the output to include only L2TPv3 sessions set up for a specific IP address, enter ip-addr
ip-address in the command.
To filter the output to include only the L2TPv3 session that matches the specified remote IP address
and virtual circuit identifier, enter ip-addr ip-address vcid number in the command.
To filter the output to include only L2TPv3 sessions set up for a specific IP address, enter vcid
number in the command.
Examples The following example shows how to display detailed information about all current L2TPv3 sessions:
Router# show l2tun session all
Session Information Total tunnels 0 sessions 1
Session id 111 is up, tunnel id 0
Call serial number is 0
Remote tunnel name is
Internet address is 10.0.0.1
Session is manually signalled
Session state is established, time since change 00:06:05
0 Packets sent, 0 received
0 Bytes sent, 0 received
Receive packets dropped:
out-of-order: 0
total: 0
Send packets dropped:
exceeded session MTU: 0
total: 0
Session vcid is 123
Session Layer 2 circuit, type is ATM VPC CELL, name is ATM3/0/0:1000007
Circuit state is UP
Remote session id is 222, remote tunnel id 0
DF bit off, ToS reflect disabled, ToS value 0, TTL value 255
Session cookie information:
local cookie, size 8 bytes, value 00 00 00 00 00 00 00 64
remote cookie, size 8 bytes, value 00 00 00 00 00 00 00 C8
SSS switching enabled
Sequencing is off
The following example shows how to display information only about the L2TPv3 session set up on a
peer PE router with an IP address of 172.18.184.142 and a virtual circuit identifier of 300:
Router# show l2tun session all ip-addr 172.18.184.142 vcid 300
L2TP Session
Session id 32518 is up, tunnel id 35217
Call serial number is 2074900020
Remote tunnel name is tun1
Internet address is 172.18.184.142
Session is L2TP signalled
Session state is established, time since change 03:06:39
9932 Packets sent, 9932 received
1171954 Bytes sent, 1171918 received
Session vcid is 300
Session Layer 2 circuit, type is Ethernet Vlan, name is FastEthernet0/1/0.3:3
Circuit state is UP