action capabilities-conflict
To configure what action is taken on an interface when a capabilities-conflict event occurs, use the action capabilities-conflict command in Ethernet OAM configuration mode or interface Ethernet OAM configuration mode. To return to the default, use the no form of this command.
action capabilities-conflict {disable | efd | error-disable-interface | log}
Syntax Description
disable |
Performs no action on the interface when a capabilities-conflict event occurs. |
efd |
Puts the line protocol into the down state for an interface when a capabilities-conflict event occurs. The state is removed when the first packet is received without a conflict. |
error-disable-interface |
Puts the interface into the error-disable state when a capabilities-conflict event occurs. |
log |
Creates a syslog entry when a capabilities-conflict event occurs. |
Command Default
The default action is to create a syslog entry.
Command Modes
Ethernet OAM configuration (config-eoam)
Interface Ethernet OAM configuration (config-if-eoam)
Command History
Release |
Modification |
---|---|
Release 3.9.0 |
This command was introduced. |
Release 4.0.0 |
The efd keyword was added. |
Release 6.1.2 |
Removed restriction disallowing default value (log) in Ethernet OAM configuration mode. |
Usage Guidelines
No specific guidelines impact the use of this command.
Task ID
Task ID |
Operations |
---|---|
ethernet-services |
read, write |
Examples
The following example shows how to configure that no action is performed on the interface when a capabilities-conflict event 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 capabilities-conflict disable
The following example shows how to configure putting the interface into the line-protocol-down state when a capabilities-conflict event 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 capabilities-conflict efd
The following example shows how to configure that the interface is put into the error-disable state when a capabilities-conflict event 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 capabilities-conflict error-disable-interface
The following example shows how to configure that a syslog entry is created when a capabilities-conflict event 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 capabilities-conflict log