PurposeCommand or Action
Peer information:
----------------
IP-address: 10.1.1.1
Sync-status: In Sync.
Status: Commit Success
Error(s):
Add the configuration commands to the switch profile on the local switch. The commands
will be applied to the peer switch when the commands are committed.
Step 4
Example:
switch(config-sync-sp)# class-map type qos c1
switch(config-sync-sp-cmap-qos)# match cos 2
switch(config-sync-sp-cmap-qos)# class-map type qos c2
switch(config-sync-sp-cmap-qos)# match cos 5
switch(config-sync-sp-cmap-qos)# policy-map type qos p1
switch(config-sync-sp-pmap-qos)# class c1
switch(config-sync-sp-pmap-c-qos)# set qos-group 2
switch(config-sync-sp-pmap-c-qos)# class c2
switch(config-sync-sp-pmap-c-qos)# set qos-group 3
switch(config-sync-sp-pmap-c-qos)# system qos
switch(config-sync-sp-sys-qos)# service-policy type qos input p1
switch(config-sync-sp-sys-qos)# vlan 1-50
switch(config-sync-sp-vlan)# interface port-channel 100
switch(config-sync-sp-if)# vpc peer-link
switch(config-sync-sp-if)# switchport mode trunk
switch(config-sync-sp-if)# interface port-channel 10
switch(config-sync-sp-if)# vpc 1
switch(config-sync-sp-if)# switchport mode trunk
switch(config-sync-sp-if)# switchport trunk allowed vlan 1, 10-50
View the buffered commands.
Step 5
Example:
switch(config-sync-sp-if)# show switch-profile switch-profile buffer
----------------------------------------------------------
Seq-no Command
----------------------------------------------------------
1 class-map type qos match-all c1
1.1 match cos 2
2 class-map type qos match-all c2
2.1 match cos 5
3 policy-map type qos p1
3.1 class c1
3.1.1 set qos-group 2
3.2 class c2
3.2.1 set qos-group 3
4 system qos
4.1 service-policy type qos input p1
5 vlan 2-50
6 interface port-channel100
6.1 vpc peer-link
6.2 switchport mode trunk
7 interface port-channel10
7.1 vpc 1
7.2 switchport mode trunk
7.3 switchport trunk allowed vlan 1, 10-50
Verify the commands in the switch profile.
Step 6
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 25
Configuring Switch Profiles
Creating a Switch Profile on a Local and Peer Switch Example