reset oam

Use reset oam to clear the statistics of Ethernet OAM packets and Ethernet OAM link error events for an Ethernet port.

Syntax

reset oam [ interface interface-type interface-number ]

Views

User view

Predefined user roles

network-admin

Parameters

interface interface-type interface-number: Specifies a port by its type and number.

Usage guidelines

If you do not specify the interface keyword, the command clears the statistics of Ethernet OAM packets and Ethernet OAM link error events for all the ports.

Examples

# Clear the statistics of Ethernet OAM packets and Ethernet OAM link error events for all the ports.

<Sysname> reset oam

Related commands