R3303-HP HSR6800 Routers High Availability Command Reference

24
oam mode
Use oam mode to set the Ethernet OAM mode for an Ethernet port.
Use undo oam mode to restore the default.
Syntax
oam mode { active | passive }
undo oam mode
Default
An Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode.
Views
Layer 2 Ethernet port view
Default command level
2: System level
Parameters
active: Specifies the active Ethernet OAM mode.
passive: Specifies the passive Ethernet OAM mode.
Usage guidelines
To change the Ethernet OAM mode of an Ethernet OAM-enabled Ethernet port, you need to disable
Ethernet OAM on the port first.
Examples
# Disable Ethernet OAM on GigabitEthernet 3/0/1, and then configure GigabitEthernet 3/0/1 to
operate in passive Ethernet OAM mode.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] undo oam enable
[Sysname-GigabitEthernet3/0/1] oam mode passive
Related commands
oam enable
oam timer hello
Use oam timer hello to configure the Ethernet OAM handshake packet transmission interval.
Use undo oam timer hello to restore the default.
Syntax
oam timer hello interval
undo oam timer hello
Default
The Ethernet OAM handshake packet transmission interval is 1000 milliseconds.