B Commands

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

buffer-delete

To delete commands from a switch profile buffer, use the buffer-delete command.

buffer-delete { sequence-no | all }

 
Syntax Description

sequence-no

ID of the command to be deleted. You can use the hyphen (-) to separate a range of IDs; for example, 10-14.

all

Specifies that all buffered commands be deleted.

 
Command Default

None

 
Command Modes

Switch profile configuration mode

 
Command History

Release
Modifications

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

Use this command if you want to correct the wrong configuration made to the switch profile or you do not want certain configuration commands to be synchronized with the peer after a software upgrade.

Examples

This example shows how to delete buffered commands from the switch profile named s5600 on switch 2 of the peer:

switch# config sync
Enter configuration commands, one per line. End with CNTL/Z.
switch(config-sync)# switch-profile s5600
Switch-Profile started, Profile ID is 1
switch(config-sync-sp)# show switch-profile s5010 buffer
----------------------------------------------------------
Seq-no Command
----------------------------------------------------------
1 interface ethernet 1/1
1.1 switchport mode trunk
1.2 speed 1000
2 interface port-channel 102
2.1 vpc 1
2.2 switchport mode trunk
 
switch(config-sync-sp)# buffer-delete 2-2.2
switch(config-sync-sp)# show switch-profile s5010 buffer
----------------------------------------------------------
Seq-no Command
----------------------------------------------------------
1 interface ethernet 1/1
1.1 switchport mode trunk
1.2 speed 1000
 
switch(config-sync-sp)#
 

 
Related Commands

Command
Description

buffer-move

Corrects the order of commands in the switch profile buffer.

commit

Applies the commands to the switch configuration.

copy running-config startup-config

Copies the running configuration to the startup configuration.

show switch-profile buffer

Displays information about the switch profile buffer.

verify

Verifies the commands in the switch profile.

buffer-move

To change the order of commands in the switch profile buffer, use the buffer-move command.

buffer-move from-sequence-no to-sequence-no

 
Syntax Description

from-sequence-no

ID of the command to be moved from its current location in the buffer. You can use the hyphen (-) to separate a range of IDs; for example, 10-14.

to-sequence-no

ID of the location where the command is to be moved. You can use the hyphen (-) to separate a range of IDs; for example, 10-14.

 
Command Default

None

 
Command Modes

Switch profile configuration mode

 
Command History

Release
Modifications

6.0(2)N1(1)

This command was introduced.

 
Usage Guidelines

Use this command if you want to change the order and precedence of the configuration commands in the switch profile buffer.

Examples

This example shows how to change the order of buffered commands for the switch profile named s5600 on switch 2 of the peer:

switch# config sync
Enter configuration commands, one per line. End with CNTL/Z.
switch(config-sync)# switch-profile s5600
Switch-Profile started, Profile ID is 1
switch(config-sync-sp)# show switch-profile s5600 buffer
----------------------------------------------------------
Seq-no Command
----------------------------------------------------------
1 interface ethernet 1/1
1.1 switchport mode trunk
1.2 speed 1000
2 interface port-channel 102
2.1 vpc 1
2.2 switchport mode trunk
 
switch(config-sync-sp)# buffer-move 2 1
switch(config-sync-sp)# show switch-profile s5010 buffer
----------------------------------------------------------
Seq-no Command
----------------------------------------------------------
1 interface port-channel 102
1.1 vpc 1
1.2 switchport mode trunk
2 interface ethernet 1/1
2.1 switchport mode trunk
2.2 speed 1000
 
switch(config-sync-sp)#
 

 
Related Commands

Command
Description

buffer-delete

Deletes commands from the switch profile buffer.

commit

Applies the commands to the switch configuration.

copy running-config startup-config

Copies the running configuration to the startup configuration.

show switch-profile buffer

Displays information about the switch profile buffer.

verify

Verifies the commands in the switch profile.