5-16
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.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...