OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Layer 2 Control Protocols Tunneling Commands : clear l2protocol interface counters
clear l2protocol interface counters
This command allows you to clear the counters for numbers of packets peered, discarded and tunneled.
Command Syntax
clear l2protocol interface (IFNAME|) counters (peer|discard|tunnel|tunnel-discard|)
Parameters
peer
Clear stats for Peer protocol packets.
discard
Clear stats for Tunnel protocol packets.
tunnel
Clear stats for Tunnel protocol packets.
tunnel-discard
Clear stats for Tunnel discard protocol packets.
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 3.0.
Examples
# clear l2protocol interface xe1 counters peer
Last modified date: 07/06/2023