clear l2vpn counters l2tp
To clear L2VPN statistical information, such as, packets dropped, use the clear l2vpn counters l2tp command
in EXEC mode.
clear l2vpn counters l2tp [neighbor ip-address [pw-id value]]
Syntax Description
Clears all L2TP counters.l2tp
(Optional) Clears all L2TP counters for the specified neighbor.
neighbor ip-address
(Optional) Configures the pseudowire ID. The range is from 1 to
4294967295.
pw-id value
Command Default
None
Command Modes
EXEC
Command History
ModificationRelease
This command was introduced.Release 3.4.0
The pw-id keyword was added.Release 3.7.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to clear all L2TP counters:
RP/0/0/CPU0:router# clear l2vpn counters l2tp
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
OL-28460-01 17
Virtual Private Network Commands
clear l2vpn counters l2tp