Thursday, 2 June 2016

Configure vPC+ to Cisco UCS

In DC2, Configure vPC domain 20 between DC2-N5K-1 and DC2-N5K-2 Perform these tasks:
1.Make sure that N5K-1 is always the vPC primary switch. 2.Use port channel ID 200 for the vPC peer link.
3.Do not add any new Layer 3 interfaces. 4.Use switch ID value 70.
5.Use port channel ID 10 toward Fabric Interconnect A (FI-A) 6.Use port channel ID 20 toward Fabric Interconnect B (FI-B)
  1. Port channels to Cisco UCS should be configured as IEEE 802.1Q trunk interfaces that allow only VLANs 30, 40, 70, and 71.
  2. Make sure that port channels 10 and 20 come up without waiting for the standard forward-time delay.
  3. In few months, our server team will connect a single-leg server on VLAN 300 that is connected to N5K-2. Make sure that the interface does not go down in a dual-active scenario.
  4. Make sure the vPC peer devices are the primary devices on LACP and use

priority value 2500.
DC2-N5K-1(config)# feature vpc DC2-N5K-1(config)# feature lacp DC2-N5K-1(config)# vpc domain 20
DC2-N5K-1(config-vpc-domain)# role priority 1

DC2-N5K-1(config-vpc-domain)# system-priority 2500 DC2-N5K-1(config-vpc-domain)# fabricpath switch-id 70
Configuring fabricpath switch id will flap vPCs. Continue (yes/no)? [no] yes

DC2-N5K-1(config-vpc-domain)# peer-kee    des 10.1.1.42 so 10.1.1.41 vrf management DC2-N5K-1(config)# int port-channel 200
DC2-N5K-1(config-if)# vpc peer-link DC2-N5K-1(config-if)# no shutdown DC2-N5K-1(config)# int e1/6
DC2-N5K-1(config-if)# channel-group 10 mode active DC2-N5K-1(config-if)# no shutdown
DC2-N5K-1(config-if)# int port-channel 10 DC2-N5K-1(config-if)# switchport
DC2-N5K-1(config-if)# sw mode trunk

DC2-N5K-1(config-if)# sw trunk allowed vlan 30,40,70,71 DC2-N5K-1(config-if)# spanning-tree port type edge trunk DC2-N5K-1(config-if)# vpc 10
DC2-N5K-1(config-if)# no shutdown



DC2-N5K-1(config-if)# int e1/7

DC2-N5K-1(config-if)# channel-group 20 mode active DC2-N5K-1(config-if)# no shutdown
DC2-N5K-1(config-if)# int port-channel 20 DC2-N5K-1(config-if)# switchport
DC2-N5K-1(config-if)# sw mode trunk


DC2-N5K-1(config-if)# sw trunk allowed vlan 30,40,70,71 DC2-N5K-1(config-if)# spanning-tree port type edge trunk DC2-N5K-1(config-if)# vpc 20
DC2-N5K-1(config-if)# no shutdown



DC2-N5K-2(config)#vlan 300 DC2-N5K-2(config)# feature vpc DC2-N5K-2(config)# feature lacp
DC2-N5K-2(config)# vpc domain 20

DC2-N5K-2(config-vpc-domain)# system-priority 2500 DC2-N5K-2(config-vpc-domain)# fabricpath switch-id 70
DC2-N5K-2(config-vpc-domain)# dual-active exclude interface-vlan 300

DC2-N5K-2(config-vpc-domain)# peer-kee de 10.1.1.41 so 10.1.1.42 vrf management DC2-N5K-2(config-vpc-domain)# int port-channel 200
DC2-N5K-2(config-if)# vpc peer-link DC2-N5K-2(config-if)# no shutdown


DC2-N5K-2(config)# int e1/7

DC2-N5K-2(config-if)# channel-group 10 mode active DC2-N5K-2(config-if)# no shutdown
DC2-N5K-2(config-if)# int port-channel 10 DC2-N5K-2(config-if)# switchport
DC2-N5K-2(config-if)# sw mode trun

DC2-N5K-2(config-if)# sw trunk allowed vlan 30,40,70,71 DC2-N5K-2(config-if)# spanning-tree port type edge trunk DC2-N5K-2(config-if)# vpc 10
DC2-N5K-2(config-if)# no shutdown


DC2-N5K-2(config-if)# int e1/6

DC2-N5K-2(config-if)# channel-group 20 mode active DC2-N5K-2(config-if)# no shutdown
DC2-N5K-2(config-if)# int port-channel 20 DC2-N5K-2(config-if)# switchport
DC2-N5K-2(config-if)# sw mode trunk

No comments:

Post a Comment