W Commands

wiring-conflict

To configure what action is taken on an interface when a wiring-conflict event occurs, use the wiring-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.

wiring-conflict {disable | efd | error-disable-interface | log}

no wiring-conflict {disable | efd | error-disable-interface | log}

Syntax Description

disable

Performs no action on the interface when a wiring-conflict event occurs.

efd

Puts the line protocol into the down state for an interface when a wiring-conflict event occurs. The state is removed when the first packet is received without a conflict.

error-disable-interface

(Interface Ethernet OAM action configuration only) Overrides the profile setting and put the interface into error-disable state when a wiring-conflict event occurs.

log

Creates a syslog entry when a wiring-conflict event occurs.

Command Default

The default action is to put the interface into error-disable state.

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 wiring-conflict event occurs:

switch# configure terminal
switch(config)# ethernet oam profile Profile_1
switch(config-eoam)# action
switch(config-eoam-action)# wiring-conflict disable

The following example shows how to configure putting the interface into the line-protocol-down state when a wiring-conflict event occurs:

switch# configure terminal
switch(config)# ethernet oam profile Profile_1
switch(config-eoam)# action
switch(config-eoam-action)# wiring-conflict efd

The following example shows how to configure that an interface is put into error-disable state when a wiring-conflict event occurs:

switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# ethernet oam
switch(config-if-eoam)# action
switch(config-if-eoam-action)# wiring-conflict error-disable-interface

The following example shows how to configure that a syslog entry is created when a wiring-conflict event occurs:

switch# configure terminal
switch(config)# ethernet oam profile Profile_1
switch(config-eoam)# action
switch(config-eoam-action)# wiring-conflict log