Adding a Switch to a Switch Profile
• The committed switch profile is synchronized with the newly added peers (when they are online) if the
peer switch is also configured with configuration synchronization.
If you want to import a member interface to a switch profile, the port channel including the member
interface must also be present within the switch profile.
Before You Begin
After creating a switch profile on the local switch, you must add the second switch that will be included in
the synchronization.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Cisco Nexus 5000 Series NX-OS System Management Configuration Guide, Release 5.2(1)N1(1)
14
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)#
sync-peers destination destination IP
Example:
switch(config-sync-sp)# sync-peers
destination 10.1.1.1
switch(config-sync-sp)#
exit
Example:
switch(config-sync-sp)# exit
switch#
show switch-profile peer
Example:
switch# show switch-profile peer
copy running-config startup-config
Example:
switch# copy running-config
startup-config
Configuring Switch Profiles
Purpose
Enters configuration synchronization mode.
Configures the switch profile, names the
switch profile, and enters the switch profile
synchronization configuration mode.
Adds a switch to the switch profile.
Exits switch profile configuration mode.
(Optional)
Displays the switch profile peer
configuration.
(Optional)
Copies the running configuration to the
startup configuration.