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}
no 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 |
(Interface Ethernet OAM configuration only) Creates a syslog entry when a capabilities-conflict event occurs. This action is available only in interface Ethernet OAM configuration mode to override the OAM profile on a specific interface. |
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 6.1.42 |
This command was introduced. |
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/RP0:hostname# configure
RP/0/RP0:hostname(config)# ethernet oam profile Profile_1
RP/0/RP0:hostname(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/RP0:hostname# configure
RP/0/RP0:hostname(config)# ethernet oam profile Profile_1
RP/0/RP0:hostname(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/RP0:hostname# configure
RP/0/RP0:hostname(config)# ethernet oam profile Profile_1
RP/0/RP0:hostname(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/RP0:hostname# configure
RP/0/RP0:hostname(config)# interface TenGigE0/1/0/0
RP/0/RP0:hostname(config-if)# ethernet oam
RP/0/RP0:hostname(config-if-eoam)# action capabilities-conflict log