R3303-HP HSR6800 Routers High Availability Command Reference

6
Ethernet OAM configuration commands
The commands in this chapter are supported only when the SAP module is operating in bridge mode.
display oam
Use display oam to display the information about an Ethernet OAM connection, including connection
status, information contained in Ethernet OAM packet header, and Ethernet OAM packet statistics.
Syntax
display oam { local | remote } [ interface interface-type interface-number ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command 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 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.
Usage guidelines
If you do not specify the interface keyword, this command displays the information about all the Ethernet
OAM connections.
Examples
# Display the information about the Ethernet OAM connection established on the local port
GigabitEthernet 3/0/1.
<Sysname> display oam local interface gigabitethernet 3/0/1
Port : GigabitEthernet3/0/1
Link Status : Up
EnableStatus : Enable
Local_oam_mode : Active Local_pdu : ANY
Local_mux_action : FWD Local_par_action : FWD
OAMLocalFlagsField :