- show services l2tp session
- <brief | detail | extensive | statistics>
- <interface sp-fpc/pic/port>
- <local-gateway gateway-address>
- <local-gateway-name gateway-name>
- <local-session-id session-id>
- <local-tunnel-id tunnel-id>
- <peer-gateway gateway-address>
- <peer-gateway-name gateway-name>
- <tunnel-group group-name>
- <user username>
Command introduced before JUNOS Release 7.4.
(M10i and M7i routers only) Display a list of active L2TP sessions.
none — Display standard information about all active L2TP sessions.
brief | detail | extensive | statistics — (Optional) Display the specified level of output. Use the statistics option to display packet and byte counts for each session.
interface sp-fpc/pic/port — (Optional) Display L2TP session information for only the specified adaptive services interface.
local-gateway gateway-address — (Optional) Display L2TP session information for only the specified local gateway address.
local-gateway-name gateway-name — (Optional) Display L2TP session information for only the specified local gateway name.
local-session-id session-id — (Optional) Display L2TP session information for only the specified local session identifier.
local-tunnel-id tunnel-id — (Optional) Display L2TP session information for only the specified local tunnel identifier.
peer-gateway gateway-address — (Optional) Display L2TP session information for only the specified peer gateway address.
peer-gateway-name gateway-name — (Optional) Display L2TP session information for only the specified peer gateway name.
tunnel-group group-name — (Optional) Display L2TP session information for only the specified tunnel group. To display information about L2TP CPU and memory usage, you can include the tunnel group name in the show services service-sets memory-usage group-name and show services service-sets cpu-usage group-name commands.
user username — (Optional) Display L2TP session information for only the specified username.
view
clear services flow-collector statistics
Table 249 lists the output fields for the show services l2tp session command. Output fields are listed in the approximate order in which they appear.
Table 249: show services l2tp session Output Fields
user@host> show services l2tp session Interface: sp-1/2/0, Tunnel group: group1, Tunnel local ID: 8802 Local Remote Interface State Bundle Username ID ID unit 37966 5 2 Established
show services l2tp session extensive
user@host> show services l2tp session extensive Interface: sp-1/2/0, Tunnel group: group1, Tunnel local ID: 62746
Session local ID: 56793, Session remote ID: 53304
State: Established, Bundle ID: 5, Mode: shared
Local IP: 10.128.1.1:1701, Remote IP: 10.128.1.2:1701
Username: usr1@juniper_1.net, Assigned IP address: 10.50.2.1/32
Local MRU: 4000, Remote MRU: 1500, Tx speed: 64000, Rx speed: 64000
Bearer type: 2, Framing type: 1
LCP renegotiation: Off, Authentication: CHAP, Interface ID: unit_20
Interface unit: 20, Call serial number: 4137941434
Policer bandwidth: 64000, Policer burst size: 51200
Firewall filter: f1
Session encapsulation overhead: 16, Session cell overhead: On
Create time: Tue Mar 23 14:13:15 2004, Up time: 01:16:41
Idle time: 00:00:00
Statistics since: Tue Mar 23 14:13:13 2004
Packets Bytes
Control Tx 4 88
Control Rx 2 28
Data Tx 0 0
Data Rx 461 29.0k
Errors Tx 0
Errors Rx 0
Interface: sp-1/2/0, Tunnel group: group_company_dns, Tunnel local ID: 37266
Session local ID: 39962, Session remote ID: 53303
State: Established, Bundle ID: 5, Mode: shared
Local IP: 10.128.11.1:1701, Remote IP: 10.128.11.2:1701
Username: usr1@company.com, Assigned IP address: 10.46.2.3/24
Local name: router-1, Remote name: router-2
Local MRU: 4470, Remote MRU: 4470, Tx speed: 155000000, Rx speed: 155000000
Bearer type: 2, Framing type: 1
LCP renegotiation: Off, Authentication: CHAP, Interface ID: unit_31
Interface unit: 31, Call serial number: 4137941433
Policer bandwidth: 64000, Policer burst size: 51200
Firewall filter: f1
Create time: Tue Mar 23 14:13:17 2004, Up time: 01:16:39
Idle time: 01:16:36
Statistics since: Tue Mar 23 14:13:15 2004
Packets Bytes
Control Tx 6 196
Control Rx 4 150
Data Tx 0 0
Data Rx 1 80
Errors Tx 0
Errors Rx 0