PurposeCommand or Action
Example:
switch(config-sync-sp)# import
ethernet 1/2
switch(config-sync-sp-import)#
• <CR>—Adds selected commands.
• interface—Adds the supported commands for
a specified interface.
• running-config—Adds supported
system-level commands.
•
running-config exclude interface
ethernet—Adds supported system-level
commands excluding the physical interface
commands.
Imports the commands and saves the commands to
the switch profile.
commit
Example:
switch(config-sync-sp-import)# commit
Step 4
(Optional)
Aborts the import process.
abort
Example:
switch(config-sync-sp-import)# abort
Step 5
Exits switch profile import mode.exit
Example:
switch(config-sync-sp)# exit
switch#
Step 6
(Optional)
Displays the switch profile configuration.
show switch-profile
Example:
switch# show switch-profile
Step 7
(Optional)
Copies the running configuration to the startup
configuration.
copy running-config startup-config
Example:
switch# copy running-config
startup-config
Step 8
The following example shows how to import supported system-level commands excluding the Ethernet
interface commands into the switch profile named sp:
switch(config-vlan)# conf sync
switch(config-sync)# switch-profile sp
Switch-Profile started, Profile ID is 1
switch(config-sync-sp)# show switch-profile buffer
switch-profile : sp
----------------------------------------------------------
Seq-no Command
----------------------------------------------------------
switch(config-sync-sp)# import running-config exclude interface ethernet
   Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
18 OL-31641-01   
Configuring Switch Profiles
Importing a Switch Profile