Руководство По Проектированию для Cisco Cisco Nexus 5010 Switch
© 2012 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 24 of 32
Advertising the Subnet
The configuration is completed by including the subnet in the routing advertisements and making sure that the
VLANs used for server connectivity are not used to create neighbor relationship between the aggregation layer
devices. Here’s how to do this:
devices. Here’s how to do this:
interface Vlan50
no shutdown
ip address 10.50.0.251/24
ip ospf passive-interface
ip router ospf 1 area 0.0.0.0
hsrp 50
preempt delay minimum 180
priority 150
timers 1 3
ip 10.50.0.1
L3 Link Between vPC Peers
In vPC designs, you should make sure to include a Layer 3 link or VLAN between the Cisco Nexus 7000 Series so
that the routing areas can be adjacent. You may also consider HSRP tracking in non-vPC design, but not in vPC
designs.
You should, therefore, create a Layer 3 path on the peer link between the routing engine on Agg2 and Agg1
instead of using HSRP tracking:
tc-nexus7k01-vdc2(config)# vlan 3
tc-nexus7k01-vdc2(config-vlan)# name l3_vlan
tc-nexus7k01-vdc2(config-vlan)# exit
tc-nexus7k02-vdc2(config)# int vlan 3
tc-nexus7k02-vdc2(config-if)# ip address 10.3.0.2 255.255.255.252
tc-nexus7k02-vdc2(config-if)# ip router ospf 1 area 0.0.0.0
tc-nexus7k02-vdc2(config-if)# no shut
tc-nexus7k01-vdc2(config)# int Port-channel 10
tc-nexus7k01-vdc2(config-if)# switchport trunk allowed vlan add 3
You can then verify that the Cisco Nexus 7000 Series are OSPF neighbors by issuing the following command:
tc-nexus7k01-vdc2# show ip ospf neigh
OSPF Process ID 1 VRF default
Total number of neighbors: 3
Neighbor ID Pri State Up Time Address Interface
128.0.0.3 1 FULL/DR 01:03:05 10.51.35.126 Vlan10
Fine-Tuning the Design
Ensuring Proper Traffic Distribution with PortChannels
As part of a vPC design, you need to make sure that traffic flows are properly distributed over all the available
forwarding paths. This helps to ensure not only that all links are utilized, but also that all hardware tables in every
redundant network device are programmed correctly, which, in turn, helps to prevent failures. As an example, if all