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 local Ethernet OAM connection information.
remote: Displays remote Ethernet OAM connection information.
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 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 display oam to display information about an Ethernet OAM connection, including connection status,
information contained in the Ethernet OAM packet header, and Ethernet OAM packet statistics.
If no interface is specified, this command displays information about all Ethernet OAM connections.
Related commands: reset oam.
Examples
# Display information about the Ethernet OAM connection established on the local port GigabitEthernet
1/0/1.
<Sysname> display oam local interface gigabitethernet 1/0/1
Port
Link Status : Up
EnableStatus
Local_oam_mode
Local_mux_action
OAMLocalFlagsField :
--------------------------------------------------------------------------
Link Fault
: GigabitEthernet1/0/1
: Enable
: Active
: FWD
: 0
Local_pdu
Local_par_action
Dying Gasp
1
: ANY
: FWD
: 0