Examples
The following example shows how to configure that no action is performed on the interface when a critical-event
notification is received.
RP/0/RSP0/CPU0:router#
configure
RP/0/RSP0/CPU0:router(config)#
ethernet oam profile Profile_1
RP/0/RSP0/CPU0:router(config-eoam)#
action critical-event disable
The following example shows how to configure that the interface is put into the error-disable state when a
critical-event notification is received.
RP/0/RSP0/CPU0:router#
configure
RP/0/RSP0/CPU0:router(config)#
ethernet oam profile Profile_1
RP/0/RSP0/CPU0:router(config-eoam)#
action critical-event error-disable-interface
The following example shows how to configure that a syslog entry is created when a critical-event notification
is received. This configuration overrides the interface Ethernet OAM profile.
RP/0/RSP0/CPU0:router#
configure
RP/0/RSP0/CPU0:router(config)#
interface gigabitethernet 0/1/0/0
RP/0/RSP0/CPU0:router(config-if)#
ethernet oam
RP/0/RSP0/CPU0:router(config-if-eoam)#
action critical-event log
Related Commands
Description
Command
Creates an EOAM profile and enters EOAM configuration mode.
ethernet oam profile, on page 215
Enables Ethernet Link OAM, with default values, on an interface
and enter interface Ethernet OAM configuration mode.
ethernet oam, on page 212
Attaches an Ethernet OAM profile to an interface.
profile (EOAM), on page 299
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
138
Ethernet OAM Commands on the Cisco ASR 9000 Series Router
action critical-event