Examples
The following example shows how to configure that no action is performed on the interface when a connection
timeout occurs.
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 discovery-timeout disable
The following example shows how to configure putting the interface into the line-protocol-down state when
a connection timeout occurs.
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 discovery-timeout efd
The following example shows how to configure that the interface is put into the error-disable state when a
connection timeout occurs.
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 discovery-timeout error-disable-interface
The following example shows how to configure that a syslog entry is created when a connection timeout
occurs. 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 discovery-timeout 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
140
Ethernet OAM Commands on the Cisco ASR 9000 Series Router
action discovery-timeout