Cisco Nexus 5500 Series NX-OS Virtual Port Channel Command Reference
A Commands

Table Of Contents

A Commands

abort (switch profile)

auto-recovery


A Commands


This chapter describes the Cisco NX-OS virtual port channel (vPC) commands that begin with A.

abort (switch profile)

To discard the current switch profile configuration, use the abort command.

abort

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Switch profile configuration mode

Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.


Usage Guidelines

Use this command when you want to discard the configuration that is imported to a switch profile.

Examples

This example shows how to discard a configuration on a switch profile named s5010 on switch 1 of the peer:

switch# config sync 
Enter configuration commands, one per line.  End with CNTL/Z.
switch(config-sync)# switch-profile s5010 
Switch-Profile started, Profile ID is 1
switch(config-sync-sp)# import running-config 
switch(config-sync-sp-import)# exit 
switch(config-sync-sp)# abort 
switch(config-sync-sp)# 

Related Commands

Command
Description

commit

Commits a switch profile configuration.

copy running-config startup-config

Copies the running configuration to the startup configuration.

import

Imports a configuration to the switch profile.

show switch-profile buffer

Displays information about the switch profile buffer.

show running-config switch-profile

Displays the running configuration for a switch profile.

verify

Verifies a switch profile configuration.


auto-recovery

To configure the time to restore the virtual port channel (vPC) peer links, use the auto-recovery command. To revert to the default delay value, use the no form of this command.

auto-recovery [reload-delay delay_value]

no auto-recovery [reload-delay delay_value]

Syntax Description

reload-delay

(Optional) Specifies the time to wait before assuming that the vPC peer is dead and to restore the vPC links.

delay_value

Time (in seconds) for restoring the vPC links. The range is from 240 to 3600, and the default is 240.


Command Default

240 seconds

Command Modes

vPC domain configuration mode

Command History

Release
Modification

5.0(2)N2(1)

This command was introduced.


Examples

This example shows how to enable the automatic recovery interval for 240 seconds (the default value) in vPC domain 100:

switch# configuration terminal 
switch(config)# vpc domain 100 
switch(config-vpc-domain)# auto-recovery 
Warning:
 Enables restoring of vPCs in a peer-detached state after reload, will wait for
240 seconds (by default) to determine if peer is un-reachable
switch(config-vpc-domain)# 

This example shows how to set the automatic recovery delay period for 300 seconds in vPC domain 200:

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

Related Commands

Command
Description

vpc domain

Configures a vPC domain.

show running-config vpc

Displays the running configuration information for vPCs.