20-33
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 20 Checking Status and Connectivity
Configuring IEEE 802.3ah Ethernet OAM
Specifying the Associated Action for OAM Critical Link Events
You can use the commands in this section to specify the associated action for OAM critical link events
(
critical-event
,
dying-gasp
, or
link-fault
) on the specified ports. The default is
warning
. If you specify
the
dying-gasp
keyword, the
errordisable
option is not available.
The
error-block
action sets the port to blocking state when a remote link failure flag is received and
continues to monitor the link status flag. The error-block action then automatically changes the port to
forwarding state whenever the remote link becomes operational.
To specify the associated action for OAM critical link events on the specified ports, perform this task in
privileged mode:
This example shows how to specify the associated action for OAM critical link events on the specified
port:
Console> (enable)
set port ethernet-oam 3/1 link-fault action errdisable
Successfully updated OAM link-fault action on port(s) 3/1.
Console> (enable)
This example shows how to set the critical link event action to error-block for a port:
Console> (enable)
set port ethernet-oam 3/2 critical-event action error-block
Successfully updated OAM critical-event action on port(s) 3/2.
Clearing Ethernet OAM Statistics and the Ethernet OAM Configuration
To clear OAM statistics and OAM-related configurations on all ports or individual ports, perform this
task in privileged mode:
This example shows how to clear the OAM configuration on all ports:
Console> (enable)
clear port ethernet-oam
Successfully cleared OAM config on port(s) 2/1-2,3/1-48,8/1-8.
Console> (enable)
This example shows how to clear the OAM configuration from a specific port:
Console> (enable)
clear port ethernet-oam 3/1
Successfully cleared OAM config on port(s) 3/1.
Console> (enable)
This example shows how to clear OAM statistics from all ports:
Console> (enable)
clear port ethernet-oam statistics
Task
Command
Specify the associated action for OAM critical
link events on the specified ports.
set port ethernet-oam
mod/port
{
critical-event
|
dying-gasp
1
|
link-fault
}
action
{
errordisable
|
none
|
warning | error-block
}
1.
Does not support
errordisable
and
error-block
.
Task
Command
Clear OAM statistics and OAM-related
configurations on all ports or individual ports.
clear port ethernet-oam
[
mod/port
] [
statistics
]