Navigation
Verifying and Managing L2TP for Subscriber Access
Purpose
View or clear information about L2TP tunnels and sessions.
Action
- To display a summary of L2TP tunnels, sessions, errors,
and control and data packets:user@host> show services l2tp summary
- To display the L2TP destinations:user@host> show services l2tp destination
- To clear all L2TP destinations:user@host> clear services l2tp destination all
- To display the L2TP sessions:user@host> show services l2tp session
- To clear all L2TP sessions, the session with a specified
local session ID, or sessions associated with the local gateway specified
by an IP address or name:user@host>clear services l2tp session alluser@host>clear services l2tp session local-session-id 40553user@host>clear services l2tp session local-gateway 10.1.1.2user@host>clear services l2tp session local-gateway-name lns-mx960
- To clear statistics for all L2TP sessions, the session
with a specified local session ID, or sessions associated with the
local gateway specified by an IP address or name:user@host>clear services l2tp session statistics alluser@host>clear services l2tp session statistics local-session-id 17967user@host>clear services l2tp session statistics local-gateway 10.1.1.2user@host>clear services l2tp session statistics local-gateway-name lns-mx960
- To display the L2TP tunnels:user@host> show services l2tp tunnel
- To clear all L2TP tunnels, the tunnel with a specified
local tunnel ID, or tunnels associated with the local gateway specified
by an IP address or name:user@host> clear services l2tp tunnel alluser@host>clear services l2tp tunnel local-tunnel-id 40553user@host>clear services l2tp tunnel local-gateway 10.1.1.2user@host>clear services l2tp tunnel local-gateway-name lns-mx960
- To clear statistics for all L2TP tunnels, the tunnel with
a specified local tunnel ID, or tunnels associated with the local
gateway specified by an IP address or name:user@host> clear services l2tp tunnel statistics alluser@host>clear services l2tp tunnel statistics local-tunnel-id 40553user@host>clear services l2tp tunnel statistics local-gateway 10.1.1.2user@host>clear services l2tp tunnel statistics local-gateway-name lns-mx960