The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS virtual port channel (vPC) commands that begin with B.
To delete commands from a switch profile buffer, use the buffer-delete command.
buffer-delete {sequence-no | all}
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. |
None
Switch profile configuration mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
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.
This example shows how to delete buffered commands from the switch profile named s5010 on switch 2 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)# 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)#
To change the order of commands in the switch profile buffer, use the buffer-move command.
buffer-move from-sequence-no to-sequence-no
None
Switch profile configuration mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
Use this command if you want to change the order and precedence of the configuration commands in the switch profile buffer.
This example shows how to change the order of buffered commands for the switch profile named s5010 on switch 2 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)# 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-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)#