Ethernet OAM configuration commands
display oam
Syntax
display oam { local | remote } [ interface interface-type interface-number ] [ | { begin | exclude |
include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
local: Displays the Ethernet OAM connection information of the local end.
remote: Displays the Ethernet OAM connection information of the remote end.
interface interface-type interface-number: Specifies a port by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display oam command to display the information about an Ethernet OAM connection, including
connection status, information contained in the Ethernet OAM packet header, and Ethernet OAM packet
statistics.
If you do not specify the interface keyword, this command displays the information about all Ethernet
OAM connections.
Related commands: reset oam.
Examples
# Display the information about the Ethernet OAM connection established on the local port Ethernet
1/0/1.
<Sysname> display oam local interface ethernet 1/0/1
Port : Ethernet1/0/1
Link Status : Up
EnableStatus : Enable
Local_oam_mode : Active Local_pdu : ANY
Local_mux_action : FWD Local_par_action : FWD
OAMLocalFlagsField :
1