Adding Or Modifying Switch Profile Commands - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring Switch Profiles

Adding or Modifying Switch Profile Commands

To modify a command in a switch profile, add the modified command to the switch profile and enter the
commit command to apply the command and synchronize the switch profile to the peer switch if it is reachable.
Follow these guidelines when adding or modifying switch profile commands:
• Commands that are added or modified are buffered until you enter the commit command.
• Commands are executed in the same order in which they are buffered. If there is an order-dependency
Before You Begin
After configuring a switch profile on the local and the peer switch, you must add and commit the supported
commands to the switch profile. The commands are added to the switch profile buffer until you enter the
commit command. The commit command does the following:
• Triggers the mutex check and the merge check to verify the synchronization.
• Creates a checkpoint with a rollback infrastructure.
• Applies the configuration on the local switch and the peer switch.
• Executes a rollback on all switches if there is a failure with an application on any of the switches in the
• Deletes the checkpoint.
Procedure
Step 1
Step 2
Step 3
OL-31641-01
for certain commands, for example, a QoS policy must be defined before being applied, you must
maintain that order; otherwise, the commit might fail. You can use utility commands, such as the show
switch-profile name buffer command, the buffer-delete command, or the buffer-move command, to
change the buffer and correct the order of already entered commands.
switch profile.
Command or Action
config sync
Example:
switch# config sync
switch(config-sync)#
switch-profile name
Example:
switch(config-sync)# switch-profile abc
switch(config-sync-sp)#
Command argument
Example:
switch(config-sync-sp)# interface
Port-channel100
switch(config-sync-sp-if)# speed 1000
switch(config-sync-sp-if)# interface
Ethernet1/1
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Adding or Modifying Switch Profile Commands
Purpose
Enters configuration synchronization mode.
Configures the switch profile, names the
switch profile, and enters switch profile
synchronization configuration mode.
Adds a command to the switch profile.
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents