PurposeCommand or Action
(Optional)
Views the switch profile on the local switch
and the peer switch information.
show switch-profile name status
Example:
switch(config-sync-sp)# show
switch-profile abc status
switch(config-sync-sp)#
Step 6
Exits the switch profile configuration mode
and returns to EXEC mode.
exit
Example:
switch(config-sync-sp)# exit
switch#
Step 7
(Optional)
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 8
The following example shows how to configure a switch profile and shows the switch profile status.
switch# configuration terminal
switch(config)# cfs ipv4 distribute
switch(config-sync)# switch-profile abc
switch(config-sync-sp)# sync-peers destination 10.1.1.1
switch(config-sync-sp)# show switch-profile abc status
Start-time: 15801 usecs after Mon Aug 23 06:21:08 2010
End-time: 6480 usecs after Mon Aug 23 06:21:13 2010
Profile-Revision: 1
Session-type: Initial-Exchange
Peer-triggered: Yes
Profile-status: Sync Success
Local information:
----------------
Status: Commit Success
Error(s):
Peer information:
----------------
IP-address: 10.1.1.1
Sync-status: In Sync.
Status: Commit Success
Error(s):
switch(config-sync-sp)# exit
switch#
Adding a Switch to a Switch Profile
Enter the sync-peers destination destination IP command in switch profile configuration mode to add the
switch to a switch profile.
Follow these guidelines when adding switches:
•
Switches are identified by their IP address.
•
Destination IPs are the IP addresses of the switches that you want to synchronize.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x    
   OL-31641-01 13
Configuring Switch Profiles
Adding a Switch to a Switch Profile