A Commands

action

To enter the action configuration submode to configure what action is taken on an interface when a particular event occurs, use the action command in Ethernet OAM configuration mode or interface Ethernet OAM configuration mode.

action

Syntax Description

This command has no keywords or arguments.

Command Default

None

Command Modes

Ethernet OAM configuration (config-eoam)

Interface Ethernet OAM configuration (config-if-eoam)

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 enter the action configuration submode:

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

auto-recovery

To configure the virtual port channel (vPC) for auto recovery if its peer is presumed nonoperational, use the auto-recovery command. To reset the vPC to the standard behavior, use the no form of this command.

auto-recovery reload-delay time-out-value

no auto-recovery reload-delay time-out-value

Syntax Description

reload-delay

Specifies the duration to wait after reload to recovery vPCs.

time-out-value

Timeout value for restoring vPC links in seconds. The range is from 240 to 3600.

Command Default

None

Command Modes

VPC domain configuration mode (config-vpc-domain)

Command History

Release

Modification

5.2(1)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to configure the vPC for auto recovery:


switch# configure terminal
switch(config)# vpc domain 1
switch(config-vpc-domain)# auto-recovery reload-delay 350
Warning:
 Enables restoring of vPCs in a peer-detached state after reload, will wait for
350 seconds to determine if peer is un-reachable
switch(config-vpc-domain)#

This example shows how to revert the vPC to the standard behavior:

switch# configure terminal
switch(config)#  vpc domain 1
switch(config-vpc-domain)# no auto-recovery reload-delay 350
switch(config-vpc-domain)#