Importing Configurations
20
21
...
45
45.1
45.2
45.3
46
46.1
46.2
46.3
47
47.1
47.2
47.3
48
48.1
48.2
48.3
49
49.1
...
89
90
91
92
93
...
105
switch(config-sync-sp-import)#
The following example shows how to import selected supported commands. First, show the port profile
running configuration to identify the configuration that you are going to import.
switch# show running-config port-profile
!Command: show running-config port-profile
!Time: Thu Aug 12 12:09:11 2010
version 5.0(2)N1(1)
port-profile type ethernet pp1
bandwidth 5000
bandwidth inherit
speed 10000
state enabled
switch#
switch# configure sync
Enter configuration commands, one per line.
switch(config-sync)# switch-profile sp
Switch-Profile started, Profile ID is 1
switch(config-sync-sp)# import
switch(config-sync-sp-import)# port-profile type ethernet pp1
switch(config-sync-sp-import-if)# bandwidth 5000
switch(config-sync-sp-import-if)# bandwidth inherit
switch(config-sync-sp-import-if)# speed 10000
switch(config-sync-sp-import-if)# state enabled
switch(config-sync-sp-import-if)# show switch-profile sp buffer
----------------------------------------------------------
Seq-no
----------------------------------------------------------
1
1.1
1.2
1.3
1.4
switch(config-sync-sp-import-if)# verify
Verification Successful
switch(config-sync-sp-import)# commit
Commit Successful
switch(config-sync)# show running-config switch-profile
Cisco Nexus 5000 Series NX-OS System Management Configuration Guide, Release 5.2(1)N1(1)
32
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet2/4
fex associate 101
switchport mode fex-fabric
channel-group 101
interface Ethernet2/5
fex associate 101
switchport mode fex-fabric
channel-group 101
interface Ethernet2/6
fex associate 101
switchport mode fex-fabric
channel-group 101
interface Ethernet2/7
fex associate 101
switchport mode fex-fabric
channel-group 101
interface Ethernet2/8
fex associate 101
interface Ethernet100/1/32
interface Ethernet100/1/33
interface Ethernet100/1/34
interface Ethernet100/1/35
interface Ethernet100/1/36
interface Ethernet100/1/48
Command
port-profile type ethernet pp1
bandwidth 5000
bandwidth inherit
speed 10000
state enabled
End with CNTL/Z.
Configuring Switch Profiles