hit counter script

Importing A Switch Profile - 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
The following example shows an existing configuration with a defined switch profile. The second example
shows how the switch profile command changed by adding the modified command to the switch profile.
switch# show running-config
switch-profile abc
interface Ethernet1/1
switch# config sync
switch(config-sync)# switch-profile abc
switch(config-sync-sp)# interface Ethernet1/1
switch(config-sync-sp-if)# switchport trunk allowed vlan 5-10
switch(config-sync-sp-if)# commit
switch# show running-config
switch-profile abc
interface Ethernet1/1

Importing a Switch Profile

You can import a switch profile based on the set of commands that you want to import. Using the configuration
terminal mode, you can do the following:
• Add selected commands to the switch profile.
• Add supported commands that were specified for an interface.
• Add supported system-level commands.
• Add supported system-level commands excluding the physical interface commands.
When you import commands to a switch profile, the switch profile buffer must be empty.
If new commands are added during the import, the switch profile remains unsaved and the switch remains in
the switch profile import mode. You can enter the abort command to stop the import. For additional information
importing a switch profile, see the "Switch Profile Import Mode" section.
Procedure
Step 1
Step 2
Step 3
OL-31641-01
switchport mode trunk
switchport trunk allowed vlan 1-10
switchport mode trunk
switchport trunk allowed vlan 5-10
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)#
import {interface port/slot | running-config
[exclude interface ethernet]}
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Importing a Switch Profile
Purpose
Enters configuration synchronization mode.
Configures the switch profile, names the switch
profile, and enters switch profile synchronization
configuration mode.
Identifies the commands that you want to import
and enters switch profile import mode.
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents