02 FP Nexus
02 FP Nexus
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1
Nexus Switching Functions and Configuration
Agenda:
• Nexus Switching for FlexPod
Nexus 5000 Functions in FlexPod
Logical Topology Diagrams for FlexPod Models
5500 Data and Storage Features in FlexPod
• Nexus 5500 Data Networking
Base setup
vPC Setup
Optimize and Verify
• Nexus 5500 Storage Networking
UCS FC Ports and VSANs
NetApp FCoE Configuration
Fibre Channel Aliasing and Zoning
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
FCoE and 10 GbE Based Architecture
Cisco UCS
• Redundant Fabric Interconnects
• FEX-connected blade chassis
• FC, FCoE, iSCSI, NAS Storage
Access
• 10 Gig Ethernet port channel data
Nexus 5500
• Redundant Data and Storage
Switching Fabric
• FC, FCoE, iSCSI, NAS
Connectivity
NetApp FAS
• Redundant Controllers
• FC, FCoE, iSCSI, NAS
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Fibre Channel and 10 GbE Based Architecture
Cisco UCS
• Redundant Fabric Interconnects
• FEX-connected blade chassis
• FC, FCoE, iSCSI, NAS Storage
Access
• 10 Gig Ethernet port channel data
Nexus 5500
• Redundant Data and
Storage Switching
Fabric
• FC, FCoE, iSCSI, NAS
Connectivity
NetApp FAS
• Redundant Controllers
• FC, FCoE, iSCSI, NAS
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
High Availability Switching of Data and Storage Traffic
To Data Center
Aggregation or
Network Core
Nexus 5500
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
FCoE and 10 GbE Based Architecture
NetApp Array:
• Ethernet attached to Nexus 5500 with 10 Gig
port channels
• Storage access via FCoE encapsulation, or
IP-based (iSCSI, NAS)
• Both controllers linked to both SAN Fabrics
Nexus 5500:
• Switches FC encapsulated traffic on the UCS
links to FCoE encapsulation on the NetApp
side
• Ethernet connectivity supports data traffic, IP-
based storage traffic (iSCSI, NAS)
Nexus 5500:
• Switches FC traffic on the UCS links to FC
encapsulated links on the NetApp side
• Ethernet connectivity supports data traffic and
any IP-based storage traffic (iSCSI, NAS)
Fabric Interconnect
Not Active on Nexus Out of Band Mgmt
10/100/1000 USB Flash
Power Supply Fan Module Fan Module Fan Module Fan Module
DRAM
10 Gig CPU Intel DDR3
Jasper
Forest South
Gen 2 UPC Gen 2 UPC Gen 2 UPC Bridge
Flash
12 Gig
Memory
PCIe x8 NVRAM
Mgmt 0
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Nexus 5500 Hardware
Nexus 5500 Expansion Modules
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Unified Ports – Flexible Ethernet, FCoE and Fibre Channel
Unified Port supports multiple
transceiver types Any Unified Port can be configured as
1G Ethernet Copper/Fibre Ethernet Fibre Channel
Fibre Fibre
10G Ethernet Copper/Fibre Channel or Channel
Traffic Traffic
10G DCB/FCoE Copper/Fibre
1/2/4/8G Fibre Channel
File System File System File System File System File System
Volume
VolumeManager
Manager Volume Manager Volume Manager I/O Redirector I/O Redirector
SCSI Device Driver SCSI Device Driver SCSI Device Driver NFS/CIFS
NFS/CIFS
The Flexibility of FCoE Driver
iSCSI Driver
TCP/IP Stack
iSCSI Driver
TCP/IP Stack
TCP/IP Stack
NIC
TCP/IP Stack
NIC
a Unified Fabric
NIC NIC NIC
Block Block
I/O I/O File I/O
Transport
‘Any RU to Any SAN IP IP IP IP
Spindle’ NIC NIC NIC NIC
TCP/IP Stack TCP/IP Stack TCP/IP Stack TCP/IP Stack
iSCSI Layer iSCSI Layer File System File System
FCoE Bus Adapter FC HBA Device Driver FC HBA
FC Block I/O FC
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
N-Port Virtualization Forwarding
Server 1 Server 2
VSAN 1 VSAN 1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
• vPC is a Port-channeling feature extending link
aggregation to two separate physical switches
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Applications in FlexPod
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
• vPC peer – a vPC switch, one of a pair
vPC peer vPC peer link • vPC Primary, Secondary – roles assigned by
keepalive link election or using role priority
• Operational Primary or Secondary – current
functional role of a peer after recovering from
a failure (device or connection)
Primary Secondary
• vPC member port – one of a set of ports (port
vPC peer channels) that form a vPC
• vPC – the combined port channel between the
vPC peers and the downstream device
vPC
• vPC peer link – Link used to synchronize state
between vPC peer devices, must be 10GbE.
vPC Also carry multicast/broadcast/flooding traffic,
member and data traffic in case of vPC member port
port failure
• vPC peer keepalive link – the peer keepalive
link between vPC peer switches. It is used to
carry heartbeat packets
• CFS – Cisco Fabric Services protocol, used
for state synchronization and configuration
validation between vPC peer devices
Orphan
Port • Orphan port - Non-vPC member port
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
• Peer Link carries both vPC data and control
traffic between peer switches
• Carries any flooded and/or orphan port traffic
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
• Peer Keep-alive provides and out of band heartbeat Peer Keepalive
between vPC peers can be carried
over the OOB
• Purpose is to detect and resolve roles if a Split Brain
(Dual Active) occurs management
network
• Messages sent on 1 second interval with 5 second
timeout int mgmt 0
• 3 second hold timeout on peer-link loss before triggering
recovery
• Should not be carried over the Peer-Link
• Use the mgmt0 interface in the management VRF
• Can optionally be a dedicated link, 1Gb is adequate (first
16 ports on 5020 are 1/10GE ports)
• 3rd option, use a routed inband connection over L3
infrastructure (using SVI’s in the default VRF)
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
Why vPC and not VSS or Stackwise?
WAN Core FC
Core
Core
L3 Aggregation
L2
Access Edge
vPC enables ‘both’ architectures at the edge (single device models not acceptable to SAN
engineers)
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
Nexus 5500 Series Layer-3 Support
(Outside the scope of FlexPod itself)
160Gbps (240Mpps)
Layer 3 processing
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
“Part I” from Deployment Guide; Base Setup items
The following actions:
• Execute the Cisco Nexus 5548 setup script.
Or set up manually, admin credentials, management interface IP, access
methods (telnet, ssh, snmp)
• Enable the appropriate Cisco Nexus features and licensing.
- feature fcoe
- feature npiv
- feature fport-channel-trunk
- feature lacp
- feature vpc
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
vPC
Domain 20
• Define the vPC Domain
Two switches belong to a vPC Domain
Role priority can control vPC primary function vPC
vPC Domain must be unique, distinct from any vPC Peers Domain 10
adjacent domain
vpc domain 23
role priority 10
Virtual
• Establish physical Peer-Keepalive
Port
Mgmt0 interface, or dedicated SVI Channels
Point to peer’s address, ensure traffic will NOT be
routed over the vPC Peer-Link
peer-keepalive destination 10.61.185.70 source
10.61.185.69
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
vPC
Domain 20
• Create port-channel interfaces
Links to UCS and NetApp systems each assigned to
separate port-channel interfaces
vPC
Use LACP for port-channel definition (mode active) vPC Peers Domain 10
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
vPC
Domain 20
• Use “show vPC” command to ensure
switches are peering
vPC
• Verify individual vPCs are in an “up” vPC Peers Domain 10
state
• To troubleshoot look for either
connectivity issues or configuration Virtual
mismatch Port
Channels
pod1-5548a(config-if)# sh vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
Optimize Layer-2 Switching on Nexus 5500
vPC
Domain 20
• vPC Auto-Recovery
Ensures vPC recovery after outages
Allows single switches to bring vPC’s online vPC
“auto-recovery” command under vPC domain vPC Peers Domain 10
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
Layer-3 Considerations “peer-gateway” command
tells the vPC to respond
to the physical MAC
< This step required if running Layer-3 on Nexus address of its peer
5500 pair, or on upstream vPC switches >
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
Nexus Switching Functions and Configuration
Agenda:
• Nexus Switching for FlexPod
Nexus 5000 Functions in FlexPod
Logical Topology Diagrams for FlexPod Models
5500 Data and Storage Features in FlexPod
• Nexus 5500 Data Networking
Base setup
vPC Setup
Optimize and Verify
• Nexus 5500 Storage Networking
UCS FC Ports and VSANs
NetApp FCoE Configuration
Fibre Channel Aliasing and Zoning
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
UCS-facing Storage Ports, and VSAN assignments
• Create VSANs for fabric "A" or "B" on respective Nexus platform.
Each Nexus 5500 only participates in one of the two VSANs
vsan database
vsan 101 name Fabric_A
• Create necessary SAN port channels to be connected to UCS
Fabric Interconnects. If the NetApp is also FC connected, use
the same procedure for the interfaces connecting the NetApp.
Interface san-port-channel 1
Channel mode active
Interface fc1/29-30
Channel-group 1 force
No shutdown
• Assign to VSAN appropriate FC interfaces.
vsan database
Vsan 101 interface fc1/29-30
Vsan 101 interface san-port-channel 1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
NetApp-facing FCoE VLAN and vPC Port configuration
• Create the FCoE VLAN and map it to the VSAN.
vlan 101
fcoe vsan 101
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 38
Storage Configuration, Aliases, Zoning and Zoneset
< Note, DCNM can also be used to perform these functions through a graphical interface >
• Create device aliases on each Cisco Nexus 5548 for the NetApp
controllers and each service profile using corresponding fabric
PWWN.
device-alias database
device-alias name ice3270-1a_2a pwwn 50:0a:09:81:8d:7d:92:bc
device-alias name ice3270-1b_2a pwwn 50:0a:09:81:9d:7d:92:bc
device-alias name VM-Host-Infra-01_A pwwn 20:00:00:25:b5:01:0a:1f
device-alias name VM-Host-Infra-02_A pwwn 20:00:00:25:b5:01:0a:1e
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 39
Thank you.