View 
Ethernet port view 
Default level 
2: System level 
Parameters 
None 
Description 
Use the oam loopback reject-request command to configure a port to reject the Ethernet OAM remote 
loopback request from a remote port.  
Use the undo loopback reject-request command to restore the default.  
By default, a port does not reject the Ethernet OAM remote loopback request from a remote port. 
Examples 
# Configure Ethernet 1/0/1 to reject the Ethernet OAM remote loopback request from a remote port.  
<Sysname> system-view 
[Sysname] interface ethernet1/0/1 
[Sysname-Ethernet1/0/1] oam loopback reject-request 
oam mode 
Syntax 
oam mode { active | passive } 
undo oam mode 
View 
Ethernet port view 
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 mode for an Ethernet port.  
Use the undo oam mode command to restore the default. 
By default, an Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode.  
To change the Ethernet OAM 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 Ethernet 1/0/1, and then configure Ethernet 1/0/1 to operate in passive 
Ethernet OAM mode.  
17