action dying-gasp
Examples
The following example shows how to configure that no action is performed on the interface when a dying-gasp
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 dying-gasp disable
The following example shows how to configure that the interface is put into the error-disable state when a
dying-gasp 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 dying-gasp error-disable-interface
The following example shows how to configure that a syslog entry is created when a dying-gasp 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 dying-gasp log
Related Commands
Command
ethernet oam profile, on page 215
ethernet oam, on page 212
profile (EOAM), on page 299
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
142
Ethernet OAM Commands on the Cisco ASR 9000 Series Router
Description
Creates an EOAM profile and enters EOAM configuration mode.
Enables Ethernet Link OAM, with default values, on an interface
and enter interface Ethernet OAM configuration mode.
Attaches an Ethernet OAM profile to an interface.