Reset Oam - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Default Level
2: System level
Parameters
active: Specifies the active Ethernet OAM mode.
passive: Specifies the passive Ethernet OAM mode.
Description
Use the oam mode command to set the Ethernet OAM operating mode for an Ethernet port.
By default, an Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode.
Note that, to change the Ethernet OAM operating mode of an Ethernet OAM-enabled Ethernet port,
you need to disable Ethernet OAM on the port first..
Related commands: oam enable.
Examples
# Disable Ethernet OAM on Gigabitethernet 1/0/1, and then configure Gigabitethernet 1/0/1 to operate
in passive Ethernet OAM mode.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo oam enable
[Sysname-GigabitEthernet1/0/1] oam mode active

reset oam

Syntax
reset oam [ interface interface-type interface-number ]
View
User view
Default Level
2: System level
Parameters
interface interface-type interface-number: Specify a port by its type and number.
Description
Use the reset oam command to clear the statistics on Ethernet OAM packets and Ethernet OAM link
error events of an Ethernet port.
If you do not specify the interface keyword, this command clears the statistics on Ethernet OAM
packets and Ethernet OAM link error events of all the ports.
Related commands: display oam, display oam link-event.
Examples
# Clear the statistics on Ethernet OAM packets and Ethernet OAM link error events of all the ports.
5-16

Advertisement

Table of Contents
loading

Table of Contents