capabilities-conflict
To configure what action is taken on an interface when a capabilities-conflict event occurs, use the capabilities-conflict command in Ethernet OAM action configuration mode or interface Ethernet OAM action configuration mode. To remove the configuration, use the no form of this command.
capabilities-conflict {disable | efd | error-disable-interface | log}
no 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 action configuration only) Creates a syslog entry when a capabilities-conflict event occurs. This action is available in Interface Ethernet OAM action configuration mode to override the profile setting and log the event for the interface when it occurs. |
Command Default
The default action is to create a syslog entry.
Command Modes
Ethernet OAM action configuration (config-eoam-action)
Interface Ethernet OAM action configuration (config-if-eoam-action)
Supported User Roles
network-admin
vdc--‐admin
network--‐operator
vdc-operator
Command History
Release | Modification |
---|---|
7.3(0)D1(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
The following example shows how to configure that no action is performed on the interface when a critical-event notification is received:
switch# configure terminal
switch(config)# ethernet oam profile Profile_1
switch(config-eoam)# action
switch(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:
switch# configure terminal
switch(config)# ethernet oam profile Profile_1
switch(config-eoam)# action
switch(config-eoam-action)# critical-event error-disable-interface
The following example shows how to configure that a syslog is created when a critical-event notification is received:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# ethernet oam
switch(config-if-eoam)# action
switch(config-if-eoam-action)# critical-event log