Technical Documentation

clear services l2tp session

Syntax

clear services l2tp session (all statistics | interface sp-fpc/pic/port | local-gateway gateway-address | local-gateway-name gateway-name | local-session-id session-id <statistics> | local-tunnel-id tunnel-id | peer-gateway gateway-address | peer-gateway-name gateway-name | statistics (all | local-session-id session-id | user username) | tunnel-group group-name | user username  <statistics>)

Release Information

Command introduced before Junos OS Release 7.4.

Description

(M10i and M7i routers only) Close Layer 2 Tunneling Protocol (L2TP) sessions, or clear session statistics.

Options

all statistics

Clear statistics for all L2TP sessions.

interface sp-fpc/pic/port

Clear statistics for only the L2TP tunnels using the specified adaptive services interface.

local-gateway gateway-address

Clear statistics for only the L2TP tunnels that have the specified local gateway address.

local-gateway-name gateway-name

Clear statistics for only the L2TP tunnels that have the specified local gateway name.

local-session-id session-id <statistics>

Identifier for the local endpoint of the L2TP session. Close the specified L2TP session, or, using the statistics keyword with this option, clear statistics for the specified session.

local-tunnel-id tunnel-id

Clear statistics for only the L2TP tunnels that have the specified local tunnel identifier.

peer-gateway gateway-address

Clear statistics for only the L2TP tunnels that have the specified peer gateway address.

peer-gateway-name gateway-name

Clear statistics for only the L2TP tunnels that have the specified peer gateway name.

statistics (all | local-session-id session-id | user username)

Clear all session statistics, clear statistics for the session using a specific local endpoint, or clear statistics for the session with a specific username.

tunnel-group group-name

Clear statistics for only the L2TP tunnels that have the specified tunnel group.

user username <statistics>

Username. Close the session for the specified username, or using the statistics keyword with this option, clear statistics for the session.

Required Privilege Level

view

List of Sample Output

clear services l2tp session statistics all

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear services l2tp session statistics all

user@host> clear services l2tp session statistics all
  Session 26497 statistics cleared

Published: 2010-07-14

Help
|
My Account
|
Log Out