Cisco Cisco Nexus 5010 Switch Guía De Diseño

Descargar
Página de 119
 
 
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 90 of 119 
Basic Config-Sync Operations 
To enable config-sync, proceed as follows: 
● 
Enable Cisco Fabric Services over IP: cfs ipv4 distribute 
● 
Make sure that the vPC peers can communicate through the mgmt0 interface. 
● 
Create a switch profile. This profile is the wrapper for all configuration changes that need to be 
synchronized. To create this profile, you first need to enter config sync mode (not configuration terminal 
[config t] mode); then create the switch profile. 
● 
Under switch-profile (which is under config sync mode), define the vPC peer with which to synchronize: 
sync-peers destination <mgmt0 IP of peer>
config term 
cfs ipv4 distribute 
config sync 
switch-profile vpc-configAll additional configurations can be performed in config t mode if you do not want to 
synchronize them, or in config sync mode under the switch profile if you want them to be synchronized. All 
configurations require a commit command to synchronize them. 
The following example illustrates the configuration of the uplinks from the Cisco Nexus 5000 Series Switches to the 
Cisco Nexus 7000 Series Switches to make them part of a PortChannel: 
nexus5500-1(config-sync)# show switch-profile 
---------------------------------------------------------- 
Profile-name                               Config-revision 
---------------------------------------------------------- 
vpc-config                                    1 
 
nexus5500-1(config-sync)# switch-profile vpc-config 
Switch-Profile started, Profile ID is 1 
nexus5500-1(config-sync-sp)# int eth1/19-20 
nexus5500-1(config-sync-sp-if-range)# channel-group 21 mode active 
nexus5500-1(config-sync-sp-if-range)# exit 
nexus5500-1(config-sync-sp)# commit 
The preceding configuration works if both Cisco Nexus 5000 Series Switches have to be configured identically for 
ports eth1/19 and eth1/20. If the ports that are used on each vPC peer have different numbers, then you should 
configure the ports to be part of the PortChannel outside the switch profile; then you can configure specific 
PortChannel properties within the switch profile, as clarified in the following example: 
nexus5500-1(config)# int eth1/19-22 
nexus5500-1(config-if-range)# channel-group 21 mode active 
nexus5500-1(config-if-range)# exit 
nexus5500-2(config)# int eth1/19-22 
nexus5500-2(config-if-range)# channel-group 21 mode active 
nexus5500-2(config-if-range)# 
nexus5500-1(config)# config sync  
nexus5500-1(config-sync)# switch-profile vpc-config 
Switch-Profile started, Profile ID is 1