DCMDS20SG Vol1
DCMDS20SG Vol1
Configuring Cisco
MDS 9000 Series
Switches
Volume 1
Version 2.0
Student Guide
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this
URL: www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a
partnership relationship between Cisco and any other company. (1110R)
DISCLAIMER WARRANTY: THIS CONTENT IS BEING PROVIDED “AS IS” AND AS SUCH MAY INCLUDE TYPOGRAPHICAL,
GRAPHICS, OR FORMATTING ERRORS. CISCO MAKES AND YOU RECEIVE NO WARRANTIES IN CONNECTION WITH THE
CONTENT PROVIDED HEREUNDER, EXPRESS, IMPLIED, STATUTORY OR IN ANY OTHER PROVISION OF THIS CONTENT
OR COMMUNICATION BETWEEN CISCO AND YOU. CISCO SPECIFICALLY DISCLAIMS ALL IMPLIED WARRANTIES,
INCLUDING WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE,
OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. This learning product may contain early release
content, and while Cisco believes it to be accurate, it falls subject to the disclaimer above.
Student Guide © 2014 Cisco and/or its affiliates. All rights reserved.
Students, this letter describes important
course evaluation access information!
Welcome to Cisco Systems Learning. Through the Cisco Learning Partner Program,
Cisco Systems is committed to bringing you the highest-quality training in the industry.
Cisco learning products are designed to advance your professional goals and give you
the expertise you need to build and maintain strategic networks.
Cisco relies on customer feedback to guide business decisions; therefore, your valuable
input will help shape future Cisco course curricula, products, and training offerings.
We would appreciate a few minutes of your time to complete a brief Cisco online
course evaluation of your instructor and the course materials in this student kit. On the
final day of class, your instructor will provide you with a URL directing you to a short
post-course evaluation. If there is no Internet access in the classroom, please complete
the evaluation within the next 48 hours or as soon as you can access the web.
On behalf of Cisco, thank you for choosing Cisco Learning Partners for your
Internet technology training.
Sincerely,
Course Introduction
Overview
Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 is an instructor-led course
presented by Cisco Learning Partners to their end-user customers. This course is a five-day
product training course. This comprehensive hands-on experience familiarizes data center
systems engineers, field engineers, architects, and Cisco partners who implement storage
networking solutions with the Cisco MDS 9000 Series switch platform.
This course covers features on each of the MDS product family of switches including the Cisco
MDS 9100, 9200, 9500, and 9700 Series models and the Fibre Channel, Fibre Channel over
Ethernet (FCoE), and service modules that are supported. Fundamental topics covered by the
course include 8-Gb Fibre Channel, 16-Gb Fibre Channel, Fibre Channel over IP (FCIP),
Internet Small Computer Systems Interface (iSCSI), multihop FCoE, upgrading the Cisco
Nexus Operating System (NX-OS), and the common management tool Cisco Prime Data
Center Network Manager (DCNM).
The course provides comprehensive SAN configuration for features such as interface
configuration, Cisco N-Port Virtualizer (NPV), N-Port ID Virtualizer (NPIV), virtual storage
area network (VSAN) and domain setup, SAN zoning, and SAN extension using FCIP and
Inter-VSAN Routing (IVR).
Topics introduced also include centralized SAN services using the Cisco MDS 9222i
Multiservice Modular Switch and Cisco MDS 9250i Multiservice Fabric Switch for Cisco
MDS 9000 Input/Output Accelerator (IOA) and Data Mobility Manager, management security,
and role-based access control (RBAC).
The goal of this course is to help you understand how you can apply these new technologies to
optimize the scalability, agility, performance, and operational efficiency of your SAN.
Learner Skills and Knowledge
This subtopic lists the skills and knowledge that you must possess to benefit fully from the
course.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3
2 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Course Goal and Objectives
This topic describes the course goal and objectives.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4
Upon completing this course, you will be able to meet these objectives:
Identify the components, services, and features of the MDS 9000 Series switch platform
that can be used to improve the availability, scalability, performance, and manageability of
the SAN
Describe how to install and configure the MDS 9000 Series switch and perform the initial
software configuration process
Explain how to implement the logical topology that is specified by a SAN design, so that
connectivity between end devices can be verified
Describe the traffic management features associated with intelligent network services for
the MDS 9000 Series switches in order to configure basic traffic management services for
the SAN
Describe how to configure FCoE modules on the Cisco MDS 9500 Series Switch
Explain how to implement security so that management access is secure and that only
trusted devices are allowed to connect to the fabric
Describe how to use FCIP to implement appropriate solutions for SAN extension
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—6
The schedule reflects the recommended structure for this course. This structure allows enough
time for the instructor to present the course information and for you to work through the lab
activities. The exact timing of the subject materials and labs depends on the pace of your
specific class.
4 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Additional References
This topic presents icons and symbols that are used in this course, as well as information on
where to find additional technical references.
Router
Cisco Nexus 5000
Series Switch
Firewall
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—8
RAID
PC Subsystem
Laptop Tape
Subsystem
LUN or Disk
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—9
6 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 1
Objectives
Upon completing this lesson, you will be able to describe the MDS 9000 Series switch
platform. This review includes the MDS 9100, 9200, 9500, and 9700 models along with
various modules that run at 1-, 2-, 4-, 8-, and 16-Gbps and FCoE modules. This ability includes
being able to meet these objectives:
Identify components of the MDS 9000 Series platform, including the MDS 9100, 9200,
9500, and 9700 models running 1-, 2-, 4-, 8-, and 16-Gbps Fibre Channel and FCoE
modules
Identify the Cisco MDS 9700 Series director-class switches and components
Describe the Cisco MDS 9500 Series director-class switches and components
Describe the Cisco MDS 9200 Series Multiservice Switch and service modules
Describe the Cisco MDS 9100 Series Fabric Switches
Cisco MDS 9000 Series Platform
This topic describes the components of the MDS 9000 Series platform. The topic includes
descriptions of the MDS 9100, 9200, 9500, and MDS 9700 Series models running 1-, 2-, 4-, 8-,
and 16-Gbps Fibre Channel and FCoE modules.
48-Port 16-Gb
Fibre Channel Module
32-port 1/2/4/8/10-Gbps 18/4 MSM 4 Gb 8-Port FCoE
Advanced Fibre Channel Module MDS 9513
48-Port
48-port 1/2/4/8/10-Gbps Supervisor-2A 10GE FCoE Module
Advanced Fibre Channel Module
SSN-16 Available
MDS 9506, 9513
1HCY14
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-4
Multilayer switches are switching platforms with multiple layers of intelligent features, which
include the following:
High availability
High performance
Scalable architecture
Comprehensive security features
Ease of management
Advanced diagnostics and troubleshooting capabilities
Seamless integration of multiple technologies
Multiprotocol support
The Cisco MDS 9000 Series offers industry-leading investment protection across a
comprehensive product line, featuring a scalable architecture with highly available hardware
and software. Based on the Cisco Nexus Operating System (NX-OS) and a comprehensive
management platform in Cisco Prime Data Center Network Manager (DCNM) for SAN
(DCNM-SAN Client), the MDS 9000 Series offers various application line card modules and a
scalable architecture from an entry-level fabric switch to director-class systems.
1-4 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco MDS 9700 Series Director-Class Switches
and Components
This topic describes the Cisco MDS 9700 Series director-class switches and components.
The Cisco MDS 9710 Multilayer Director provides high performance and is designed with
room for growth.
Resiliency
N:N fabric redundancy design eliminates loss of bandwidth even if a fabric card fails.
Competitive switches lose 50 percent of bandwidth if a fabric card fails. The switch also
enables N:N grid redundancy. You can connect to two separate power grids to keep operating
even if a power grid fails. This switch supports hitless and nondisruptive In-Service Software
Upgrades (ISSUs) to keep the platform fully operational, even while performing updates to
Cisco NX-OS.
Multiprotocol Flexibility
The MDS 9710 Multilayer Director can support both Fibre Channel and FCoE, simultaneously,
in the same chassis. This ability allows customers the flexibility to mix and match, as their
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-5
requirements change. For example, the 48-port 16-Gb line card supports 2-, 4-, 8-, 10-, and 16-
Gb optics.
1-6 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Standard Maximum
MDS 9710 Configuration Configuration
Line Cards 8
Supervisor-1 Modules 2
Fabric Modules 3 6
Power Supplies 6 8
14 RU
Fan Trays 3
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-7
The MDS 9710 Multilayer Director chassis has built-in redundancy to make sure that
performance and throughput are not impacted by any failure. This ability is true provided you
have fully loaded chassis, N:N fabric module redundancy, N:N and N+1 grid redundancy for
power supplies, N:N supervisor modules, a redundant control path, a data path for fan trays,
and so on. Additionally, all hardware components use LED indicators that are easily accessible
and seen. You do not need to remove the cover or unscrew hardware to see LEDs.
Fan Tray 2
Fan Tray 3
Fan Tray 1
Line Card Modules 1–4
Supervisor
Module 5
Supervisor
Module 6
Line Card
Modules 7–10 Power
Modules
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-8
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-7
• New half-width form factor
• 10/100/1000 management port, RJ45 console port, 2 x USB 2.0 ports
Feature Description
Number of Cores 4
Clock Speed 2.1 GHz
Instruction 64 bit
Memory 8 Gb
USB Ports 2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-9
The figure describes the Cisco MDS 9710 Multilayer Director Supervisor-1 Module.
The MDS 9710 Multilayer Director supports a supervisor module that is designed specifically
for the Cisco MDS 9700 Series. This supervisor module provides control and management
functions for the switch and enables high-performance switching.
The supervisor module for the MDS 9710 Multilayer Director supports the following features:
Nondisruptive software upgrades
Stateful process restart and failover
Fully redundant operation
Support for up to 384 Fibre Channel ports in a single chassis and 1152 Fibre Channel ports
in a single rack
Support for up to 24 Tbps of Fibre Channel system bandwidth
Multipathing based on Fabric Shortest Path First (FSPF)
Ability to dynamically reroute traffic in the event of a switch failure
Network management through the CLI and through Cisco DCNM
Extensive security features including RADIUS and TACACS+, Fibre Channel Security
Protocol (FC-SP), Secure FTP (SFTP), Secure Shell (SSH) Protocol, and Simple Network
Management Protocol Version 3 (SNMPv3) implementing Advanced Encryption Standard
(AES), hardware-enforced zoning and per-VSAN role-based access control (RBAC)
Support for virtual SAN (VSAN) technology and Inter-VSAN Routing (IVR)
Network services such as access control lists (ACLs) and quality of service (QoS)
Smart zoning
Power-on self-test (POST) and diagnostics
Switched Port Analyzer (SPAN) and Remote Switched Port Analyzer (RSPAN)
1-8 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• When talking about per-port, slot, or fabric module speeds, you need to
define which speed you are referring to. Are you referring to clocking
rate, encoded rate, or actual data throughput?
• Encoded rates, Fibre Channel or Ethernet, are a function of interface
clock speed and data encoding.
• Data throughput takes into account protocol specific, additional
overhead such as idles and headers in Fibre Channel leaving just the
payload to count.
Data
Clocking Encoding Encoded Rate Throughput
Protocol
(Gbps) Type
Gbps MBps MBps*
8-Gb Fibre
8.500 8b/10b 6.8 850 788
Channel
16-Gb Fibre
14.025 64b/66b 13.6 1700 1581
Channel
* MB/sec here means mega-bytes/second
(1,048,576 bytes/second)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-10
Since Fibre Channel data rates double every time, the speed (clock rate) of 16 Gbps was
reduced due to the lower overhead.
If you do the math, the derived data throughput for 8-Gb Fibre Channel is 8.5 Gbps of clocking
speed with 8b/10b encoding scheme, approximately 25 percent overhead = 8.5 –(8.5* 25%)
=6.8 Gbps or 850 MBps.
Thus the derived data throughput for 16-Gb Fibre Channel is 14.025 Gbps of clocking speed
with 64/66b encoding scheme, approximately 3.125 percent overhead = 14.025 – (14.025
*3.125% )=13.587 Gbps or 1700 MBps.
The math that is involved in calculating the encoded data rate of Fibre Channel involves two
variables, which are clocking speed and encoding schema. Since 16-Gb Fibre Channel uses
64b/66b encoding, there is an approximate overhead of approximately 3 percent. For 16Gb
Fiber Channel, a 3 percent deduction leaves 13.6 Gbps.
Throughput takes into account protocol specific, additional overhead such as idles and headers
in Fibre Channel leaving just the payload to count.
8-Gb Fiber Channel = 788MB/s Throughput (Payload).
Note Since MB/sec here means (1,048,576 bytes/second), 788MB/sec actually equals 826
millions of bytes /sec and 1581MB/sec actually equals 1581 millions of bytes/sec.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-9
• Ethernet interfaces are different because apparent bandwidth equals
actual data bandwidth.
Data
Clocking Encoding Encoded Rate
Protocol Throughput
(Gbps) type
Gbps MBps MB/sec*
8-Gb FC 8.500 8b/10b 6.8 850 788
10-Gb FC 10.51875 64b/66b 9.7 1250 1191
10 GE FCoE 10.3125 64b/66b 9.7 1250 1146
16-Gb FC 14.025 64b/66b 13.6 1600 1581
32-Gb FC 28.050 64b/66b 27.2 3200 3162
40 GE FCoE 41.250 64b/66b 40.0 4800 4584
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-11
Fibre Channel Protocol (FCP) is a high-speed SAN protocol that can support standard speeds
like 1-, 2-, 4-, 8-, and 16-Gbps. FCP can also support 10-Gbps speed. Consider the difference
between 8-Gbps and 10-Gbps Fibre Channel interfaces and the benefits of choosing one over
the other. One benefit of having a 10-Gbps interface is more bandwidth. The 10-Gbps Fibre
Channel interface provides 50 percent more throughput when compared to 8-Gbps Fibre
Channel interfaces. The reason is the clocking speed and encoding schema that is defined for
10-Gbps. As per the 8-Gbps Fibre Channel standard, the schema uses 8.5-Gbps of clocking
speed with an 8b/10b encoding scheme (approximately 25 percent overhead). The 10-Gbps
Fibre Channel standard uses 10.51875 Gbps of clocking speed with 64b/66b encoding scheme
(approximate overhead of 3 percent). Due to this formulation, the actual data rate of 8-Gbps
Fibre Channel interface will provide 6.8-Gbps of actual throughput when compared to 10-Gbps
Fibre Channel interface, which provides 10.2-Gbps.
Consider this statement from Dave Alexander’s blog
(http://www.unifiedcomputingblog.com/2011/01/31/update-on-the-8gb-fc-vs-10gb-fcoe-
discussion/): “...think of how hard drive manufacturers prefer to define a megabyte (1 million
bytes) versus how the rest of the world define[d] a megabyte (2^20 bytes or 1,048,576 bytes).”
1-10 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Each fabric module provides
256 Gbps of Fibre Channel
front-end bandwidth.
• Three fabric modules provide
768 Gbps of Fibre Channel
front-end bandwidth.
• With six fabric modules, the
maximum per-slot bandwidth is
1.536 Tbps Fibre Channel front-
end bandwidth. (2x768 Gbps)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-12
The MDS 9710 Multilayer Director supports up to six crossbar fabric modules. The crossbar
fabric module (DS-X9710-FAB1) is designed specifically for the MDS 9710 Multilayer
Director. The crossbar fabric modules are installed vertically in slots 21 through 26, numbered
from left to right, at the back of the chassis behind the fan trays.
A minimum of three crossbar fabric modules are required to deliver full line rate and bandwidth
for the switch. A fourth crossbar fabric module is required for N+1 protection.
Each crossbar fabric module connects to eight switching modules and two supervisor modules.
In addition, each crossbar fabric module supports four 55-Gbps fabric ports that are connected
to each switching module and one 55-Gbps fabric port that is connected to each supervisor
module.
For more information, visit
http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/hw/9710/overview.html.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-11
• The line rate on a 48-port 16-Gb Fibre Channel module needs only three
fabric cards.
1
Host Ports
2
48-Port 16-Gb
Fibre Channel Module
3
Number Front Panel Fibre FCoE Front Panel Full Line N+1 Fabric
of Fabric Channel Bandwidth Fabric Bandwidth Rate Card
Cards per Slot per Slot Protection 4
1 256 Gbps 220 Gbps No No
Host Ports
2
Fibre Channel,
FCoE Modules 3
1-12 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Fabric modules are located
behind the fan trays.
• Fabric modules are numbered 1
to 6 from left to right when facing 1 2 3 4 5 6
the rear of the chassis.
• When the system is running,
only remove one fan tray at a
time to access the appropriate
fabric modules:
- Fan tray 1: Fabric modules 1–2
- Fan tray 2: Fabric modules 3–4
- Fan tray 3: Fabric modules 5–6
• Fabric modules may be installed
in any slot. A best practice is to
install one module behind each
fan tray. Fabric Module LED is
visible thru Fan Tray.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-15
The figure describes MDS 9710 Multilayer Director fabric module detail.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-13
Cisco 16-Gbps Line Card
Performance 48 x 16-Gbps ports, 768 Gbps Fibre Channel
Port Speeds 2-, 4-, 8-, 10-, and 16-Gbps Fibre Channel
Optics (SFP+) 2-, 4-, and 8-Gb Fibre Channel, 4-, 8-, and 16-Gb Fibre
Channel, 10-Gb Fibre Channel, 10 Gigabit Ethernet (Fibre
Channel with a 10 Gigabit Ethernet clock)
Port Types Fabric (F) port, fabric loop (FL) port, expansion (E) port,
trunking expansion (TE) port, SPAN destination (SD) port,
SPAN tunnel (ST) port
Port Groups Twelve 4-port port groups
Intelligent Capabilities VSAN, IVR, Fibre Channel Redirect
Buffer-to-Buffer Credits Up to 500 per port, 4095 with an Enterprise License (510
km at 16 Gb)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-17
The figure describes the MDS 9710 Multilayer Director 48-port 16-Gb Fibre Channel line card.
1-14 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• 2-, 4-, 8-, 10-, and 16-Gbps Fibre Channel module for MDS 9710
• 4-port port groups
• Up to 384 line-rate 16-Gbps Fibre Channel ports per chassis
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-18
MDS 9710 Multilayer Director 48-Port 16-Gbps Fibre Channel Switching Module: DS-
X9448-768K9
The MDS 9710 Multilayer Director 48-port 16-Gbps Fibre Channel switching module is
designed especially for the MDS 9700 Series. The module delivers line rate 16-Gbps Fibre
Channel performance to enable scalability in virtualized data centers. The MDS 9710
Multilayer Director can have up to 384 line-rate 16-Gbps Fibre Channel ports per chassis. The
MDS 9710 Multilayer Director supports up to eight MDS 9710 Multilayer Director 48-port 16-
Gbps Fibre Channel switching modules. These modules are hot-swappable and compatible with
2-, 4-, 8-, 10-, and 16-Gbps interfaces. The modules support hot-swappable enhanced small
form-factor pluggable (SFP+) transceivers.
The Fibre Channel switching module has twelve 4-port port groups. Each port group is capable
of a speed of 64 Gbps in each direction simultaneously. The ports of this switching module
support expansion port (E Port), fabric port (F Port), fabric loop port (FL Port), SPAN
destination port (SD Port), and trunking expansion port (TE Port) modes.
Individual ports can be configured with Cisco 16-Gbps, 8-Gbps, or 10-Gbps shortwave or long-
wave SFP+ transceivers. Each port supports 500 buffer credits with no additional licensing
required. With the Cisco Enterprise Package, up to 4095 buffer credits can be allocated to an
individual port.
The Fibre Channel switching module also provides Cisco VMpath technology that enables
advanced virtual machine(VM)-aware SAN provisioning and monitoring for virtualized data
centers. With Cisco VMpath, you can monitor, manage, and control SAN resource allocation
and performance on a per-VM basis and map out paths from the server to storage.
The Fibre Channel switching module is hot-swappable and has hot-swappable SFP+
transceivers. The module includes online diagnostics, stateful process restart, and nondisruptive
supervisor failover. In addition, the Fibre Channel switching module has any module, any port
configuration for port channels, fabric-based multipathing, per-VSAN fabric services, and port
tracking. The module also supports Virtual Routing Redundancy Protocol (VRRP) for
management.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-15
The major capabilities of the switching module include the following:
Configuration file management
Nondisruptive software upgrades for Fibre Channel interfaces
Call Home
Power-management LEDs
Port beaconing
System LED
SNMP traps for alerts
Network boot
1-16 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• New form factor 3000 W power
supply module
• Autosensing voltage detection
• Both AC and DC power supplies
are available
• You can mix AC and DC power
supplies in the same chassis
MDS
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-19
The MDS 9710 Multilayer Director provides outstanding availability and reliability. The MDS
9710 Multilayer Director is the first director-class switch in the industry to enable redundancy
on all major components, including the fabric card.
This switch provides grid redundancy on power supply and 1+1 redundant supervisors. Users
can add an additional fabric card to enable N+1 fabric redundancy.
The MDS 9710 Multilayer Director supports the following types of power supplies:
3000-W AC power supply (AC input and DC output)
3000-W DC power supply (DC input and DC output)
You can mix and match AC and DC power supplies in a single chassis.
The MDS 9710 Multilayer Director supports up to eight hot-swappable 3000-W AC power
supplies (AC input) (DS-CAC97-3KW).
When connected to 220 VAC, the DS-CAC97-3KW power supplies for the MDS 9710
Multilayer Director provide output power of 3000 W to power the modules and fans. When
connected to a 110 VAC power system, the power supply provides approximately 1400 W. In
this case, and if the power supplies are used in redundant rather than combined mode, the
power supplies might not provide adequate power. The ability to supply adequate power
depends on the number of modules that are loaded in the chassis.
Each power supply module monitors its output voltage and provides the status to the
supervisor. In addition, the power supply modules provide information about local fans, power,
shutdown control, and EEPROM to the supervisor.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-17
• Maximum MDS 9710 Multilayer
Director configuration requires
three power supplies to operate. Grid A Grid B
• Six power supplies provide grid
redundancy, three per power
grid. Any to Any
• Power supplies can connect to
any grid externally.
Power Power
Distribution Distribution
Unit A Unit B
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-20
The MDS 9710 Multilayer Director requires three power supplies for fully loaded chassis.
More than four power supplies will provide redundancy and reserve power in case of failure.
1-18 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Each fan tray has four variable
speed fans.
• Each fan tray has redundant
power and control paths.
• All fans in a fan tray run at the
same speed. Fans in different
trays can operate at different
speeds as needed. 23.54”
• Under normal operating
temperatures, a single fan tray
can be removed for an extended
period for service.
4.09” 5.15”
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-21
The MDS 9710 Multilayer Director has three fan trays, each with four fans. The fan trays are
installed vertically at the back of the chassis. Each fan tray can be removed temporarily while
the other two fan trays continue to move air through the chassis.
Note A fan tray cannot be left out of chassis for long periods of time.
Fan trays cover the fabric modules in the back of the chassis. Fan tray 1 must be removed to
access fabric modules 1 and 2. Fan tray 2 must be removed to access fabric modules 3 and 4.
Fan tray 3 must be removed to access fabric modules 5 and 6.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-19
Cisco MDS 9500 Series Director-Class Switches
and Components
This topic describes Cisco MDS 9500 Series director-class switches and components.
14 RU
7 RU
The Cisco MDS 9500 Series Multilayer Directors elevate the standard for director-class
switches. These switches are enterprise-class, award-winning Multilayer Director Switches.
The switches provide industry-leading availability, multiprotocol support, advanced scalability,
security, nonblocking fabrics that are 10 Gbps ready, and a platform for storage management.
These features allow the MDS 9500 Series Multilayer Directors to deploy high-performance
SANs with a lower total cost of ownership (TCO).
Layering a rich set of intelligent features and hardware-based services onto a high-performance,
protocol-agnostic switch fabric, MDS 9500 Series Multilayer Directors address the stringent
requirements of large data center storage environments.
MDS 9500 Series switch chassis are available in two sizes, which include Cisco MDS 9513 (14
rack units [RU]) and Cisco MDS 9506 (7 RU).
1-20 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco MDS 9513 Multilayer Director Chassis
The MDS 9513 Multilayer Director has a 13-slot chassis with redundant MDS 9500 Series
Supervisor-2 Modules, up to 11 switching modules, redundant 6-kW power supplies, a
removable fan module at the front, and additional removable fan modules at the rear for the
fabric modules. Slots 7 and 8 are reserved for redundant MDS 9500 Series Supervisor-2
Modules, which provide control, switching, and local and remote management.
The MDS 9513 Multilayer Director supports an industry-leading port density per system that is
expandable up to 528 Fibre Channel ports in a single chassis. There are two removable system-
clock modules at the rear for added high availability. Dual redundant 6-kW power supplies are
located at the rear of the chassis. The MDS 9513 Multilayer Director has a revised airflow
system at the rear of the chassis. The air flows in at the bottom and out at the top.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-21
• Dual supervisors
- Active and standby
- Hot-swappable
- Stateful standby stays
synchronous with all major
management and control
protocols of the active supervisor
• Nondisruptive upgrades
- Load and activate new software
without disrupting traffic
- Standby supervisor maintains the
previous version of code while the
active supervisor is updated
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-24
MDS 9500 Series Multilayer Directors support two MDS 9500 Series Supervisor Modules in
the chassis for redundancy. Each MDS 9500 Series Supervisor Module consists of a control
engine and a crossbar fabric. The control engine is the central processor responsible for the
management of the overall system. In addition, the control engine participates in all of the
networking control protocols, including all Fibre Channel services. In a redundant system, two
control engines operate in active/standby mode.
The control engine that is in standby mode is actually in a stateful-standby mode that syncs
with all major management and control protocols that the active control engine maintains.
While the standby control engine is not actively managing the switch, the engine continually
receives information from the active control engine. This architecture allows the state of the
switch to be maintained between the two control engines. If the active control engine fails, the
secondary control engine seamlessly resumes function.
The crossbar fabric is the switching engine of the system. The crossbar fabric provides a high-
speed matrix of switching paths between all ports within the system. A crossbar fabric is
embedded within each MDS 9500 Series Supervisor Module. The two crossbar fabrics operate
in a load-shared active/active mode. Each crossbar fabric has a total switching capacity of 720
Gbps and serves 80 Gbps of bandwidth to each slot on MDS 9506 Multilayer Directors. Since
each switching module of the MDS 9506 Multilayer Directors does not consume more than 80
Gbps of bandwidth to the crossbar, the system operates at full performance even with one MDS
9500 Series Supervisor Module. In a fully populated MDS 9500 Series switch, the system does
not experience any disruption or loss of performance with the removal or failure of one MDS
9500 Series Supervisor Module.
The supervisor module is a hot-swappable module. In a dual MDS 9500 Series Supervisor
Module system, this functionality allows the module to be removed and replaced without
causing disruption to the rest of the system.
1-22 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• High-performance integrated crossbar
- Active when installed in MDS 9506 chassis
- Bypassed when installed in MDS 9513 chassis
- Supports up to 48 Gbps of front-panel bandwidth per slot
• MDS 9513 requires Supervisor-2 or -2A
Front Panel Interfaces
• FCoE support requires Supervisor-2A
1. Status LEDs
2. Reset Button
3. Console Port
4. Management Eth Port 10/100/1000
5. Serial Port
6. CompactFlash LED
7. Flash Eject Button
8. Compact Flash Slot
9. Two USB Ports
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-25
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-23
When used in an MDS 9506 Multilayer Director, the integral crossbar is used. When used in
the MDS 9513 Multilayer Director, the integral crossbar is bypassed and the crossbar fabric
modules are used instead.
MDS 9500 Series Supervisor-2 and MDS 9500 Series Supervisor-2A support 1024 destination
indexes, providing up to 528 ports in the MDS 9513 Multilayer Director when there are no
generation-1 modules that are installed in the chassis. If any generation-1 modules are installed
in the MDS 9513 Multilayer Director, then only 252 ports can be used.
1-24 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Feature Supervisor-2 Supervisor-2A
Memory 1G 2G
Support for existing Fibre Channel modules Yes Yes
Support for high-density line rate 8-Gb modules Yes Yes
Support for FCoE modules No Yes
Feature Supervisor-2A
Nondisruptive upgrade from Supervisor-2 Yes
Mix of Supervisor-2 and Supervisor-2A in same Supported during upgrade only
chassis
Shipping by default in chassis Yes, based on per-Optical
Services Module (OSM) basis
Supervisor-2A
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-26
The Cisco MDS 9500 Series Supervisor-2A Module can supply up to 1.4 Tbps of nonblocking
performance to Cisco MDS 9500 Series Multilayer Directors. Its robust switching performance
enables the MDS 9500 Series to provide 1-, 2-, 4-, 8-, and 10-Gbps Fibre Channel port
densities. When installed in an MDS 9513 Multilayer Director chassis, the Cisco MDS 9500
Series Supervisor-2A Module works with the two crossbar modules to provide 2.2 Tbps of fully
redundant system bandwidth, helping ensure high scalability in any SAN environment.
The MDS 9500 Series Supervisor-2A Module delivers the latest advanced switching
technology. The module uses proven Cisco NX-OS Software to power a new generation of
scalable and intelligent multilayer switching solutions for SANs.
The MDS 9500 Multilayer Director Supervisor-2A Module does the following:
Helps enable converged, high-performance, intelligent, resilient, scalable, and secure
multilayer SAN switching solutions
Supports deployment of FCoE in the MDS 9500 Series Multilayer Director chassis
Is designed to integrate multiprotocol switching and routing, intelligent SAN services, and
storage applications onto highly scalable SAN switching platforms
Is supported in the MDS 9506 and 9513 Multilayer Director chassis
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-25
• Redundant crossbar fabric
- Active/active operation balances the load across
both crossbars.
- Rapid failover in case of failure ensures no loss
of frames.
• High bandwidth nonblocking architecture
- Fabric 2 provides up to 96-Gbps per slot.
- Fabric 3 provides up to 256-Gbps per slot.
- A single crossbar fabric still provides sufficient
bandwidth for all line cards.
• High-performance centralized architecture
- Ensures consistent latency across the switch.
- Supports up to 1024 indexes (destination
interfaces).
- Enhanced high-performance arbiter schedules
frames at over 1 billion per second.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-27
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-28
The figure describes the MDS 9513 Multilayer Director Fabric 3 Module.
1-26 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• 32-port 8-Gbps advanced Fibre Channel switching module
- No oversubscription ratio, 8-Gbps full rate simultaneously
- Investment protection because the module is compatible with every MDS
9500 Series switch that is shipped
- For high-end storage systems, there is ISL connectivity
• 48-port 8-Gbps advanced Fibre Channel switching module
- 256 Gbps of Fibre Channel bandwidth, six ports per port group
- Standard, high performance, and highly virtualized servers
• Cisco TrustSec Fibre Channel link encryption
- Provides secure transmission of data between switches and data centers
MDS 9513 32-Port 8-Gbps Advanced Fibre Channel Switching Module: DS-X9232-
256K9
This module is more suitable for high-end storage systems as well as for Inter-Switch Link
(ISL) connectivity. This module delivers 256 Gbps of front panel bandwidth with a total of
thirty-two 8-Gbps interface connectivity to the back-end storage systems. There are eight port
groups with four ports in each group. This module has no oversubscription ratio and all 32 ports
can run at 8-Gbps full speed simultaneously.
MDS 9513 48-Port 8-Gbps Advanced Fibre Channel Switching Module: DS-X9248-
256K9
With the 8-Gbps Fibre Channel bandwidth option, this module is more suitable for port density
and high-speed performance. The front panel delivers 256 Gbps of Fibre Channel bandwidth
with 48 ports, which are divided in eight groups of six ports per group. The total allocated
bandwidth per port group is 32-Gbps with maximum speed of 8-Gbps per port.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-27
• 32 ports at 8-Gb Fibre Channel full • 48 ports at 4-Gb Fibre Channel full
rate: rate:
- No oversubscription at 8 Gbps - 1.5:1 oversubscribed at 8 Gbps
- 4-port port groups - 6-port port groups
• 24 ports at 10-Gb Fibre Channel full • 24 ports at 10-Gb Fibre Channel full
rate: rate:
- Ports 2, 3, 4, 5, 6, and 8 at 10 Gbps - Ports 4, 5, 6, 7, 8, and 10 at 10 Gbps
- Ports 1 and 7 disabled - Ports 1, 2, 3, 9, 11, and 12 disabled
(three ports per port group)
32-port 8-Gb Advanced Fibre Channel Switching Module 48-port 8-Gb Advanced Fibre Channel Switching Module
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-30
All line card modules have their own port group settings. Depending on the port group
configuration, you can configure a port for regular Fibre Channel speed or 10-Gbps Fibre
Channel speed.
Note Not all ports can be configured for 10-Gbps Fibre Channel speed.
The figure shows ports from individual port groups that can be configured as 10-Gbps Fibre
Channel speed. The interfaces that can be configured out of the port groups are highlighted in
yellow on the figure. The interfaces that will be disabled by the switch are marked by a red “X”
on the figure. The 10-Gb Fibre Channel enablement works at the ASIC level. One ASIC
controls two port groups simultaneously as follows:
32-port 8-Gbps module, eight port groups with four ports per port group.
— The 10-Gbps mode configuration for a group of eight ports is six ports at 10-Gbps
and other two ports disabled.
48-port 8-Gbps module , eight port groups with six ports per port group, with up to four 8-
Gbps dedicated ports per port group.
— The 10-Gbps mode configuration for a group of 12 ports is six ports at 10-Gbps and
the other six ports disabled.
1-28 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• 8-port 10-Gbps FCoE module
- Multihop FCoE module for the core
- Requires Supervisor-2A module
• Supports deployment of FCoE in the MDS 9500 Series chassis
• Nondisruptive upgrade from Supervisor-2
• 2-Gb memory
FCoE Fibre Channel
FCoE
Aggregation:
Pod N Nexus 7000
Unified I/O
Access
Nexus 5000
Unified I/O
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-29
• FCoE does not require a license on the Cisco MDS 9500 Series.
• You can only enable FCoE on an FCoE module.
• You cannot enable FCoE on VLAN 1 (default) or the native VLAN.
• Cisco MDS 9500 supports only Generation-2 converged network
adapters.
• Cisco MDS 9500 does not support LAN traffic and only accepts and
processes FCoE frames.
• The QoS policy must be the same on all Cisco FCoE switches in the
network.
• You must install a Supervisor-2A module to configure FCoE.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-32
The figure describes MDS 9500 Series FCoE guidelines and limitations.
1-30 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco MDS 9200 Series Multiservice Switch and
Service Modules
This topic describes the Cisco MDS 9200 Series Multiservice Switch and Service Modules.
• SAN services for Cisco MDS and Cisco Nexus product lines
- Optimized for performance, power, and space
• 40 line-rate 16-Gbps Fibre Channel ports and 8 10GE FCoE ports
• Front-to-back air flow
• 3 x 300 W power supplies, 2 + 1 for hardware failure
- Remote SAN extension
• Two 1/10-Gbps FCIP and iSCSI ports for high-performance FCIP
• 6 FCIP tunnels per GbE port
- Intelligent fabric services, such as the following:
• Cisco MDS 9000 IOA and Cisco DMM
- Flexibility for future growth and capacity expansion
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-34
The Cisco MDS 9250i Multiservice Fabric Switch is the next generation of the highly flexible,
industry-leading, proven Cisco MDS 9200 Series Multiservice Switches. This switch is an
optimized platform for deploying high-performance SAN extension solutions, distributed
intelligent fabric services, and cost-effective multiprotocol connectivity for both open systems
and mainframe environments. With a compact form factor and advanced capabilities normally
available only on director-class switches, this switch is an ideal solution for departmental and
remote branch-office SANs and in large-scale SANs with the MDS 9710 Multilayer Director.
The MDS 9250i Multiservice Fabric Switch offers up to forty 16-Gbps Fibre Channel ports,
two 1/10 Gigabit Ethernet IP storage services ports (10Gbps support initially), and eight 10
Gigabit Ethernet FCoE ports in a fixed 2-RU form factor. The MDS 9250i Multiservice Fabric
Switch connects to existing native Fibre Channel networks, protecting current investments in
storage networks. The Cisco SAN Extension over IP application package license is enabled as
standard on the two fixed 1/10 Gigabit Ethernet IP storage services ports, enabling features
such as FCIP and compression on the switch without the need for additional licenses. Also,
using the eight 10 Gigabit Ethernet FCoE ports, the MDS 9250i Multiservice Fabric Switch
platform attaches to directly connected FCoE and Fibre Channel storage devices and supports
multitiered unified network fabric connectivity directly over FCoE.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-31
upgraded onsite to enable an additional 20 ports of 16-Gbps Fibre Channel by adding the
MDS 9250i Multiservice Fabric Switch On-Demand Port Activation license. Additionally,
the MDS 9250i Multiservice Fabric Switch cost-effectively scales up for IBM Fibre
Connection (FICON) mainframe environments. Also, two ports of 10 Gigabit Ethernet
provide FCIP and iSCSI storage services, and eight ports of 10 Gigabit Ethernet for FCoE
connectivity.
The switch provides an intelligent application services engine. The MDS 9250i
Multiservice Fabric Switch includes as standard a single application services engine. The
engine enables the included Cisco SAN Extension over IP software solution package to run
on the two fixed 1/10 Gigabit Ethernet storage services ports. The Cisco SAN Extension
over IP package provides an integrated, cost-effective, and reliable business-continuance
solution. The solution uses IP infrastructure by offering FCIP for remote SAN extension,
along with various advanced features to optimize the performance and manageability of
FCIP links.
Hardware-based virtual fabric isolation with VSANs and Fibre Channel routing with IVR.
VSANs and IVR enable deployment of large-scale multisite and heterogeneous SAN
topologies. Integration into port-level hardware allows any port in a system or in a fabric to
be partitioned into any VSAN. Included in the optional Cisco MDS 9000 Enterprise
advanced software package, IVR provides line-rate routing between any of the ports in a
system or in a fabric without the need for external routing appliances.
Remote SAN extension with high-performance FCIP:
— Simplifies data protection and business continuance strategies by enabling backup,
remote replication, and other disaster-recovery services over WAN distances using
open-standards FCIP tunneling.
— Optimizes utilization of WAN resources for backup and replication by enabling
hardware-based compression, hardware-based encryption, FCIP Write Acceleration,
and FCIP tape read and write acceleration. Up to 16 virtual ISL connections are
provided on the two 10 Gigabit Ethernet ports through tunneling.
— Preserves Cisco MDS 9000 Series enhanced capabilities, including VSANs, IVR,
advanced traffic management, and network security across remote connections.
Cost-effective iSCSI connectivity to Ethernet-attached servers:
— Extends the benefits of Fibre Channel SAN-based storage to Ethernet-attached
servers at a lower cost than is possible using Fibre Channel interconnect alone.
— Increases storage utilization and availability through consolidation of IP and Fibre
Channel block storage.
— Through transparent operation, preserves the capability of existing storage
management applications.
Advanced FICON services: The MDS 9250i Multiservice Fabric Switch supports FICON
environments, including cascaded FICON fabrics, VSAN-enabled intermix of mainframe
and open systems environments, and NPIV for mainframe Linux partitions. IBM Control
Unit Port (CUP) support enables in-band management of Cisco MDS 9200 Series switches
from the mainframe management console. FICON tape acceleration reduces latency effects
for FICON channel extension over FCIP for FICON tape read and write operations to
mainframe physical or virtual tape. This feature is sometimes referred to as tape pipelining.
The MDS 9250i Multiservice Fabric Switch also supports the IBM Extended Remote Copy
(XRC) Acceleration feature. That feature enables acceleration of dynamic updates for IBM
z/OS Global Mirror, formerly known as XRC.
1-32 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco Data Mobility Manager (DMM) as a distributed fabric service: Cisco DMM is a
fabric-based data migration solution that transfers block data nondisruptively across
heterogeneous storage volumes and across distances, whether the host is online or offline.
Platform for intelligent fabric applications: The MDS 9250i Multiservice Fabric Switch
provides an open platform that delivers the intelligence and advanced features that are
required to make multilayer intelligent SANs a reality. The switch includes hardware-
enabled innovations to host or accelerate applications for data migration, storage backup,
and data replication. Hosting or accelerating these applications in the network can
dramatically improve scalability, availability, security, and manageability of the storage
environment, resulting in increased utility and lower TCO.
ISSU for Fibre Channel interfaces: MDS 9250i Multiservice Fabric Switch promotes high
serviceability by allowing MDS 9000 NX-OS Software to be upgraded while the Fibre
Channel ports are carrying traffic.
Intelligent network services: MDS 9250i Multiservice Fabric Switch uses VSAN
technology for hardware-enforced, isolated environments within a single physical fabric,
ACLs for hardware-based intelligent frame processing, and advanced traffic management
features such as fabric-wide QoS to facilitate migration from SAN islands to enterprise-
wide storage networks.
High-performance ISLs: MDS 9250i Multiservice Fabric Switch supports up to 16 Fibre
Channel ISLs in a single port channel. Links can span any port on any module in a chassis
for added scalability and resilience. Up to 256 buffer-to-buffer credits can be assigned to a
single Fibre Channel port to extend storage networks over long distances.
Comprehensive network security framework: The MDS 9250i Multiservice Fabric Switch
supports RADIUS and TACACS+, FC-SP, SFTP, SSH Protocol, SNMPv3 implementing
AES, VSANs, hardware-enforced zoning, ACLs, and per-VSAN RBAC. Additionally, the
10 Gigabit Ethernet ports offer IP Security (IPsec) authentication, data integrity, and
hardware-assisted data encryption for FCIP and iSCSI.
IP version 6 (IPv6)-capable: The MDS 9250i Multiservice Fabric Switch supports IPv6 as
mandated by the U.S. Department of Defense, Japan, and China. IPv6 support is provided
for FCIP, iSCSI, and management traffic routed in-band and out of band.
FIPS compliance: The MDS 9250i Multiservice Fabric Switch is FIPS 140-2 compliant as
mandated by the U.S. federal government.
Sophisticated diagnostics: The MDS 9250i Multiservice Fabric Switch provides intelligent
diagnostics, protocol decoding, and network analysis tools as well as integrated Cisco Call
Home capability for added reliability, faster problem resolution, and reduced service costs.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-33
Three Power Supply Units: Chassis size:
• Two connected with Mother 17.30”x3.48”x21.44” (W x H x D)
board at the bottom and one at
the upper layer. Rear
Panel
• Two Fan Tray in the middle with
2RU height.
Front Panel
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-35
The MDS 9250i Multiservice Fabric Switch provides the following types of ports:
Console port: An RS-232 port that you can use to create a local management connection
MGMT 10/100/1000 Ethernet port: An Ethernet port that you can use to access and
manage the switch by IP address, such as through Cisco DCNM
Fibre Channel ports: Fibre Channel ports that can be used to connect to the SAN or for
in-band management
FCoE: FCoE ports that you can use for FCoE connectivity
IP storage ports: Gigabit Ethernet ports that can be used for IP storage services such as
FCIP or iSCSI
USB drive: USB port on the front panel for code loads, configuration file backups, log
dumps, and report capture
1-34 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Not Requiring App Services Engine Requiring App Services Engine*
Cisco Prime DCNM Base Included Cisco MDS 9000 SAN Included
Version Extension over IP
Cisco Prime DCNM Optional Cisco MDS 9000 IOA Optional
Licensed Version Services
Cisco MDS 9000 Optional Cisco DMM Optional
Enterprise
Cisco MDS 9000 Optional
Mainframe
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-36
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-35
• Expansion slot
• 18 Fibre Channel ports at 4 Gbps
• 4 Gigabit Ethernet ports for FCIP and iSCSI
• 1.3 GHz PowerPC 8548 processor
• Dual removable power supply and removable fan tray
• 1 GB compact flash and 1 GB of memory
• Quick Configuration Wizard
• FCIP hardware compression using deflate data format (RFC 1951)
• FCIP hardware encryption and acceleration
• Supports Cisco MDS 9000 IOA
• Supports Cisco SANTap and Cisco DMM
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-37
The Cisco MDS 9222i Multiservice Modular Switch delivers state-of-the-art multiprotocol and
distributed multiservice convergence. This switch offers high-performance SAN extension and
disaster recovery solutions, intelligent fabric services, and cost-effective multiprotocol
connectivity. With a compact form factor, the modularity of the expansion slot, and advanced
capabilities normally available only on director-class switches, the MDS 9222i Multiservice
Modular Switch is an ideal solution for departmental and remote branch office SANs. The
switch provides the features present in a director but at a lower cost of entry.
Product highlights include the following:
High-density Fibre Channel switch, scales up to 66 Fibre Channel ports
Integrated hardware-based virtual fabric isolation with VSANs and Fibre Channel routing
with IVR
Remote SAN extension with high-performance FCIP
Long distance over Fibre Channel with extended BB credits
Multiprotocol and mainframe support (Fibre Channel, FCIP, iSCSI, and FICON)
IPv6-capable
Platform for intelligent fabric applications such as Cisco SANTap and Cisco DMM
Cisco IOS ISSU
Comprehensive network security framework
Provides hosting, assisting, and acceleration of storage applications such as volume
management, data migration, and data protection
1-36 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• 16x Gigabit Ethernet ports for
FCIP WAN connectivity
- Up to three FCIP tunnels per port
• Four independent service engines
supporting the following:
- FCIP
• FCIP hardware compression
• FCIP hardware encryption
• FCIP write acceleration
• FCIP tape read/write acceleration
with port channel support
• FICON over IP
• Cisco MDS 9000 XRC Cisco MDS 9000 16-Port
Acceleration over IP Storage Services Node
- IOA
• Cisco MDS 9000 IOA Fibre
Channel write acceleration
• Cisco MDS 9000 IOA Fibre
Channel tape read/write
acceleration
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-38
The Cisco MDS 9000 16-Port Storage Services Node (SSN-16) hosts four independent service
engines. Each engine can be activated individually and incrementally to scale as business
requirements change, or the engines can be configured to run separate applications.
Based on the single service engine in its predecessor, the Cisco MDS 9000 18/4-port
Multiservice Module (MSM), this four-to-one consolidation delivers dramatic hardware
savings and frees valuable slots in the Cisco MDS 9500 Multilayer Director chassis.
The MDS 9000 SSN-16 supports the following applications:
Remote SAN extension with high-performance FCIP
Metropolitan-area network (MAN) link optimization with Cisco MDS 9000 IOA
IBM System z Channel Extension through FICON over IP, including tape acceleration
Cisco Extended Remote Copy (XRC) Acceleration over IP for IBM z/OS Global Mirror
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-37
• MDS 9000 SSN-16
- Four independent services engines
• Four separate concurrent applications FCIP
MSM-18/4
• Four times the performance and throughput
• Saves valuable slots in the MDS 9500 chassis
- Transparently delivers services to any port in the fabric MSM-18/4
IOA
• No need for host or target to be directly attached
• No SAN reconfiguration, no rewiring
• Highly available with multimodule clustering, balancing MSM-18/4 FCIP
- Fibre Channel speed-agnostic
• Any 4-Gbps, 8-Gbps, or 10-Gbps Fibre Channel port
can use services XRC
MSM-18/4
• 16 Gigabit Ethernet front panel ports for FCIP
FCIP
IOA
FCIP
XRC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-39
The MDS 9000 SSN-16 basically takes the services engine that is the “/4” part of its
predecessor, the MDS 9000 MSM-18/4, and puts four of the services engines onto a single
module. This solution allows you to run four concurrent applications, which provides four
times the performance and throughput when compared to the MDS 9000 MSM-18/4. This
solution also helps you save slots in the 9500 chassis where previously you may have had to
deploy multiple MDS 9000 MSM-18/4 modules.
More importantly, the MDS 9000 SSN-16 provides centralized Fibre Channel services from
any Fibre Channel port in the fabric, regardless of line rate, whether 1-, 2-, 4-, or 8-Gbps.
1-38 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• 18x 1/2/4-Gbps Fibre Channel Ports
• 4x Gigabit Ethernet ports for FCIP
WAN connectivity
- Up to three FCIP tunnels per port
• Single services engine supporting:
- FCIP
• FCIP hardware compression
• FCIP hardware encryption
• FCIP write acceleration
• FCIP tape read/write acceleration with
PortChannel support
- IOA
• IOA Fibre Channel write acceleration
• IOA Fibre Channel tape read/write
acceleration
- iSCSI gateway
- DMM
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-40
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-39
Cisco IOA Cisco IOA
MAN/WAN
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-41
Cisco MDS 9000 IOA is a unified solution for accelerating SCSI or open systems I/O. Cisco
MDS 9000 IOA is not compatible with FICON. There are acceleration solutions for FICON,
but those solutions are not part of Cisco MDS 9000 IOA.
Like other services-oriented SAN solutions, you can insert Cisco MDS 9000 IOA into the
network very easily, with no rewiring or recabling. The insertion is simply done by
administrative configuration using a CLI or Cisco DCNM SAN-Client. You can extend
acceleration services to any device in the fabric. The previous Gigabit Ethernet line card
modules 14/2 and 18/4 tied the services to the Gigabit Ethernet port on that line card. Cisco
MDS 9000 IOA provides these services for any Fibre Channel port in the fabric, regardless of
link rate. Now, you can have the acceleration on the MDS 9000 IOA node and use port
channels across your fabric to combine multiple Gigabit Ethernet ports. Combining the ports
means that if one port fails, the entire tape job does not reset. Because Cisco MDS 9000 IOA is
transport agnostic, Cisco MDS 9000 IOA works equally well for FCIP or for native Fibre
Channel extensions as, for example, over dense wavelength-division multiplexing (DWDM).
1-40 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Encryption of data in flight
- Preserves integrity and confidentiality of Fibre Channel traffic
- Integrated, high-performance functionality
- No change to existing SAN, enables functionality only on edge switches
- Enabled with an Enterprise license
- Supported on 8-Gb and 16-Gb* modules
Cisco TrustSec Fibre Channel Link Encryption provides encryption for Fibre Channel frames
in transit through 8-Gbps ISLs.
This feature is integrated into the line cards for all of the 8-Gbps modules, so the 48-port and
32-port advanced switching modules support this capability.
There is no change to the existing SAN. You enable the functionality for any links. This feature
requires the Enterprise license.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-41
Cisco MDS 9100 Series Fabric Switches
This topic describes Cisco MDS 9100 Series Fabric Switches.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-44
The Cisco MDS 9148 Multilayer Fabric Switch provides an affordable, highly capable, and
scalable storage networking solution for small, midsize, and large enterprise customers.
The switch offers outstanding value by providing flexibility, high availability, security, and
ease of use at an affordable price in a compact 1-RU form factor. With the flexibility to expand
from 16 to 48 ports in eight-port increments, the MDS 9148 Multilayer Fabric Switch offers the
densities that are required to scale from entry-level departmental switch to top-of-the-rack
switch to edge connectivity in enterprise SANs. The MDS 9148 Multilayer Fabric Switch
offers nonblocking architecture, with all 48 2-, 4-, and 8-Gbps ports operating at line rate
concurrently.
The MDS 9148 Multilayer Fabric Switch supports quick configuration, zero-touch immediately
active (plug-and-play) features, and task wizards that allow the switch to be deployed quickly
and easily in networks of any size. Powered by Cisco NX-OS Software, the switch includes
advanced storage networking features and functions. The switch is compatible with Cisco MDS
9500 Series Multilayer Directors and Cisco MDS 9200 Series Multilayer Fabric Switches,
providing transparent, end-to-end service delivery in core-edge deployments.
The MDS 9148 Multilayer Fabric Switch offers intelligent storage networking capabilities such
as VSANs, IVR, port channels, QoS, and security for cost-effective design, deployment, and
management of departmental and enterprise SANs.
Server consolidation as a result of server virtualization technologies has increased the number
of fabric logins that are needed on a SAN. The MDS 9148 Multilayer Fabric Switch uses Cisco
NX-OS Software intelligence to provide storage access for virtual machine server
environments. With full NPIV support and Cisco N-Port Virtualizer (NPV) technology, the
MDS 9148 Multilayer Fabric Switch is built for increased scalability. Using Cisco VSAN
technology, the MDS 9148 Multilayer Fabric Switch is the only entry-level SAN switch that
can extend server virtualization. Cisco NPV and Cisco FlexAttach technology on the MDS
9148 Multilayer Fabric Switch enable transparent server deployment and movement without
the need to reconfigure the SAN.
1-42 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Grow as you go.
- 16-port base
- Additional Licensed in 8-port increments
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-45
The MDS 9148 Multilayer Fabric Switch is a 1-RU Fibre Channel switch with 48 ports, all
supporting full-line-rate 8-Gigabit operation.
To support high levels of business resilience, the MDS 9148 Multilayer Fabric Switch is built
to enterprise-class specifications with redundant hot swappable power supplies and replaceable
fan trays.
A significant difference between the MDS 9148 Multilayer Fabric Switch and its predecessors
is its full support for the complete set of enterprise SAN features that are found on MDS 9200
and 9500 Series switches.
The MDS 9148 Multilayer Fabric Switch offers a flexible capability to expand as needed, with
an initial deployment of 16, 32, or 48 ports. The Cisco on-demand port licensing model allows
customers to activate ports in sets of eight.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-43
• Grow as you go.
- 16-port base
- Additional Licensed in 8-port increments
Email
MDS 9148
Departmental Shared Storage
or Entry-Level Common Backup
SAN Simplified Management
Database
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-46
The MDS 9148 Multilayer Fabric Switch is a flexible option for entry-level departmental or
midmarket SANs. For these opportunities, features such as shared storage, a common backup
capability, and simplified storage management are key benefits.
If you are migrating to a virtualized server environment, the MDS 9148 will be a key
component of your virtualization strategy, supporting virtual machine isolation and mobility.
As your needs grow, the MDS 9148 can become part of a larger enterprise core/edge SAN
architecture. Using MDS 9500 directors in the core and moving the MDS 9148 towards the
edge provides investment protection.
1-44 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Grow as you go.
- 16-port base
- Additional Licensed in 8-port increments
NPIV
Tier 1 Scalability for VM
Virtualization Tier 2
environments
Optimized VM-granular security
Tier 3
SAN and QoS
MDS 9148
VM mobility
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-47
If you are migrating to a virtualized server environment, the MDS 9148 will be a key
component of your virtualization strategy, supporting virtual machine isolation and mobility.
MDS 9148
Scalability
Enterprise
Core-Edge Security
SAN Compliance
Consolidation
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-48
As your needs grow, the MDS 9148 Multilayer Fabric Switch can become part of a larger
enterprise core/edge SAN architecture. Using MDS 9500 Series directors in the core and
moving the MDS 9148 Multilayer Fabric Switch towards the edge provides investment
protection.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-45
• Grow as you go.
- 16-port base
- Additional Licensed in 8-port increments
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-49
If you need to extend your SAN connectivity across data centers to enable remote backup or
data replication, this switch still has a role to play with full support for features like IVR that
make SAN extension more reliable.
1-46 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Enables “green” SAN
deployments and provides the
ideal switch for the Rack Deployment
environmentally and energy-
conscious customer. 1RU
- Performance-optimized Server
• 768 Gbps of aggregate
Server
bandwidth in 1 RU
- Space-optimized Server
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-50
The MDS 9148 Multilayer Fabric Switch enables “green” SAN deployments by having high
performance while consuming low power for its class of product.
As shown in the figure, the MDS 9148 Multilayer Fabric Switch is only 1 RU high and is
packed with 768 Gbps of aggregate bandwidth. These features mean that the switch is
optimized to give high performance.
The switch is also space-optimized by having 48 ports that are packed in a small footprint. This
fabric switch has 48 ports in 1 RU and is less than 2 feet deep.
The MDS 9148 Multilayer Fabric Switch consumes a small amount of power for an 8-G switch
having 48 ports or more. The switch offers the highest port density and lowest power
consumption available in the industry in a compact 1-RU chassis form factor.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-47
Summary
This topic summarizes the key points that were discussed in this lesson.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-51
1-48 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 2
Implementing Integrated
Management
Overview
This lesson describes and explains the configuration and use of the Cisco Nexus Operating
System (NX-OS) on the Cisco MDS 9000 Series and Cisco Nexus product lines. The lesson
also describes the features and applications of Cisco Prime Data Center Network Manager
(DCNM) for SAN (DCNM-SAN). This lesson closes with a description of Cisco Performance
Manager and Cisco Traffic Analyzer.
Objectives
Upon completing this lesson, you will be able to describe Cisco NX-OS management services
provided by the Cisco MDS 9000 Series switches and identify access to the CLI through the
console and Mgmt0 interfaces. This ability includes being able to meet these objectives:
Describe the Cisco NX-OS
Describe the Cisco NX-OS CLI command set and its structure
Describe Cisco Prime DCNM and its management scope and management functions
Describe the various components of Cisco Prime DCNM management tools
Describe licensing for Cisco Prime DCNM
Describe Cisco MDS Device Manager
Describe Cisco Prime DCNM Federated Server
Explain virtual machine (VM) awareness in Cisco Prime DCNM
Cisco NX-OS
This topic describes the Cisco NX-OS.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-4
The Cisco NX-OS was built for data center environments, with features that include the
following:
A modular software architecture
In-service software upgrades (ISSU)
Protected and restartable processes
Process survivability
Role-based administration
A programmable application programming interface (API) using XML
Features and functionality up to Cisco NX-OS Release 6.2(3) are discussed in this course.
1-52 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Cisco NX-OS was designed as an operating system for the data center.
- Targeted primarily for the data center, but also applicable to other Ethernet
environments
- Integrates multiple technologies
SAN Layer 2
Future Layer 3
Protocols Protocols
Protocols Protocols
Cisco
NX-OS
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-5
The figure describes the Cisco NX-OS design goals. The goal of Cisco NX-OS is to divorce
protocols from the hypervisor and supervisor. This ability makes future implementation of new
protocols easier and more efficient.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-53
• Services and features developed as modules
• Easily extensible for future features
Future Services
Protocol Stack (IPv4, IPv6, L2)
Interface Management
Independent, memory-protected restartable processes:
Chassis Management
• Stateful restart with PSS
• Chip Nonstop
Stateful restart with Cisco and Driver Infrastructure
Forwarding and graceful restart
• Stateless restart
• Multiple service instances Kernel
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-6
The Cisco NX-OS kernel performs the hardware and control functions, and builds separate
processes for Layer 2 and Layer 3 protocols, including Fibre Channel over Ethernet (FCoE).
Cisco NX-OS is a next-generation operating system that brings three fundamental technologies
into a single platform:
Layer 2 classical and unified I/O switching
Layer 3 multiprotocol routing
Other protocols can be added in the future
Cisco NX-OS can restart processes. Restartability means that a process can restart
automatically when necessary. Protocols, table managers, and different subsystems all run as
distinct memory-protected restartable processes. The process is started only when the feature is
configured. Service restartability using persistent storage service (PSS) registers states to PSS
and recovers states from PSS upon restart. Stateful restart with Cisco Nonstop Forwarding
(using graceful restart) recovers states that are based on information from other services or
networks, mainly routing protocols. Stateless restart causes a fresh start without traces of
former instances.
1-54 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• A multithreaded and modular • Complete separation of control
control plane enables control plane and data plane.
plane performance to scale with - No interruption of forwarding for
symmetric multiprocessing and control plane events
multicore CPUs. - Also known as Cisco Nonstop
- Faster route convergence Forwarding
- Lower mean time to recovery - Fully distributed, hardware-based
switching
• Modular code with real-time
preemptive scheduling enables
Control Plane time-critical functions to run. For
example, Fabric Shortest Path
First (FSPF) Hello messages
run while the system is
UPC Data Plane UPC operating at 100 percent CPU
load.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-7
The control and data planes of the switch are separated for greater availability. All switching is
done in hardware and is separate from the supervisor control plane. Because of this separation,
traffic still forwards even in the event of a control plane failure.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-55
Cisco NX-OS CLI Command Set and Structure
This topic describes the Cisco NX-OS CLI command set and its structure.
Web/SNMP
(DCNM SAN-Client, Unified
Web Client)
Out-of-Band
Management Fibre Channel
(Ethernet Port) Port Fibre
Channel
IP Network Fabric
Console
Port In-Band
Management
(IPFC)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-9
Many connection options and protocols are available to manage the Cisco MDS 9000 Series
Switches with the CLI. The initial configuration must be done with VT100 console access.
VT100 console access can be achieved via direct connection or serial link connection, such as a
modem. After the initial configuration is complete, you can access the switch using either
Secure Shell (SSH) or Telnet. The SSH Protocol provides a secure, encrypted means of access.
Terminal Telnet access involves a TCP/IP out-of-band (OOB) connection through the 10/100
MB Ethernet port or an in-band connection by way of IP over Fibre Channel.
You can access the Cisco MDS 9000 Series of switches for configuration, status, or
management through the console port. You can initiate a Telnet session through the OOB
Ethernet management port or through the in-band IP over Fibre Channel management feature.
The console port is an asynchronous port with a default configuration of 9600 b/s, 8 data bits,
no parity, and 1 stop bit. This port is the only means of accessing the switch after the initial
power-up until an IP address is configured for the management port.
After an IP address is configured, you can use Telnet to connect to the switch through the
Mgmt0 interface on the supervisor card.
In-band IP over Fibre Channel (IPFC) is used to manage remote switches through the local
Mgmt0 interface.
1-56 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Features of the CLI include the following:
- Structured hierarchy, which is easier to remember
• Style consistent with Cisco IOS Software
• Commands can be abbreviated
- Help facility
• Context-sensitive help (?)
• Command completion (Tab)
• Command history buffer (using ↕ and ↔ keys)
• Console error messages
- Command scheduler with support for running shell scripts
- Support for command variables and aliases
- Configuration changes must be explicitly saved before reboot
• copy running-config startup-config (abbreviated to copy run start)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-10
The CLI enables you to configure every feature of the switch. More than 1700 combinations of
commands are available and are structurally consistent with the style of the Cisco IOS Software
CLI.
The CLI help facility provides the following assistance:
Context-sensitive help: Provides a list of commands and associated arguments. Type a
question mark (?) at any time, or type part of a command and type a question mark.
Command completion: The Tab key completes the keyword that you start to type.
Console error message: Identifies problems with any switch commands that are
incorrectly entered, so that the commands can be corrected or modified.
Command history buffer: Allows recalling of long or complex commands or entries for
re-entry, renewing, or correction.
Cisco MDS command scheduler: Provides a UNIX cron-like facility that allows you to
schedule a job at a particular time or periodically in Cisco NX-OS.
Configuration changes must be explicitly saved, and configuration commands are serialized for
execution across multiple Simple Network Management Protocol (SNMP) sessions. To save
the configuration, enter the copy running-config startup-config command from the config
mode prompt to save the new configuration in nonvolatile storage. After this command is
issued, the running and startup copies of the configuration are identical.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-57
• System-level commands are executed from the CLI.
- The system show command may be executed from any level of CLI.
switch# show interface fc 3/1 capabilities
fc3/1
Min Speed is 2 Gbps
Max Speed is 16 Gbps
FC-PH Version (high, low) (0,6)
Receive data field size (max/min) (2112/256) bytes
Transmit data field size (max/min) (2112/128) bytes
Classes of Service supported are Class 2, Class 3, Class F
Class 2 sequential delivery supported
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-11
1-58 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• EXEC mode
- Show system information and run debug.
- Copy and delete files, and get directory listing for bootflash.
• Configuration mode
- Configure features that affect the switch as a whole.
• Configuration submode
- Configure switch subparameters.
exit
show copy dir debug config terminal
Config
flogi fcns bootflash: slot0: fspf interface fcdomain zoneset Mode
end
exit
Config
database database port-channel fc fcip iscsi mgmt 0 Submodes
exit
switchport shut no shut ip address
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-12
Cisco MDS 9000 Series switches have three command mode levels:
User EXEC mode
Configuration mode
Configuration submodes
The commands available to you depend on the mode that you are in. To obtain a list of
available commands, type a question mark (?) at the system prompt.
From the EXEC mode, you can perform basic tests and display system information, including
operations other than configuration, such as show and debug. Show commands display system
configuration and information. Debug commands enable printing of debug messages for
various system components. Show commands may be executed from any command mode
level.
Use the config or config terminal commands from EXEC mode to enter configuration mode.
Configuration mode has a set of configuration commands that can be entered after a config
terminal command to set up the switch.
CLI commands are organized hierarchically, with commands that perform similar functions
that are grouped under the same level. For example, all commands that display information
about the system, configuration, or hardware are grouped under the show command. All
commands that allow you to configure the switch are grouped under the config terminal
command, which includes switch subparameters at the configuration submode level.
To execute a command, enter the command by starting at the top level of the hierarchy. For
example, to configure a Fibre Channel interface, use the config terminal command. After you
are in configuration mode, issue the interface command. When you are in the interface
submode, you can query the available commands for the interface submode.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-59
• Configure the management interface (mgmt0).
GW 10.0.7.254
NMS
mgmt0 10.0.7.5
# config
(config)# interface mgmt 0
(config-if)# ip address 10.0.7.5 255.255.255.0
(config-if)# no shutdown
(config-if)# exit Console
(config)# ip default-gateway 10.0.7.254
(config)# end Ctrl-Z performs
# the same function
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-13
1-60 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Command aliases replace complex command strings with an alias
name.
- Command aliases persist across reboots.
- Commands that are being aliased must be typed in full, without abbreviation.
- Command aliases always take precedence over CLI keywords.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-14
Some commands are quite long or used frequently. An example of such a command is copy
running-config startup-config command, which can sometimes be shortened to wr.
Shortening commands is sometimes useful to group several commands and subcommands
together. Command grouping can be done using command aliases.
Command aliases are saved in NVRAM, so the aliases can persist across reboots.
When creating an alias, you must type the individual commands in full, without abbreviation.
If you define an alias, the alias takes precedence over CLI keywords starting with the same
letters, so be careful when using abbreviations.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-61
• The command scheduler schedules configuration and maintenance jobs
in any Cisco MDS 9000 Series switch.
- Schedule jobs on a one-time basis or periodically.
• One-time mode: The job is executed once at a predefined time.
• Periodic mode: The job is executed daily, weekly, monthly,
or delta (configurable).
- The Cisco MDS 9000 Series switch date and time must be accurately
configured.
- Scheduled jobs can fail if an error is encountered, for example, if a license has
expired or if a feature is disabled.
- All jobs are executed noninteractively.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-15
The Cisco MDS NX-OS provides a UNIX cron-like facility that is called the command
scheduler, to which the following principles apply:
Jobs can be defined by listing several commands that should be executed in sequence.
Jobs can be scheduled to run at the same time every day, week, or month, or at a
configurable frequency (delta).
All jobs are executed noninteractively, that is, without administrator response.
A job can fail if a command that is issued is disabled or no longer supported, because a license
might have expired. The job fails at the point of error, and all subsequent commands are
ignored.
1-62 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Command Function
# copy run start Save active configuration in NVRAM
# dir bootflash: List files stored on bootflash
# erase bootflash:temp Erase file stored on bootflash
# copy slot0:tmp bootflash:temp.txt Copy file and change the name
# debug flogi Monitor all fabric login (FLOGI) operations
# no debug all Switch off debugging
# show tech-support Gather switch information for support
# show tech-support > tempfile Save output in volatile:tempfile
# gzip volatile:tempfile Compress tempfile
# copy volatile:tempfile slot0:temp Copy file to external flash card
# tac-pac Run show tech-support, zip output, copy to volatile:
# config t Enter configuration mode to change settings
(config)# int fc x/y Configure a specific interface
(config-if)# switchport speed 1000 Configure as 1-Gbps port
(config-if)# where Display CLI tree context
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-16
The top part of the table that is shown in the figure lists useful commands that can be entered in
EXEC mode. Changes to the configuration can be made only by entering configuration mode
first and then entering the appropriate commands.
More information can be found by referring to the Cisco MDS Command Reference Guide.
Command Function
# show environment power Check power ratings
# show interface Summary of all interfaces
# show interface fc x/y View detailed information about an interface
# show module View detailed status about all modules
# show hardware View detailed hardware status
# show version View current software versions
# show license usage List installed licenses and status
# show running-config View active switch settings
# show VSAN List all created VSANs
# show VSAN membership List interfaces by VSAN
# show zoneset active Show all active zones and zone sets
# show flogi database List all devices logged in to MDS
# show fcns database List all name server entries
# show cli history List your recent command sequence
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-17
Because show commands are too extensive to list comprehensively, the figure lists only some
of the most commonly used. You can find more information in the Cisco MDS Command
Reference Guide.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-63
switch# show redundancy status switch# show environment
Redundancy mode Power Supply:
--------------- Voltage: 50 Volts
administrative: HA Power Actual Total
operational: HA Supply Model Output Capacity Status
(Watts)(Watts)
This supervisor (sup-5) ------- ------------ ------- -------- -----
----------------------- 1 DS-CAC97-3KW 460 W 3000 W Ok
Redundancy state: Active 2 DS-CAC97-3KW 0 W 0 W Shutdown
Supervisor state: Active 3 DS-CAC97-3KW 0 W 0 W Shutdown
Internal state: Active with HA standby 4 DS-CAC97-3KW 0 W 0 W Shutdown
5 DS-CAC97-3KW 464 W 3000 W Ok
Other supervisor (sup-6) 6 DS-CAC97-3KW 0 W 0 W Shutdown
------------------------
Redundancy state: Standby Actual Power
Module Mod Draw Allocated Status
Supervisor state: HA standby (Watts)(Watts)
Internal state: HA standby ----- ----------- ------- -------- ---------
3 DS-X9448-768K9 262 W 650 W Powered-Up
System start time: Tue Feb 5 01:11:54 2013 5 DS-X97-SF1-K9 N/A 190 W Powered-Up
6 DS-X97-SF1-K9 N/A 190 W Powered-Up
System uptime: 3 days, 3 hours, 5 minutes, 8 Xb1 xbar N/A 150 W Absent
seconds Xb2 xbar N/A 150 W Absent
Kernel uptime: 3 days, 3 hours, 7 minutes, 45 Xb3 xbar N/A 150 W Absent
seconds Xb4 DS-X9710-FAB1 60 W 150 W Powered-Up
Active supervisor uptime: 3 days, 3 hours, 5 Xb5 DS-X9710-FAB1 60 W 150 W Powered-Up
minutes, 8 seconds Xb6 DS-X9710-FAB1 61 W 150 W Powered-Up
fan1 DS-C9710-FAN 60 W 600 W Powered-Up
fan2 DS-C9710-FAN 67 W 600 W Powered-Up
fan3 DS-C9710-FAN 60 W 600 W Powered-Up
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-18
The figure provides examples of show redundancy status and show environment commands
on the Cisco MDS 9710 Multilayer Director.
1-64 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco Prime DCNM
This topic describes Cisco Prime DCNM management scope and management functions.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-20
Cisco Prime DCNM is a GUI management tool for managing LAN and SAN network devices.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-65
Benefits of Cisco Prime DCNM
By providing a single pane of glass visibility across both SAN and LAN environments,
Cisco Prime DCNM lowers the total cost of operating (TCO) Cisco data centers.
Features such as operational dashboards, performance views, and Cisco VMpath enable
proactive monitoring and diagnostics. These features simplify operational management of
virtualized data centers.
Cisco Prime DCNM provides coverage for deploying a wide variety of Cisco NX-OS
innovations, using easy-to-use wizards and templates (for scale, consistency, and
programmability).
All these features can be accessed using very intuitive web-based dashboards or by using a
robust set of web services APIs that can integrate with enterprise management systems.
1-66 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• One converged product
- SAN and LAN health and performance dashboards
- Can be licensed for SAN and/or LAN
- Common operations (discovery, topology)
- Common database
- Single installer, RBAC Cisco Prime DCNM
- Consistent licensing model (licenses on server)
FM Cisco DCNM
DB
Unified Web Client
LA
DCNM for LAN
Fabric Manager DB
FMS
DB LAN and SAN
DCNM for SAN
2002 2008 2011+
Evolution
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-21
Cisco Prime DCNM is a converged management platform that combines the best features of
Cisco Fabric Manager and Cisco DCNM.
IT departments today are challenged to look beyond traditional silos of networking and storage
to manage the converged, virtualized data center. Meeting this challenge calls for unification of
the management plane to enable holistic management of the data center infrastructure.
Recognizing the need to support this convergence in management, Cisco has evolved and
merged management solutions Cisco Fabric Manager and Cisco DCNM for SAN and Cisco
DCNM for LAN, into one unified product called Cisco Prime DCNM.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-67
• Performs discovery and management across the following product
families running Cisco NX-OS Software
Cisco UCS Cisco MDS Cisco Nexus Series
Series Switches Series Switches Switches
• Cisco UCS 6200 • Cisco Nexus 1000V
Series Fabric • MDS 9700 • Cisco Nexus 1010
Interconnect • MDS 9500 • Cisco Nexus 2000 FEX
• MDS 9200 • Cisco Nexus 3000
Cisco Catalyst
• MDS 9100 • Cisco Nexus 4000
Series Switches
Catalyst 6500 • Cisco Nexus 5000
Cisco FWSM • Cisco Nexus 6000
• Cisco Nexus 7000
Cisco Cisco
Nexus 2000 Nexus 5000
Cisco
Nexus 1000V
Catalyst 6500
MDS 9500/9700 Cisco Nexus
Cisco Cisco
Nexus 3000 Nexus 4000 7000
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-22
Cisco Prime DCNM combines the discovery and management of Ethernet and storage networks
into a single dashboard. This combination helps network and storage administrators manage
and troubleshoot health and performance across the following product families that run Cisco
NX-OS Software:
Cisco MDS 9700 and 9500 Series Multilayer Directors, and Cisco MDS 9200 and 9100
Series Multilayer Switches
Cisco Nexus 1000V Series Switches and Cisco Nexus 1010 Virtual Services Appliances
Cisco Nexus 2000 Series Fabric Extenders
Cisco Nexus 3000, 4000, 5000, 6000, and 7000 Series Switches
Cisco Prime DCNM provides limited support for the following Cisco platforms:
Cisco Catalyst 6500 Series Switches
Cisco Catalyst 6500 Series Firewall Services Module (FWSM)
Cisco UCS 6200 Fabric Interconnect
1-68 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Configuration/Provisioning
• Single Fabric Discovery
• Topology…
The standalone editions of Cisco Prime DCNM-LAN and Cisco Prime DCNM-SAN are
offered free. The advanced editions are licensed products.
Cisco Prime DCNM can be licensed to manage a combination of SAN and LAN environments.
Administrators still maintain control and segmentation through role-based access control
(RBAC), now with single-pane visibility across the network and storage access infrastructure.
Depending on licensing, different features for management of SAN and LAN infrastructure are
available.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-69
• For managing the entire fabric
- Switch-embedded Java application
- Fabric-based discovery and topology
mapping
- Embedded Cisco Device Manager
- Robust event monitoring and alerts
- Configuration wizards to simplify
deployment:
• Zoning
• Inter-VSAN routing
• ISL aggregation (port channel)
• FCIP
• Fibre Connection (FICON)
- Diagnostic tools to simplify fault prevention
and mitigation
• Zone merge analysis
• End-to-end connectivity analysis
• Switch health analysis checks
• Fabric configuration analysis
• Fibre Channel ping and traceroute
- SNMPv3 for secure communication
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-24
Cisco DCNM-SAN Client discovers network devices and creates a topology map with virtual
storage area network (VSAN) and zone visualization. VSAN or zone and switch trees are also
available to simplify configuration. Immediately after the fabric view is opened, the discovery
process begins. The Cisco DCNM-SAN Client can draw a fabric topology in a user-
customizable map. The client creates the map using information that is gathered from a seed
Cisco MDS 9000 Series switch. The information that is gathered includes name server
registrations and Fibre Channel Generic Services 3 (FC-GS-3) fabric configuration server
information. Because of the source of this information, any third-party devices, such as other
fabric switches that support Fibre Channel Generic Services (FC-GS) and FC-GS-3 standards,
are discovered and displayed on the topology map. Vendor Organizationally Unique Identifier
(OUI) values are translated to derive the manufacturer of third-party devices.
1-70 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Connectivity can be browsed
with the menu tree.
• Links and switches are
highlighted on the map.
• You can double-click the menu
or map objects to see attributes.
• Map refresh and purge removes
down elements.
• Nodes and links can have the
following status:
- Down: red X
- Unmanageable: red slash (/)
- Alarm: orange dashed X
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-25
The menu tree is used to view fabric connectivity where links and switches are highlighted on
the topology map. Object attributes can be seen by double-clicking the associated menu or map
object. On the topology map, ISL colors change based on utilization. Black is normal, orange is
greater than the low-utilization threshold, and red is greater than the high-utilization threshold.
Slashes (\) and Xs on the map are used as follows:
Orange, dashed X: A switch that has an alert warning, for example, when a port channel
member is down
Red X: A switch that is unmanageable and nonfunctional, such as with a link down
condition
Red \: A switch that is unmanageable but functional
Down elements can be removed from the map with a map refresh or purge.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-71
• A fabric pane can be filtered by
group.
- Hosts and storage devices
• Initiators and targets
• Enclosures created
• Distributed device aliases
provide friendly names
- Storage shows LUNs reported
• LUN0 inquiry
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-26
1-72 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco Prime DCNM Components
This topic describes the various components of the Cisco Prime DCNM management tools.
Discover Discover
DB
The Cisco Prime DCNM framework consists of various components including Unified Web
Client, LAN Java Client, SAN Java Client, and Device Manager. Each of these components
will be discussed.
The Java Remote Method Invocation (RMI) API performs the object-oriented equivalent of
Remote Procedure Calls (RPCs), with support for direct transfer of serialized Java objects and
distributed garbage collection. The Cisco Prime DCNM-LAN Client and Cisco Prime DCNM-
SAN Client use Java RMI for communications with the Cisco Prime DCNM servers. SNMP is
used initially for communications between the Cisco Prime DCNM server and switches. SSH
and XML are also used extensively. Authentication can be provided locally or through
RADIUS, TACACS+, or Lightweight Directory Access Protocol (LDAP). External database
access is through JDBC, a Java-based data access technology.
Cisco Prime DCNM Release 6.2(x) supports the following databases:
Oracle 10g and Oracle11g Express (XE), Standard, and Enterprise Editions, and Oracle 11g
Real Application Cluster (RAC)
PostgreSQL 8.3
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-73
• LAN and SAN inventory, health,
and performance:
- Unified discovery
ISL, Host, Target
- Dashboard views include Fabric Health Inventory Performance
summary, switches, hosts, and
storage enclosures
- Topology and path analytics
- Inventory and performance views
- Configuration archive and restore
- SAN inventory, health and
performance reports
- Based on HTML and Flash
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-29
With the web client you can monitor switch events, performance, and inventory from a remote
location using a web browser:
Performance Manager summary reports: Performance Manager summary reports
provide a high-level view of your network performance. These reports list the average and
peak throughput and provide hot-links to additional performance graphs and tables with
additional statistics. Both tabular and graphical reports are available for all interconnections
that are monitored by Performance Manager.
Performance Manager drill-down reports: Performance Manager can analyze daily,
weekly, monthly, and yearly trends. You also can view the results for specific time
intervals using the interactive zooming functionality. These reports are only available if
you create a collection using Performance Manager and start the collector.
Zero maintenance database for statistics storage: No maintenance is required to
maintain Performance Manager’s round-robin database, because its size does not increase
over time. At prescribed intervals, the oldest samples are averaged (rolled-up) and saved. A
full two days of raw samples are saved for maximum resolution. Gradually, the resolution
is reduced as groups of the oldest samples are rolled up together.
1-74 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Search server by name, world
wide name (WWN), and alias
• Server details
• Server to storage path
• Server traffic statistics
• Server port events
• VM-centric view per VMware
vSphere
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-30
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-31
The figure shows CLI access to many devices (multiple switches) using a single command.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-75
• Similar to Cisco Fabric Manager
• Per-fabric discovery
• Uses SNMP (v2c or v3) and
SSH
• Per-VSAN discovery
• Cisco DCNM discovers the
entire fabric
• Cisco DCNM-SAN client
modifies the switch configuration
• Synchronization by Cisco
DCNM-SAN Client
- Relies on traps sent by the switch SAN Java
Client
- Incremental per-fabric
resynchronization every 300
seconds
- Full rediscovery every 5 hours
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-32
1-76 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• SAN Fabric Management (Fibre Channel, FCoE, FICON, iSCSI, FCIP)
• VSAN and zone resources highlight
• Protocol-specific link display
• Per-link attributes display
• Wizard-based configuration
• Topology views and path display
• Troubleshooting tools
• Events and performance
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-33
The Cisco Prime DCNM-SAN Client is a Java and SNMP-based network fabric and device
management tool with a GUI that displays real-time views of your network fabric. These views
include Cisco Nexus 5000 Series switches, Cisco MDS 9000 Series switches, and third-party
switches, hosts, and storage devices. The Cisco Prime DCNM-SAN Client provides Fibre
Channel troubleshooting tools, and complete configuration and status monitoring capabilities
for MDS 9000 Series switches and Cisco Nexus 5000 Series Switches. You can use these
health and configuration analysis tools on the MDS 9000 Series switches or Cisco Nexus 5000
Series switches to perform Fibre Channel ping and traceroute.
On the topology map, ISL colors change based on utilization. Black is normal, orange is greater
than the low-utilization threshold, and red is greater than the high-utilization threshold.
Slashes (\) and Xs on the map are used as follows:
Orange, dashed X: A switch that has an alert warning, for example, when a port channel
member is down
Red X: A switch that is unmanageable and nonfunctional, such as with a link down
condition
Red \: A switch that is unmanageable but functional
Down elements can be removed from the map with a map refresh or purge.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-77
Licensing Cisco Prime DCNM
This topic describes the licensing requirements for Cisco Prime DCNM.
FC and FCoE
MDS 9100
Licensing is Cisco Prime SAN MDS 9200
MDS 9500
determined by DCNM Advanced MDS 9700
the following: Edition Cisco Nexus 5000
Cisco Nexus 6001
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-35
Cisco Prime DCNM can be licensed for SAN and LAN environments separately or together.
Most Cisco Prime DCNM features used for provisioning and discovery are available for free
with the base image (the Essentials edition). Advanced features require a license to unlock the
features. Cisco Prime DCNM is priced by switch platform and licensed per number of switches
on the platform. In addition, a yearly service contract is required to upgrade from one major
release to another.
1-78 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Features Cisco DCNM Essential Cisco DCNM Advanced
Edition (Free) Edition (Licensed)
Fibre Channel/FCoE/FICON/iSCSI topology view Yes Yes
Fabric, device, and summary views Yes Yes
Port, switch, and fabric-level configuration Yes Yes
MDS event and security management Yes Yes
Configuration wizards Yes Yes
MDS configuration analysis tool Yes Yes
Network diagnostic and troubleshooting tools Yes Yes
Real-time performance monitoring Yes Yes
Multiple fabric management (concurrently) Yes
Centralized management server with discovery Yes
Web client for operation view Yes
Continuous health and event monitoring Yes
Historical performance monitoring and reporting Yes
Event forwarding Yes
Cisco DCNM proxy services Yes
Cisco fabric analyzer integration Yes
Roaming user profiles Yes
Cisco VMpath analytics Yes
Dashboards (summary, host, switch, network) Yes
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-36
The Cisco Prime DCNM-SAN Client edition of Cisco Prime DCNM is offered free. The
advanced edition is a licensed product.
Cisco Prime DCNM can be licensed to manage a combination of SAN and LAN environments.
Administrators still maintain control and segmentation through RBAC, now with single-pane
visibility across the network and storage access infrastructure.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-79
• Cisco Prime DCNM licenses are now server-based instead of device-
based.
- Previously, licenses were deployed on the switch (embedded).
- Switch licenses are now primarily deployed on the Cisco Prime DCNM server.
• This model enables pooling of licensing in one central location for ease
of management and portability.
• Existing Cisco Fabric Manager licenses remain applicable to help
ensure transparent upgrades.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-37
Licenses are now server-based instead of device-based. Licenses were deployed on the switch
(embedded). Switch licenses are now primarily deployed on the Cisco Prime DCNM server.
This model enables pooling of licensing in one central location for ease of management and
portability. Existing Cisco Fabric Manager licenses remain applicable to help ensure
transparent upgrades.
1-80 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco MDS Device Manager
This topic describes Cisco MDS Device Manager.
Summary
View
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-39
Device Manager provides a graphical representation of one Cisco MDS 9000 Series switch
chassis, including the installed switching modules, the supervisor modules, the status of each
port within each module, the power supplies, and the fan assemblies. Device Manager provides
two views, which are Device View and Summary View.
Use the Summary View to monitor interfaces on the switch.
Use device view to perform switch-level configurations including the following configurations:
Configuring virtual Fibre Channel interfaces
Configuring FCoE features
Configuring zones for multiple VSANs
Managing ports, port channels, and trunking
Managing SNMPv3 security access to switches
Managing CLI security access to the switch
Managing alarms, events, and notifications
Saving and copying configuration files and software images
Viewing hardware configuration
Viewing chassis, module, port status, and statistics
Device Manager offers an alternative to the CLI for switch configuration. Parameters on single
or multiple switches can be updated rapidly. Fabric View displays the values for parameters for
multiple switches side by side. This feature allows you to copy and paste values from one MDS
9000 Series switch to many others very rapidly. Alternatively, you can configure values on a
single switch through the Device View. In that view, you can open configuration and status
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-81
dialog boxes by clicking various parts of the Device View, such as switching modules and
ports.
Some of the functions that you can configure with the Device Manager are VSANs, port
channels, Remote Monitoring (RMON) alerts, general switch event filters, SNMP users and
roles, and Fibre Channel services.
Switch status and statistics are displayed in real time by the Cisco Device Manager in all its
views. The views are refreshed at a user-specified interval, which can be as frequent as every
10 seconds. Because of the frequency of refresh that is available, you can monitor switch
health, performance, and error statistics in real time. Historical statistics can be viewed when
the monitor option is deployed.
The device view tab graphically depicts the switch enclosure. The status of the switch cards,
ports, fans, and power supplies can be determined at a glance. Device Manager also provides an
intuitive way to drill down for configuration and to examine specific statistics, as well as view
all the log information.
You can use the License Manager to view license information. This information includes items
such as the name of the feature package, types of licenses that are installed, number of licenses
that are used, and expiration date. You can also use License Manager to install or remove
license key files.
1-82 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco Prime DCNM Federated Server
This topic describes the purpose of the Cisco Prime DCNM federated server.
FC FC FC FC
Central
Database
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-41
Cisco DCNM-SAN federated server architecture is an architecture that lets you federate
multiple Cisco DCNM-SAN servers.
Cisco has improved the scalability of an individual instance of Cisco DCNM-SAN server.
Previously, the maximum was 10,000 devices with Cisco NX-OS Release 4.1. Now the
maximum is 15,000 devices per instance of Cisco Fabric Manager Server (FMS).
Cisco DCNM-SAN federated services can now federate up to 10 instances of Cisco DCNM-
SAN server, and each of them manages its own set of devices independently.
For reporting purposes, you can pull the data together and generate aggregated reports from all
of devices. You can also move fabrics across the federation. If one fabric is getting close to the
maximum in one place, you can move the fabric to another place.
Cisco has tested the process of moving fabrics across the federation with up to 75,000 end
devices, and will continue to test larger fabrics.
This feature will become very important because now, with FCoE, every server is implicitly
SAN enabled. Therefore, the ability to move fabrics will become a critical and required feature
in the future.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-83
• The Cisco Prime DCNM control panel lists all discovered fabrics in the
federation.
• You can discover and manage fabrics on any Cisco Prime DCNM server
in the federation.
• Each fabric is associated with its corresponding Cisco Prime DCNM
server.
• You can open fabrics belonging to any Cisco Prime DCNM server in the
federation.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-42
As Ethernet networks are becoming more relevant to storage networking, Fabric Manager
needs to extend the management scope from SAN to incorporate LANs that are relevant to
storage networking paths carved out over Ethernet networks.
FCoE provides a method of transporting Fibre Channel traffic over a physical Ethernet
connection by encapsulating Fibre Channel frames in Ethernet packets.
In Cisco Nexus 5000 Series switches, FCoE is supported on all 10-Gigabit Ethernet interfaces.
Each FCoE interface in the Cisco storage network is configured with a MAC address, a VLAN
ID, and a Cisco Discovery Protocol neighbor. As such, visibility and manageability of these
storage networking paths over Ethernet is a key scalability requirement. Customers looking to
capitalize on the full business benefits of the Cisco Data Center Business Advantage strategy
find such scalability necessary.
1-84 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Users are able to discover switches and Ethernet ISLs through the Cisco
Discovery Protocol.
• Unified discovery discovers all Cisco MDS 9000 Series, Cisco Nexus,
and Cisco Catalyst switches, as well as interconnects (Ethernet, Fibre
Channel, and FCoE).
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-43
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-85
• Shared external database
• Suitable for remote high
availability, which requires
reliance on database replication
services
• Explicit assignment of a fabric to
a server
• Manual failover
• Cisco Prime DCNM Release
6.2(1) supports nondisruptive
automated failover for Cisco
DCNM for SAN management
• Secondary server installation
- Select the option to add server to
federation
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-44
1-86 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco Prime DCNM VM Awareness
This topic describes VM awareness in the Cisco Prime DCNM Software.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-46
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-87
• Navigate to VM > Physical Server > Embedded Switch > Network
Switch(s) > ISLs > Target Port.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-47
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-48
1-88 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-89
1-90 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Module Summary
This topic summarizes the key points that were discussed in this module.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—1-1
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-91
Module Self-Check
Use the questions here to review what you learned in this module. The correct answers and
solutions are found in the Module Self-Check Answer Key.
Q1) What is the number of fabric cards in the Cisco MDS 9710 Multilayer Director needed
to provide 768 Gbps per slot? (Source: Introducing Cisco MDS 9000 Series Switches)
A) 8
B) 3
C) 4
D) 6
Q2) Which two Cisco MDS 9000 Series switch line cards have service capability? (Choose
two.) (Source: Introducing Cisco MDS 9000 Series Switches)
A) 16-port SSN
B) 18/4-port MSM
C) 32-port 8-Gb Advanced Fibre Channel Module
D) Supervisor-2A
E) 48-port 16-Gb Fibre Channel module
Q3) Which option supports FCIP? (Source: Introducing Cisco MDS 9000 Series Switches)
A) Cisco 48-port 8-Gb/s Advanced Module
B) Cisco MDS 9148
C) Cisco MDS 9222i
D) Cisco 48-port 16-Gb/s FC Module
Q4) How many port groups are there on a 32-port 8-Gb/s Advanced line card? (Source:
Introducing Cisco MDS 9000 Series Switches)
A) 4
B) 6
C) 8
D) 10
Q5) How many port groups are there on a 48-port 8-Gb/s Advanced line card? (Source:
Introducing Cisco MDS 9000 Series Switches)
A) 2
B) 4
C) 6
D) 8
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-93
Q6) Which Cisco MDS 9000 Series tool allows you to monitor switch events, performance,
inventory, and fabric-wide, long-term behavior reporting from a remote location using
a web browser? (Source: Implementing Integrated Management)
A) Cisco Prime DCNM Device Manager
B) Cisco Fabric Manager
C) Cisco Prime DCNM Unified Web Client
D) Cisco Prime DCNM-SAN Client
Q7) What is the maximum number of Fibre Channel ports supported on the Cisco MDS
9710 Multilayer Director? (Source: Introducing Cisco MDS 9000 Series Switches)
A) 512
B) 256
C) 528
D) 384
Q8) How many FCoE ports are supported on the Cisco MDS 9250i Multiservice Fabric
Switch? (Source: Introducing Cisco MDS 9000 Series Switches)
A) 10
B) 20
C) 8
D) 40
Q9) What is the maximum number of full rate 10 Gbps Fibre Channel ports supported on
the 8-Gbps Advanced Modules? (Source: Introducing Cisco MDS 9000 Series
Switches)
A) 6
B) 8
C) 32
D) 24
1-94 Configuring Cisco MDS 9000 Series Switches (DCMDS) v1.0 © 2013 Cisco Systems, Inc.
Self-Check Answer Key
Q1) B
Q2) A, B
Q3) C
Q4) D
Q5) C
Q6) C
Q7) D
Q8) D
Q9) D
© 2013 Cisco Systems, Inc. Cisco MDS 9000 Series Switch Platforms 1-95
Module 2
Module Objectives
Upon completing this module, you will be able to install and configure MDS 9000 Series
switches. You will be able to meet these objectives:
Describe the boot sequence and how to perform the initial switch configuration using the
CLI, and demonstrate common uses of the CLI
Describe each of the Cisco NX-OS license packages, what each package provides, and the
process of upgrading or downgrading switch software
2-2 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 1
Objectives
Upon completing this lesson, you will be able to perform the initial switch configuration
process and install Cisco Prime Data Center Network Manager (DCNM). This ability includes
being able to meet these objectives:
Describe the boot sequence and purpose of each of the system memory areas
Describe the steps necessary to complete the initial setup routine on a newly installed
switch
Describe the essential CLI show commands
Explain the setup of the classroom lab environment
Switch Boot Sequence
This topic describes the switch boot sequence and purpose of each of the system memory areas.
The Cisco MDS 9000 Series contains an internal bootflash that is used for holding the current
bootable images, which are the kickstart and system images. License files are also stored in the
bootflash. The bootflash can also be used for storing any file, including copies of the startup
configuration. In addition, Cisco MDS 9500 and 9700 Series supervisors have an external
bootflash memory slot or USB slots, which can be used for transferring image files between
switches.
The Linux operating system uses the system RAM memory, and a volatile file system is used
for storing temporary files. Any changes that are made to the switch operating parameters or
configuration are instantly active and held in the running configuration in RAM.
All data that is stored in RAM is lost when the Cisco MDS 9000 Series switch is rebooted, so
an area of NVRAM is used for storage of critical data. The most critical of these factors is the
running configuration for the switch. The running configuration should be saved to the startup
configuration in NVRAM with the CLI copy run start command. The configuration is then
preserved during the switch reboot.
During the switch boot process, the switch must know where to find the kickstart and system
images, and what the images are called. Two boot parameters that point to these two files are
held in NVRAM.
2-4 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Both the kickstart and system images must be present for a successful
boot.
• Boot parameters point to the location of kickstart and system images.
• The boot process fails if parameters are wrong or images are missing.
• The install command simplifies the process and checks for errors.
System RAM
System Cisco NX-OS
Loads Cisco NX-OS Linux system space
Checks file systems running-config
Loads startup-config
switch # prompt
Kickstart
NVRAM
Loads Linux kernel and drivers Startup configuration
Gets system boot parameters Boot parameters
Verifies system image and loads #boot system bootflash:system6x img
Loader switch (boot) # prompt #boot kickstart bootflash:kickstart6x.img
The BIOS on the supervisor module first runs power-on self-test (POST) diagnostics and then
runs the loader bootstrap function.
The boot parameters are held in NVRAM and point to the location and name of both the
kickstart and system images. The loader obtains the location of the kickstart file, usually on
bootflash, and verifies the kickstart image before loading the image.
The kickstart loads the Linux kernel and device drivers and then loads the system image.
Again, the boot parameters in NVRAM should point to the location and name of the system
image, usually on bootflash. The kickstart then verifies the system image and loads the system
image.
Finally, the system image loads the Cisco Nexus Operating System (NX-OS), checks the file
systems, and proceeds to load the startup configuration, containing the switch configuration,
from NVRAM.
If the boot parameters are missing or have an incorrect name or location, then the boot process
fails at the last stage. If this failure happens, the administrator must recover from the error and
reload the switch. The install all command is a script that greatly simplifies the boot procedure
and checks for errors and the upgrade impact before proceeding.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-5
Completing the Initial Setup Routine
This topic describes the steps necessary to use the CLI to complete the initial switch
configuration process.
The initial setup routine must be performed to allow administrative users to access the switch
for out-of-band (OOB) management. This topic explains the steps that are required to perform
this task.
The Initial Configuration dialog box is run automatically upon reboot when the switch first
comes from the factory. All Cisco MDS 9000 Series switches have the network administrator
as a default user (admin) and the first requirement of the configuration is to set the password for
the admin user. This password needs to have a minimum of eight characters. The default user
must always be admin.
The console needs a rollover RJ-45 cable. For example, there is a switch on the supervisor
module of the Cisco MDS 9500 Series switches that, if placed in the out position, allows the
use of a straight-through cable. The switch is shipped in the in position and is located behind
the LEDs.
2-6 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Three mechanisms launch the initial setup utility:
- Automatic from factory.
- After the write erase and reload command sequence.
- Manually, using the setup command:
• The text menu prompts the administrator for required information.
• Press Enter to accept defaults.
write erase
Start device
reload
Set admin
password
Enter
Enter setup Configure the Ctrl-C
setup
command Yes device
script?
No or No or
Ctrl-C Edit Ctrl-C Save Yes
Display config? config?
switch#
prompt Save and
Yes No or
Ctrl-C apply config
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-8
The Cisco NX-OS setup utility is an interactive CLI mode that guides you through a basic
configuration (called a startup configuration) of the system. The setup utility allows you to
configure enough connectivity for system management, and to build an initial configuration file
using the System Configuration dialog.
The setup utility is used mainly for configuring the system initially, when no configuration
exists, although the utility can be used at any time for basic device configuration. Any
configured values are kept when you skip steps in the script. For example, if there is already a
configured mgmt0 interface address, the setup utility does not change that configuration if you
skip that step. However, if there is a default value for the step, the setup utility changes to the
configuration using the default and not the configured value.
Note Be sure to configure the IP version 4 (IPv4) route, the default network IPv4 address, and the
default gateway IPv4 address to enable Simple Network Management Protocol (SNMP)
access.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-7
*---- System Admin Account Setup ----
*Note: setup is mainly used for configuring the system initially, when no
configuration is present. So setup always assumes system defaults and not the
current system configuration values.
Press Enter at anytime to skip a dialog. Use ctrl-c at anytime to skip the
remaining dialogs.
*The actual script may vary depending on switch model number and Cisco NX-OS version.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-9
Once the initial configuration has been created, the switch will be accessible through Cisco
Prime DCNM.
You can enable a secure password standard using the password strength-check command. A
secure password should contain characters from at least three of the following classes:
Lowercase letters
Uppercase letters
Digits
Special characters
2-8 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Configure read-only SNMP community string (yes/no) [n]: <Enter>
Enter the switch name: PxMDSy (where x is your pod number and y is the switch
number; for example: P10MDS1 or P9MDS1)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-10
At this point, the name of your switch is entered along with the IP address and subnet mask of
the OOB Ethernet management port interface. Without this information, management access to
the switch through the OOB Ethernet port would not be possible.
When there are options to choose with each dialog, you have two choices. Pressing Enter will
accept the choice indicated between the square brackets (for example, [n]), or you can select the
alternative. In the example, “n” (for “no”) was entered at the “Enable IP routing?,” “Configure
static route?,” and “Configure the default network?” prompts where [y] was the current
selection and where these items were not desired in the configuration. However, “Configure the
default gateway?” was desired, so pressing Enter enabled the user to enter an IP address on the
next dialog line. No other options in the example dialog script were changed.
The option Slow Drain Device Detection and Congestion Avoidance is automatically enabled.
Configuration of the congestion/no_credit settings can be modified in the initial setup. For now,
choose the defaults for initial setup.
The default stuck frame timeout value is 500 ms. Cisco recommends that you retain the default
configuration for Inter-Switch Links (ISLs) and configure a value not exceeding 500 ms (100 to
200 ms) for fabric (F) ports. The default is 500 ms.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-9
Enable the ssh service? (yes/no) [y]: <No>
Enable the telnet service? (yes/no) [n]: <Yes> Recommended:
Enable the http-server? (yes/no) [y]: <Enter> Disable Telnet (the instructor may
Configure clock? (yes/no) [n]: <Enter> want Telnet enabled), use SSH,
Configure timezone? (yes/no) [n]: <Enter> and configure NTP service.
Configure summertime? (yes/no) [n]: <Enter>
Configure the ntp server? (yes/no) [n]: <Enter>
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-11
A Network Time Protocol (NTP) server provides a precise time source (radio clock or atomic
clock) to synchronize the system clocks of network devices. NTP is transported over UDP/IP.
All NTP communications use Coordinated Universal Time (UTC). An NTP server receives its
time from a reference time source, such as a radio clock or atomic clock, attached to the time.
NTP distributes this time across the network. Using NTP is optional but recommended.
Telnet services are enabled to remotely log into the switch. The Domain Name System (DNS)
client on the switch communicates with the DNS server to perform the IP address-to-name
mapping. Setting up the DNS server is optional but recommended.
The final section of the initial configuration procedure sets the default states of interfaces, the
default modes for interfaces, and the designated default zone policy.
2-10 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• The system prints a summary of the configuration for your review.
The following configuration will be applied:
password strength-check
switchname P7MDS1
interface mgmt0
ip address 10.0.7.5 255.255.255.0
no shutdown
ip default-gateway 10.0.7.254
ssh key rsa 1024 force
feature ssh
system timeout congestion-drop default mode F
feature http-server
system default switchport shutdown
system default switchport trunk mode on
no system default zone default-zone permit
no system default zone distribute full
no system default zone mode enhanced
[########################################] 100%
Copy complete, now saving to disk (please wait)...
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-12
The system prints a summary of the configuration for your review. The configuration that is
printed will be exactly what you entered. Compare the configuration once more with the
information you obtained in the initial setup requirements to verify that you made no typing
errors. If everything was entered correctly, then you do not need to edit.
The system will ask if you would like to edit the configuration that just printed out. Any
configuration changes made to a switch are immediately enforced but are not saved. If no edits
are needed, then you will be asked if you want to use this configuration and save the
configuration as well. Because [y] (“yes”) is the default selection, pressing Enter will activate
this function, and the configuration becomes part of the running-config and is copied to the
startup-config.
This step also ensures that the kickstart and system boot images are automatically configured.
Therefore, you do not have to run a copy command after this process. A power loss will restart
the switch using the startup-config, which has everything saved that has been configured to
nondefault values. If you do not save the configuration at this point, none of your changes will
be updated the next time that the switch is rebooted.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-11
CLI Show Commands
This topic describes CLI essentials and provides examples of common CLI show commands.
Mod Sw Hw
--- -------------- ------
3 6.2(0.302) 0.305
5 6.2(0.302) 0.302
6 6.2(0.302) 0.302
..
..
Xbar Ports Module-Type Model Status
--- ----- ----------------------------------- ------------------ --------
4 0 Fabric Module 1 DS-X9710-FAB1 ok
5 0 Fabric Module 1 DS-X9710-FAB1 ok
6 0 Fabric Module 1 DS-X9710-FAB1 ok
…
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-14
The Cisco NX-OS has a design similar to Cisco IOS with several enhancements:
The show commands are executed identically from both EXEC mode and configuration
mode.
The show commands have parser help available regardless of the interface mode that you
are in.
2-12 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
P10-MDS-1# show hardware
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2009, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.
Software
BIOS: version 1.0.19
loader: version N/A
kickstart: version 4.2(3)
system: version 4.2(3)
BIOS compile time: 02/01/10
kickstart image file is: bootflash:/m9200-s2ek9-kickstart-mz.4.2.3.bin
kickstart compile time: 10/26/2009 0:00:00 [12/05/2009 05:34:39]
system image file is: bootflash:/m9200-s2ek9-mz.4.2.3.bin
system compile time: 10/26/2009 0:00:00 [12/05/2009 06:14:21]
Hardware
cisco MDS 9222i ("4x1GE IPS, 18x1/2/4Gbps FC/Sup2")
Motorola, e500v2 with 1036308 kB of memory.
Processor Board ID JAE14190GGT
Device name: P10-MDS-1
bootflash: 1023120 kB
Kernel uptime is 0 day(s), 2 hour(s), 22 minute(s), 41 second(s)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-15
When using the CLI parser help, the Tab key displays a brief list of all available options at the
current branch. The question mark (?) key displays full parser help strings.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-13
switch# show run | ?
cut Print selected parts of lines.
egrep Egrep - print lines matching a pattern
grep Grep - print lines matching a pattern
head Display first lines
last Display last lines
less Filter for paging
no-more Turn-off pagination for command output
sed Stream Editor
sort Stream Sorter
tr Translate, squeeze, and/or delete characters
uniq Discard all but one of successive identical lines
vsh The shell than understands cli command
wc Count words, lines, characters
begin Begin with the line that matches
count Count number of lines
end End with the line that matches
exclude Exclude lines that match
include Include lines that match
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-17
Several advanced pipe (|) options are available for CLI output:
egrep
less
no-more
wc
2-14 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
switch# sho run | egrep ?
WORD Search for the expression
count Print a total count of matching lines only
ignore-case Ignore case difference when comparing strings
invert-match Print only lines that contain no matches for <expr>
line-exp Print only lines where the match is a whole line
line-number Print each match preceded by its line number
next Print <num> lines of context after every matching line
prev Print <num> lines of context before every matching line
word-exp Print only lines where the match is a complete word
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-18
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-15
• Saving the configuration in NVRAM
P7MDS1# copy running-config startup-config
[########################################] 100%
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-19
Configuration files contain the Cisco NX-OS Software commands that are used to configure the
features on a Cisco NX-OS device. There are two types of software configuration files:
Running-configuration contains the current configuration and changes in memory.
Startup-configuration contains the saved configuration features in NVRAM.
To change the running configuration, use the configure terminal command to enter global
configuration mode.
To save those changes to the startup configuration, use the copy running-configuration
startup-configuration command.
A copy of the running configuration can also be saved to a remote server as a backup or to use
when configuring other Cisco NX-OS devices.
2-16 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lab Environment
This topic describes the setup of the classroom lab environment.
JBOD1
MDS9710-A MDS9710-B
P1 P2
1/5 1/5
P2 1/1 1/1 P1
MDS3 MDS4
HOST 1 10.0.x.13 10.0.x.14 HOST 2
E0 10.0.x.1 E0 10.0.x.2
E1 10.1.x.2 E1 10.1.x.6
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-21
The figure provides a detailed reference of the lab environment. Use this reference to
familiarize yourself with the layout of components in the lab environment before starting the
labs.
Cisco MDS Switches 1 and 2 are connected with three 4-Gbps ISLs, one in each port
group, in slot 1. Hosts 1 and 2 contain Fibre Channel host bus adapters (HBAs) that provide
host connectivity to each Cisco MDS switch. Host 1 and Host 2 are preinstalled with Cisco
Device Manager and Cisco Prime DCNM for management of the pod SAN environment.
Labs will instruct students to uninstall and reinstall these programs.
Cisco MDS Switches 3 and 4 can be put into Cisco N-Port Virtualizer (NPV) mode to
demonstrate the NPV and N-Port ID Virtualization (NPIV) features.
Two or more dual-ported Fibre Channel disk drives are housed in Just a Bunch of Disks
(JBOD) and dual attached to Cisco MDS Switches 1 and 2.
Two Gigabit Ethernet ports (G1/1 and G1/2) on MDS1 are connected to their
corresponding ports on MDS2 to support Fibre Channel over IP (FCIP) connectivity and
Internet Small Computer Systems Interface (iSCSI).
MDS1 interfaces fc 1/1 and fc 1/2 are connected to shared MDS9710-A in each pod.
MDS2 interfaces fc 1/1 and fc 1/2 are connected to shared MDS9710-B in each pod.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-17
Summary
This topic summarizes the key points that were discussed in this lesson.
• The Cisco MDS 9000 Series Switches contain an internal bootflash that
is used for holding the current bootable images, which are the kickstart
and system images.
• The initial setup asks you to define the default gateway IP address, the
system defaults for Cisco MDS switch interfaces, the switch port trunk
mode, and the zoning policy. Initial configuration requirements include
the administrator username and password, switch name, and
management Ethernet port. Before a switch can be managed remotely,
you must first configure its IP parameters, which are the IP address and
subnet mask.
• The CLI has several modes, which are EXEC, global configuration, and
subconfiguration.
• The lab pod contains two Cisco MDS 9222i Multiservice Modular
Switches, two Cisco MDS 9148 Multilayer Fabric Switches, and two
hosts that are used to manage the switches.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-22
2-18 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 2
Objectives
Upon completing this lesson, you will be able to explain the installation and licensing of Cisco
NX-OS Software. This ability includes being able to meet these objectives:
Describe software licensing practices for Cisco MDS 9000 Series switches
Describe the Cisco NX-OS image installation and upgrade process
Explain the Cisco NX-OS version downgrade procedure
Software Licensing
This topic describes the software licensing practices for Cisco MDS 9000 Series switches.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-4
Any feature not included in a license package is bundled with the MDS 9000 Series switches
and is provided at no extra charge to you.
The licensing model that is defined for the Cisco MDS product line has two options:
Feature-based licenses allow features that are applicable to the entire switch. The cost
varies based on per-switch usage.
Module-based licenses allow features that require additional hardware modules. The cost
varies based on per-module usage. An example is the Cisco MDS 9000 SSN-16 module
using the Fibre Channel over IP (FCIP) feature. Each module requires its own separate
license. If you replace a module that requires a license with a module of the same type
(such as replacing a Storage Services Node [SSN] with another SSN), then the existing
license will support the new module.
Note The Cisco MDS 9222i Multiservice Fabric Switch enables SAN extension features on the
four fixed IP services ports only. If you install a module with IP ports in the empty slot on the
MDS 9222i Multiservice Fabric Switch, a separate SAN extension over IP license is required
to enable related features, such as FCIP, on the IP ports of the additional module.
2-20 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Mainframe (FICON) XRC Acceleration SAN Extension over IP
• FICON Protocol • XRC over FCIP • FCIP Protocol
• FICON CUP • XRC Extension • SAN Routing (IVR) for FCIP Storage Services Enabler
• Fabric Binding • Hardware-Based Compression • FAIS Partner
• Switch Cascading • FCIP Write and Tape Acceleration • SANTap Applications
• Intermixing • SAN Extension Tuner • NASB
I/O Accelerator
• Write Acceleration
• Tape Acceleration
• Deflate Compression
FC FC
FC Enterprise Package FC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-5
2-22 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Standard license package is free with • Standard package is free
the MDS 9000 Series switch - Fibre Channel and iSCSI
• Additional license packages - iSCSI server load balancing
- MDS 9000 Series Enterprise Package - VSANs and zoning
- MDS 9000 Series SAN Extension over - Port channels
IP Package
- Fibre Channel Congestion Control and
- MDS 9000 Series Mainframe Package virtual output queuing
- MDS 9000 Series DMM Package - Diagnostics (Switch Port Analyzer
- On-Demand Port Activation License [SPAN], Remote SPAN [RSPAN], FC-
Analyzer)
- MDS 9000 IOA Package
- Fabric Manager and Device Manager
- Cisco XRC Acceleration License
- SNMPv3, SSH, SSL, SFTP
• Nondisruptive installation
- SMI-S 1.10 and FDMI compliance
• Features evaluated free for 120 days - RBAC
- Exceptions are port licensing and Cisco - RADIUS and TACACS+, MS CHAP
MDS 9000 IOA
- RMON, syslog, Call Home
• License installation saves a
permanent copy of licenses to the - Brocade and McData native interop
chassis modes
• A license is not required for MDS - NPIV
9000 8-port 10-Gb/s FCoE module - Command scheduler
- IPv6 (management and IP services)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-6
The Cisco MDS 9000 Series NX-OS is the underlying system software that powers the
Cisco MDS 9000 Series Multilayer Switches. Cisco NX-OS is designed for SANs following in
the tradition of Cisco IOS Software to create a strategic SAN platform of superior reliability,
performance, scalability, and features.
In addition to providing all the features that the market expects of a storage network switch,
Cisco NX-OS provides many unique features that help the Cisco MDS 9000 Series to deliver
low total cost of ownership (TCO) and a quick return on investment (ROI).
Software Licensing
Licenses are available for all switches in the Cisco MDS 9000 Series. Licensing allows you to
access specified premium features on the switch after you install the appropriate license for that
feature.
The licensing feature maintains the following high-availability standards for all switches in the
Cisco MDS 9000 Series:
Installing any license in any switch is a nondisruptive process.
Installing a license automatically saves a copy of permanent licenses to the chassis in all
switches.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-23
Enabling a license feature without a license key starts a counter on the grace period. The
grace period allows 120 days to install the appropriate license keys or disable the use of
that feature. If, at the end of the 120-day grace period, the switch does not have a valid
license key for the feature, the feature is automatically disabled by the switch.
Directors in the Cisco MDS 9500 Series have the following additional high-availability
features:
The license software runs on both supervisor modules and provides failover protection.
The license key file is mirrored on both supervisor modules. Even if both supervisor
modules fail, the license file continues to function from the version that is available on the
chassis.
2-24 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• MDS 9000 Series Enterprise Package
• Feature-based license applied
- Enhanced security features
to the MDS chassis: • VSAN-based access control
- Enhanced security • FC-SP authentication
• DH-CHAP authentication locally, or
- Traffic engineering remotely through RADIUS or TACACS+
• Fibre Channel port security and fabric
- IVR binding
- Extended buffer-to-buffer credits • IPsec protocol for iSCSI and FCIP
(BB_Credits) • Cisco TrustSec Fibre Channel link
encryption
- QoS • IKE digital certificates
- Advanced traffic engineering
- Switch-to-switch authentication • Fibre Channel QoS
- Host-to-switch authentication • Fibre Channel write acceleration
• Zone-based traffic prioritizing
• Zone-based Fibre Channel QoS
• Extended BB_Credits
• SCSI flow statistics
• SAN device virtualization
• Extended BB_Credits
- Enhanced VSAN functionality
• IVR-NAT over Fibre Channel
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-7
The MDS 9000 Series Enterprise Package includes the following enhanced network security
features:
Switch-switch and host-switch authentication: Fibre Channel Security Protocol (FC-SP)
capabilities in Cisco MDS 9000 NX-OS provide switch-switch and host-switch
authentication. This feature helps eliminate disruptions that may occur because of
unauthorized devices connecting to a large enterprise fabric.
Diffie-Hellman Challenge Handshake Authentication Protocol (DH-CHAP): This
protocol is used to perform authentication locally in the Cisco MDS 9000 Series switch or
remotely through RADIUS or TACACS+. If authentication fails, a switch or host cannot
join the fabric.
Port security: This feature locks down the mapping of an entity to a switch port. The
entity can be a host, target, or switch, and is identified by its world wide name (WWN).
This feature helps ensure that SAN security is not compromised by connection of
unauthorized devices to a switch port.
VSAN-based access control: This feature allows customers to define roles in which the
scope of the roles is limited to certain VSANs. For example, a network administrator role
can be set up to allow configuration of all platform-specific capabilities. A VSAN-
administrator role can be set up to allow configuration and management of only specific
VSANs. VSAN-based access control reduces SAN disruptions by localizing the effects of
user errors to the VSANs for which the user has administrative privileges.
IP Security (IPsec): IPsec is available for FCIP and Internet Small Computer Systems
Interface (iSCSI) over Gigabit Ethernet ports on the MDS 9222i Multiservice Modular
Switch and MDS 9250i Multiservice Fabric Switch. The proven IETF-standard IPsec
capabilities offer secure authentication, data encryption for privacy, and data integrity.
Internet Key Exchange version 1 (IKEv1) and IKE version 2 (IKEv2) protocols are used to
dynamically set up the security associations for IPsec using preshared keys for remote-side
authentication.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-25
Digital certificates: Digital certificates are issued by a trusted third party and are used as
electronic passports to prove the identity of certificate owners. After the identity of the
owner is verified by the trusted third party, the certificate uses the public encryption key of
the owner to protect identity data that is contained in the certificate. On the Cisco MDS
9000 Series platform, digital certificates apply to IKE as well as to Secure Shell (SSH).
Fabric binding for open systems: Fabric binding helps ensure that Inter-Switch Links
(ISLs) are enabled only between switches that have been authorized in the fabric binding
configuration. This feature helps prevent unauthorized switches from joining the fabric or
disrupting current fabric operations.
Cisco TrustSec Fibre Channel Link Encryption: Cisco TrustSec Fibre Channel Link
Encryption helps ensure data integrity and privacy. Cisco TrustSec Fibre Channel Link
Encryption is an extension of the FC-SP feature and uses the existing FC-SP architecture.
Fibre Channel data between expansion ports (E Ports) of 8-Gbps and 16-Gbps modules can
be encrypted. The encryption algorithm is 128-bit Advanced Encryption Standard (AES),
and enables either AES Galois/Counter Mode (AES-GCM) or AES Galois Message
Authentication Code (AES-GMAC) for an interface. AES-GCM mode provides encryption
and authentication of the frames, and AES-GMAC provides only the authentication of the
frames that are being passed between the two E Ports. Encryption is performed at line rate
by encapsulating frames at egress, with encryption using GCM and AES 128-bit
encryption. At ingress, frames are decrypted and authenticated for integrity. There are two
primary use cases:
— Customers connecting outside the data center over native Fibre Channel (for
example, using dark fiber, Coarse Wavelength-Division Multiplexing [CWDM] or
Dense Wavelength-Division Multiplexing [DWDM])
— Encryption within the data center
2-26 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• MDS 9000 Series SAN Extension
over IP Package for MDS 9250i
Multiservice Fabric Switch, MDS
9222i Multiservice Modular
Switch, and MDS 9000 SSN-16.
- Integrated support for FCIP MDS 9222i Multiservice
Modular Switch
- TCP optimization, traffic shaping
- FCIP compression
- IVR over FCIP
- IVR NAT over FCIP
- FCIP write acceleration MDS 9250i Multiservice
- FCIP tape acceleration Fabric Switch
- Seamless integration of Unified I/O
over FCIP
- SAN extension tuner
• The license is integrated into the
MDS 9250i Multiservice Fabric MDS 9000 SSN-16
Switch and MDS 9222i
Multiservice Modular Switch.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-8
The MDS 9000 Series SAN Extension over IP Package includes the following features:
Integrated support for FCIP: FCIP can be used to connect Fibre Channel SANs across
long distances using IP networks. Each Cisco MDS 9000 Series Gigabit Ethernet port can
manage up to three FCIP tunnels. Without the MDS 9000 SAN Extension over IP Package,
these capabilities would require multiple systems from different vendors.
Complete integration of the Cisco FCIP implementation with value-added features on
the Cisco MDS 9000 Series switches: The Cisco VSAN function is supported across FCIP
links between SANs. FCIP can be used with the MDS 9000 Series Enterprise Package
features such as quality of service (QoS) over a WAN. Use of Virtual Routing Redundancy
Protocol (VRRP) increases IP network availability for FCIP connections by allowing the
failover of connections from one Gigabit Ethernet port to another. Load balancing using
port channels can also be performed over FCIP links.
Optimization of the Cisco MDS 9000 NX-OS Software implementation of FCIP: The
Cisco NX-OS Software implementation of FCIP on the Cisco MDS 9000 Series products is
optimized for wire performance through enhancements that address out-of-order delivery
problems, support jumbo frames, provide traffic shaping, and perform TCP optimization.
FCIP compression: FCIP compression in Cisco MDS 9000 NX-OS increases the effective
WAN bandwidth without costly infrastructure upgrades. By integrating data compression
in the MDS 9222i Multiservice Modular Switch, MDS 9250i Multiservice Fabric Switch,
and 16-Port Storage Services Node (SSN-16) modules, more efficient FCIP-based
business-continuity and disaster-recovery solutions can be implemented without the need to
add and manage a separate device. Gigabit Ethernet ports on the Cisco MDS 9000 Series
products can achieve up to a 43:1 compression ratio, with typical ratios of 4:1 over a wide
variety of data sources.
Inter-VSAN Routing (IVR) for FCIP: IVR allows selective transfer of data traffic
between specific initiators and targets on different VSANs without the need to merge
VSANs into a single logical fabric. IVR can be used with FCIP to increase the resiliency of
SAN extension over IP networks and create more efficient business-continuity and disaster-
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-27
recovery solutions. IVR for FCIP is included in the MDS 9000 Series SAN Extension over
IP Package. To use IVR for Fibre Channel, the MDS 9000 Series Enterprise Package is
required.
FCIP Write Acceleration: FCIP Write Acceleration significantly improves application
performance when storage traffic is routed over WANs using FCIP. When FCIP Write
Acceleration is enabled, WAN throughput is increased, and write I/O latency is decreased
by reducing the effects of WAN latency.
FCIP Tape Acceleration: Centralizing tape backup and archive operations provides
significant cost saving by allowing expensive robotic tape libraries and high-speed drives to
be shared. This sharing poses a challenge for remote backup media servers that need to
transfer data across a WAN. High-performance streaming tape drives require a continuous
flow of data to avoid write data underruns, which dramatically reduce write throughput.
Without FCIP Tape Acceleration, the effective WAN throughput for remote tape backup
decreases exponentially as the WAN latency increases. Cisco MDS 9000 NX-OS FCIP
Tape Acceleration helps achieve near-full throughput over WAN links for remote tape
backup operations.
Seamless integration of Unified I/O with FCIP: This feature provides support for FCIP
for Fibre Channel traffic originating from FCoE access switches. This support provides
seamless integration of FCoE traffic with the existing FCIP installed base.
SAN Extension Tuner: To help optimize FCIP performance, the SAN Extension Tuner
generates SCSI I/O commands that are directed to a specific virtual target. The tuner
reports the number of I/O operations per second and I/O latency results, which helps
determine the number of concurrent I/O operations that are needed to increase FCIP
throughput.
This package is licensed on a per-engine, per-module basis. The number of licenses that a
customer needs to purchase is equal to the number of engines to be enabled for the feature on
the MDS 9000 SSN-16. The Cisco MDS 9000 Series SAN Extension license features are
enabled by default on the embedded ports on the MDS 9222i Multiservice Modular Switch and
MDS 9250i Multiservice Fabric Switch chassis. No additional license is required to use FCIP
and FCIP compression on these ports.
2-28 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Mainframe package (FICON)
- FICON protocol and CUP management (MAINFRAME_PKG)
- FICON VSAN and intermixing
- Switch cascading
- Fabric binding for FICON
- IBM TotalStorage Virtual Tape Server
- IBM TotalStorage XRC application
- FICON tape acceleration
- FICON for the Cisco MDS 9100 Series switches
- Persistent FCIDs for FICON
- Configuration locking for FICON
- Port swap, block, prohibit
- FICON qualification
• XRC Acceleration
- Activates FICON XRC acceleration on the Cisco MDS 9222i Multiservice Modular
Switch and on the MSM-18/4 line card module.
- Requires MAINFRAME_PKG and SAN_EXTN_OVER_FCIP.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-9
XRC_ACCL activates FICON XRC acceleration on the Cisco MDS 9222i Multiservice
Modular Switch and MDS9250i Multiservice Fabric Switch and on the MSM-18/4 in the Cisco
MDS 9500 Series Directors.
You must install the mainframe package and the MDS 9000 Series SAN Extension over FCIP
package before you install the XRC Acceleration License. The mainframe package enables the
underlying FICON support, and the FCIP license or licenses enable the underlying FCIP
support.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-29
• PORT_ACTIVATION_PKG
• MDS 9148 Multilayer Fabric Switch
- The first 16 ports are licensed by default.
- There are additional ports in 8-port increments.
- Allows users to expand SAN connectivity as needed by enabling users to
purchase and install additional port licenses.
- By default, all ports are eligible for license activation.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-10
The On-Demand Port Activation License allows users to expand their SAN connectivity as
needed by enabling users to purchase and install additional port licenses. By default, all ports
are eligible for license activation.
On Cisco MDS 9100 Series Multilayer Fabric Switches, licenses are allocated sequentially.
However, you can move or reassign licenses to any eligible port on the switch. The first group
of ports is licensed by default. You are not required to perform any tasks beyond the default
configuration unless you wish to immediately activate additional ports, make ports ineligible,
or move port licenses.
The On-Demand Port Activation License activates ports, in 16-port increments, on the MDS
9148 Multilayer Fabric Switch, which has 48 ports. The first 16 ports are licensed by default.
2-30 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• The MDS 9000 DMM feature runs on the MSM 18/4 module, MDS 9222i
Multiservice Modular Switch, and MDS 9250i Multiservice Fabric Switch.
- Llicense activates Cisco DMM
- Provides online migration of heterogeneous arrays
- Provides simultaneous migration of multiple LUNs
- Unequal size LUN migration
- Rate-adjusted migration
- Verification of migrated data
- Dual fabric support Existing
host
Storage
- Two types of licenses:
• Permanent
New
• 180-day license Storage
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-11
The data migration task is typically both complex and manual because of the myriad operating
systems, file systems, application servers, volume management systems, physical devices, and
networks involved. IT departments face the following challenges in migrating data:
The downtime that is incurred
The need to add data migration software to servers
The potential for data loss and corruption
Additional errors from the complexities of heterogeneous environments
Simply running out of time before the job is done
The practice of conventional planned-outage periods for server maintenance and changes is
nearly obsolete as businesses increasingly require continuous system operation. A special
outage period solely for upgrading storage is often difficult for IT administrators to schedule.
A solution that addresses all these data migration concerns will greatly diminish the challenges
that are currently experienced in migrating data. Cisco DMM is such a solution. Cisco DMM is
a fabric-based data migration solution that transfers block data nondisruptively across
heterogeneous storage volumes and across distances, whether the host is online or offline. With
no host components to deploy, the time-consuming, costly, and sensitive task of installing and
licensing hardware and software on servers is avoided. In addition, the host CPU and
bandwidth cycles are available to the application in their entirety, so applications do not
experience any deterioration in performance.
This innovative Cisco network-integrated solution has numerous advantages over competitive
solutions available today:
Transparent online data migration across heterogeneous storage arrays. Neither the host
server nor the storage array needs reconfiguration when Cisco DMM is introduced into the
user environment, and no zoning configuration is required. The storage administrator can
complete the migration task without needing to inform the server, system, or database
administrator that a migration is being planned.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-31
Cisco DMM can move data over long distances when the copy operation must be
completed asynchronously with write I/O operations.
Cisco DMM can securely erase the data from the existing storage so that this step can be
completed before the array leaves the customer data center.
Centralized management with the GUI and a wizard for easy configuration. This feature
enables you to do the following:
— Pace the data migration job.
— Schedule the start and cutover times.
— View the effect on the SAN of the extra traffic that is generated by the data
movement.
A configuration wizard simplifies setup and use, and a CLI allows advanced users to
complete their migration tasks using scripts.
Perform per-server and per-storage array configuration.
Perform large-scale, high-performance migration with rate-limiting options.
No rewiring is required in most cases.
No host agents are required, minimizing the effect on the CPU and mitigating software
image management concerns.
Support is provided for active/active or active/passive storage access across dual redundant
fabrics.
2-32 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Provides centralized MDS 9000 • IOA_9222i_PKG, and
IOA_9250i_PKG
IOA features
- Activates on the single engine MDS
- Fibre Channel Write Acceleration 9222i Multiservice Modular Switch and
MDS 9250i Multiservice Fabric Switch.
- Fibre Channel Tape Acceleration
• IOA_SSN16_PKG
- FCIP Write Acceleration - Activates MDS 9000 IOA for an MDS
- FCIP Tape Acceleration 9000 SSN-16 engine.
- The MDS 9000 SSN-16 requires a
- Extend MDS 9000 IOA to any separate license for each engine on
device in the SAN which you want to run MDS 9000 IOA.
- Transparent deployment, which - Each MDS 9000 SSN-16 engine that
you configure for MDS 9000 IOA checks
means no reconfiguration or out a license from the pool that is
wiring managed at the chassis level.
- Transport and protocol agnostic, - SSN-16 MDS 9000 IOA licenses are
available singly (the usual model) or in a
so package works with Fibre four-pack. If you install a four-pack on
Channel, Gigabit Ethernet, and your chassis, the MDS 9000 IOA four-
FCIP pack license appears the same as four
single MDS 9000 IOA licenses.
• IOA_18/4_PKG
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-12
The MDS 9000 IOA feature provides Small Computer Systems Interface (SCSI) acceleration in
a SAN where the sites are interconnected over long distances using Fibre Channel or FCIP
ISLs.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-33
• Feature-rich standard package (no extra charge)
- Simple bundles for advanced features that provide significant value
- All upgrades included in support pricing
• High availability
- Nondisruptive installation
- 120-day grace period for enforcement (except port license and MDS 9000
IOA)
• Ease of use
- Automated license key installation
- Centralized license management console
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-13
License management is a notorious problem. License usability can be a problem with existing
products, and customers have concerns about compromising availability with disruptive
software installations for licensed features.
Cisco license packages require a simple installation of an electronic license. No software
installation or upgrade is required. Licenses can also be installed on the switch in the factory.
MDS switches store license keys on the chassis serial PROM (SPROM) so license keys are
never lost, even during a switch software reinstall.
Cisco Prime DCNM includes a centralized license management console that provides a single
interface for managing licenses across all MDS switches in the fabric. This ability reduces
management overhead and prevents problems due to improperly maintained licensing. If an
administrative error does occur with licensing, the switch provides a grace period before the
unlicensed features are disabled. This grace period provides sufficient time to correct the
licensing issue.
Most licensed features can be evaluated for up to 120 days before a license is required.
2-34 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Obtain the Cisco serial number for your switch using the show license
host-id command.
• Obtain your claim certificate or proof of purchase document.
• Locate the website URL address from the claim certificate or proof of
purchase. (www.cisco.com/go/licenses)
• Go to the website and enter the switch serial number and PAK.
• The digitally signed license key will be sent to you by email.
Web Browser
Proof of Purchase
Website URL URL Address
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-14
Use the following steps to obtain a serial number by accessing the license key file:
Step 1 Obtain the serial number for your switch using the show license host-id command.
Step 2 Obtain your claim certificate or proof of purchase document.
Step 3 Locate the website URL address from the claim certificate or proof of purchase.
Step 4 Go to the website and enter the switch serial number and Product Authorization Key
(PAK).
Step 5 The digitally signed license key will be sent to you by email.
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-35
• From the CLI, use the install license command.
• Use the show license command to verify status.
switch# install license bootflash:license_file.lic
Installing license ..done
switch# show license
AMS1-9222i-ALL-FOX1229H7U7.lic:
SERVER this_host ANY
VENDOR cisco
INCREMENT FM_SERVER_PKG cisco 1.0 permanent uncounted \
VENDOR_STRING=<LIC_SOURCE>MDS_SWIFT</LIC_SOURCE><SKU>M9200-ALL-LICENSES-INTRL</SKU> \
HOSTID=VDH=FOX1229H7U7 \
NOTICE="<LicFileID>20090107135901713</LicFileID><LicLineID>1</LicLineID> \ <PAK></PAK>"
SIGN=243547A4AD2E
INCREMENT SAN_EXTN_OVER_IP cisco 1.0 permanent 1 \
VENDOR_STRING=<LIC_SOURCE>MDS_SWIFT</LIC_SOURCE><SKU>M9200-ALL-LICENSES-INTRL</SKU> \
HOSTID=VDH=FOX1229H7U7 \
NOTICE="<LicFileID>20090107135901713</LicFileID><LicLineID>2</LicLineID> \ <PAK></PAK>"
SIGN=2E3916D62B9C
INCREMENT STORAGE_SERVICES_ENABLER_PKG cisco 1.0 permanent 1 \
VENDOR_STRING=<LIC_SOURCE>MDS_SWIFT</LIC_SOURCE><SKU>M9200-ALL-LICENSES-INTRL</SKU> \
HOSTID=VDH=FOX1229H7U7 \
NOTICE="<LicFileID>20090107135901713</LicFileID><LicLineID>3</LicLineID>
--More--
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-15
Once you have obtained the necessary information, you can install the license using the
following steps:
Step 1 From the CLI, use the install license command.
Step 2 Use the show license command to verify status.
2-36 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco NX-OS Software Installation and Upgrade
This topic describes the Cisco NX-OS image installation and upgrade process.
• Software images
- The kickstart and system image files must be accessible from the Cisco MDS
9000 Series switch prompt.
• Image version
- Each image file has a version.
- Kickstart and system image versions must be compatible.
• Flash disks on the switch
- The bootflash is internal to the supervisor.
- External CompactFlash disks are inserted in the MDS 9500 slot0 device.
• Supervisor modules
- Supervisor-2A and Supervisor-1 have specific image requirements:
• MDS 9500 Sup-2A image filename contains -sf2ek9.
• MDS 9710 Sup-1 image filename contains -sf3ek9.
- The software install process is disruptive on systems with a single supervisor
module.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-17
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-37
• Customer service
- Before performing an upgrade, contact your customer service representative
to review your software upgrade requirements.
• Scheduling
- Schedule the upgrade when the fabric is stable. Ensure that no configuration
changes will occur during the upgrade.
• Space
- Verify that sufficient space is available in the location where you are copying
the images.
• Hardware
- Avoid power interruption during any installation procedure. Power interruption
can corrupt the software images.
• Connectivity
- Retrieve images from remote servers.
- Configure the IP address for interface mgmt0.
- Ensure that the switch has a route to the remote server.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-18
2-38 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Nondisruptive
- Automated, one step using the install all command
- Manual, step-by-step process
• Exceptions
- Kickstart image change, single supervisor
- Incompatible system software images
- Single- or dual-supervisor system
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-19
This slide details three CLI mechanisms for switch software upgrades:
Nondisruptive
Disruptive
Exceptions
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-39
• Launch a console session to both supervisors.
• Create a backup of your existing configuration file with the command
copy run tftp://A.B.C.D/file.
• From the active supervisor, perform an upgrade using the install all
command.
• View upgraded supervisor module using the show module command.
• Save your running configuration using the copy running-config
startup-config command.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-20
The Cisco MDS 9513 Multilayer Director has supervisors in slots 7 and 8. The MDS 9710
Multilayer Director has supervisors in slots 5 and 6.
These steps detail the method for using the install all command.
Step 1 Launch a console session to both supervisors.
Step 2 Create a backup of your existing configuration file with the command copy run
tftp://A.B.C.D/file.
Step 3 From the active supervisor, perform an upgrade using the install all command.
Step 4 View the upgraded supervisor module using the show module command.
Step 5 Save your running configuration using copy running-config startup-config.
2-40 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• The install all kickstart bootflash:file system bootflash:file command
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-21
This figure and the two that follow detail the upgrade process using the CLI.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-22
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-41
• Continuing the installation
Do you want to continue with the installation (y/n)? [n] y
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-23
2-42 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Version Downgrade Procedure
This topic describes the Cisco NX-OS version downgrade procedure.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-25
This figure lists the factors to consider before proceeding with a Cisco NX-OS version
downgrade.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-26
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-27
The figure describes things to note about Cisco NX-OS Release 6.2(3).
2-44 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
• The licensing model that is defined for the Cisco MDS product line has
two options, which are feature-based licenses for director-class switches
and module-based licenses for modular switches.
• A nondisruptive procedure to install Cisco NX-OS Software is the
automated, one-step process using the install all command.
• When performing a software downgrade, you may need to disable new
features to allow for a nondisruptive downgrade.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-28
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-45
2-46 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Module Summary
This topic summarizes the key points that were discussed in this module.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—2-1
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-47
2-48 Configuring Cisco MDS 9000 Series Switch (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Module Self-Check
Use the questions here to review what you learned in this module. The correct answers and
solutions are found in the Module Self-Check Answer Key.
Q1) In Cisco MDS NX-OS Release 6.2.1, what is the default state of Fibre Channel switch
interfaces and the default switch port trunk mode? (Source: Performing the Initial
Switch Configuration)
A) shut, off
B) no shut, off
C) shut, on
D) no shut, on
Q2) Which set of commands configures the management interface for Cisco MDS 9000
Series switches? (Source: Performing the Initial Switch Configuration)
A) switch(config)# ip address 1.1.1.21 255.255.255.0
switch(config)# no shutdown
switch(config)# exit
switch(config)# ip default-gateway 1.1.1.1
B) switch(config)# interface mgmt0
switch(config)# ip address 1.1.1.21 255.255.255.0
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)# ip default-gateway 1.1.1.1
C) switch(config)# interface mgmt0
switch(config-if)# ip address 1.1.1.21 255.255.255.0
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)# default-gateway 1.1.1.1
D) switch(config)# interface mgmt0
switch(config-if)# ip address 1.1.1.21 255.255.255.0
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)# gateway 1.1.1.1
Q3) Which option is the switch boot sequence? (Source: Installing and Licensing Cisco
NX-OS Software)
A) BIOS, loader, kickstart, system
B) loader, kickstart, system, BIOS
C) BIOS, kickstart, loader, system
D) kickstart, loader, BIOS, system
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-49
Q4) Which command installs a license on a Cisco MDS 9000 Series switch? (Source:
Installing and Licensing Cisco NX-OS Software)
A) switch# install bootflash:license_file.lic
B) switch(config)# install bootflash:license_file.cfg
C) switch# install license bootflash:license_file.lic
D) switch(config)# install license
bootflash:license_file.cfg
Q5) Which option does not have a license grace period? (Source: Installing and Licensing
Cisco NX-OS Software)
A) Cisco IVR
B) QoS
C) SAN Extension
D) FICON
E) port activation
Q6) Where is the startup configuration file saved? (Source: Installing and Licensing Cisco
NX-OS Software)
A) NVRAM
B) RAM
C) flash memory
D) log directory
Q7) When should you use this command: switch# show incompatibility system
bootflash:file-name? (Source: Installing and Licensing Cisco NX-OS Software)
A) upgrading switch software
B) downgrading switch software
C) upgrading BIOS
D) downgrading BIOS
Q8) Which feature requires the Enterprise license? (Source: Installing and Licensing Cisco
NX-OS Software)
A) iSCSI
B) Cisco Fibre Channel QoS
C) Cisco PortChannels
D) native interoperability modes
2-50 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Module Self-Check Answer Key
Q1) C
Q2) B
Q3) A
Q4) C
Q5) E
Q6) A
Q7) B
Q8) B
© 2013 Cisco Systems, Inc. System Installation and Initial Configuration 2-51
2-52 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Module 3
Module Objectives
Upon completing this module, you will be able to describe the switch platforms for the MDS
9000 Series switches. You will be able to meet these objectives:
Explain the use of fabric login (FLOGI) and Fibre Channel Name Server (FCNS) databases
Describe how to configure Fibre Channel interfaces
Describe the purpose and use of port channel functionality on the MDS 9000 Series
Multilayer Switches
Explain Cisco N-Port Virtualizer (NPV) and N-Port ID Virtualization (NPIV), a feature
that allows a single Fibre Channel switch port to both manage multiple logins and assign
multiple Fibre Channel IDs (FCIDs)
Describe the process of configuring virtual SANs (VSANs)
Describe the purpose of Fibre Channel domains, their behavior in a VSAN environment,
and how to prevent fabric isolation.
Explain the differences between a Fibre Channel alias and a distributed device alias
Describe the purpose and use of zoning within Fibre Channel SANs
3-2 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 1
Objectives
Upon completing this lesson, you will be able to explain the use of FLOGI and FCNS
databases. This ability includes being able to meet these objectives:
Describe the device login sequence
Describe the use of the FLOGI and FCNS databases for device registration
Describe the function of FCID persistence
Fabric Login Sequence
This topic describes the fabric login sequence.
• After the Fibre Channel link comes up, the host Fibre Channel driver
sends a FLOGI frame to the switch with its pWWN in the payload.
• The switch responds with a unique device FCID.
- The domain ID is a unique ID for each switch within a VSAN.
- The area ID represents one or more device ports connected to the same
switch port.
- The port ID is usually 0 or contains a unique AL-PA for each FC-AL device
connected to the same FL Port.
• Cisco MDS switches combine area and port to provide a unique 16-bit
address for each device.
FLOGI 1 1 FLOGI
pWWN1 pWWN2
FLOGI FLOGI FC
Database Database
FC Link ISL FC Link
FC
HBA
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-4
Every Fibre Channel end device is allocated a fixed port world wide name (pWWN) by the
manufacturer of that device. The pWWN is used to uniquely identify that device within the
SAN. This process is similar to MAC addresses on Ethernet network interface cards (NICs).
After the Fibre Channel link comes up, the host Fibre Channel driver sends a FLOGI frame to
the switch with its unique pWWN in the payload.
The MDS 9000 Series switch responds with a unique device FCID:
Domain ID: This ID is a unique ID for each switch within a VSAN. The domain ID is an
8-bit field, but some upper addresses are reserved for Fibre Channel services. The
maximum number of Fibre Channel switches that can be supported in a fabric or VSAN is
239. However, most vendors will only support 40.
Area ID: This ID represents one or more device ports that are connected to the same
switch port. The area ID is an 8-bit field. That size field would normally limit the number
of ports per Fibre Channel switch to 256. However, MDS 9000 Series switches combine
area and port IDs to provide a unique 16-bit address for each device.
Port ID: This ID usually has a value of zero (0), or contains a unique arbitrated loop
physical address (AL-PA) for each Fibre Channel Arbitrated Loop (FC-AL) device that is
connected to the same fabric loop (FL) port. This ID is an 8-bit field so theoretically 256
arbitrated loop devices could be supported, however limitations in the encoding limits the
devices to 126 per switch port.
The FCID is used by the Fabric Shortest Path First (FSPF) protocol. The ID is used for routing
between Fibre Channel switches within a fabric or VSAN using the switch domain ID found in
the first 8 bits of the FCID that is in the Fibre Channel frame header.
3-4 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Some legacy HBAs do not discover targets that have FCIDs with the
same domain and area.
- Cisco NX-OS maintains a list of HBAs with this behavior.
- HBAs are tracked by the OUI in the pWWN.
- These HBAs are allocated an entire area with the port bits set to 00 in their
assigned FCID, which is eb 01 00.
- Other HBAs may share the same area bits with distinct port bits. An example
would be eb 01 02.
- FCIDs are persistent in either case.
21:00:00:e0:8b:05:40:29 21:00:00:0c:50:9e:8b:78
HBA
eb 00 01 eb 00 e8
FCID FCID
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-5
Some existing Fibre Channel host bus adapters (HBAs) do not discover targets that have an
FCID with the same domain and area.
Cisco Nexus Operating System (NX-OS) maintains a list of HBAs with this behavior.
HBAs are tracked by the Organizationally Unique Identifier (OUI) in the pWWN.
These HBAs are allocated an entire area with the port bits set to 00 in their assigned FCID,
which is eb 01 00.
Other HBAs may share the same area bits with distinct port bits. An example would be eb
01 02.
00:50:2E
00:50:8B Domain Area Port
00:60:B0 eb 02 00
00:A0:B8 FCID
00:D0:B2
00:E0:69
00:E0:8B
…
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-6
• The FLOGI database lists all devices that are currently online and that
have successfully logged in to the (local) switch.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-7
The FLOGI database lists all devices that are currently online and that have successfully logged
in to the local switch.
3-6 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Device Registration
This topic explains how to register devices using the FLOGI and FCNS databases.
FLOGI 4 5 FLOGI
pWWN1 pWWN2
FLOGI FLOGI
Database Database FC
FC
3 FC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-9
2. The FCNS database is distributed to all switches within the same VSAN so that every
switch has an identical copy.
3. Host ports query the name server to discover storage ports which the host ports are allowed
to see. Zoning is used to group devices.
4. Each host sends a port login (PLOGI) to exchange Fibre Channel parameters (for example,
number of credits).
5. Finally, the host (Small Computer Systems Interface [SCSI] Initiator) sends a process login
(PRLI) to the storage (SCSI target) to exchange SCSI parameters and establish a channel of
communication.
VSAN 10:
-------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
-------------------------------------------------------------------------
0x0b0000 N 10:00:00:06:2b:08:f2:1d (LSI) ipfc scsi-fcp:init
0x0b019b NL 22:00:00:00:87:6e:45:3c scsi-fcp:target
0x0b01b3 NL 22:00:00:00:87:6e:ad:38 scsi-fcp:target
0xef0000 N 10:00:00:06:2b:08:f9:54 (LSI) ipfc scsi-fcp:both
Total number of entries = 4
VSAN 20:
-------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
-------------------------------------------------------------------------
0x160000 N 10:00:00:06:2b:08:f9:55 (LSI) ipfc scsi-fcp:init
0x16019b NL 21:00:00:00:87:6e:45:3c scsi-fcp:target
0x1601b3 NL 21:00:00:00:87:6e:ad:38 scsi-fcp:target
0xef0000 N 10:00:00:06:2b:08:f2:1c (LSI) ipfc scsi-fcp:both
Total number of entries = 4
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-10
The FCNS database lists all devices that are currently online and that have successfully logged
in to all switches within each VSAN.
• The FCNS database contains a list of all devices that are online and that
have registered with the switch.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-11
The FCNS database contains a list of all devices that are online and that have registered with
the switch.
3-8 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
fc
FLOGI
Name Server
Registration
PLOGI
PRLI
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-12
A Fibre Channel analyzer can be used to receive Fibre Channel frames from an MDS Series
switch. The analyzer encapsulate the frames into Ethernet frames, so that the frames can be
captured by a packet analyzer like Wireshark. The figure shows that the analyzer has captured
the sequence of frames issued as a result of a device logging into the fabric. The frames
displayed range from the FLOGI from a device to the switch, the process login (PLOGI)
containing the name server registration, another PLOGI for the device to log in to another
device, and the PLOGI to check the upper layer protocol compatibility.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-14
The FCID persistence feature ensures that a device always receives the same FCID when the
device performs a FLOGI. This action occurs regardless of which interface the device is
connected to on the same switch. FCID persistence is enabled by default on all MDS 9000
Series switches.
3-10 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• FCID persistence prevents FCIDs from changing:
- The same FCID is assigned after switch reboots.
- The same FCID is assigned when a device is moved to another port within the
same switch and VSAN.
• Domain IDs must be statically assigned.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-15
FCID persistence also improves Inter-VSAN Routing (IVR) management by providing the
following features:
FCID persistence allows you to control and assign a specific virtual domain to use in a
native VSAN.
FCID persistence allows you to control and assign a specific virtual FCID for a device.
Before configuring persistent FCIDs, note that you can configure two types of database entries
for persistent IVR FCIDs:
Virtual domain entries, which contain the virtual domain that should be used to represent a
native VSAN in a specific VSAN (current VSAN). Virtual domain entries contain the
following information:
— Native autonomous fabric ID (AFID)
© 2013 Cisco Systems, Inc. Building a SAN Fabric 3-11
— Native VSAN
— Current AFID
— Current VSAN
— Virtual domain used for the native AFID and VSAN in current AFID and VSAN
Virtual FCID entries, which contain the virtual FCID that should be used to represent a
device in a specific VSAN (current VSAN). Virtual FCID entries contain the following
information:
— pWWN
— Current AFID
— Current VSAN
— Virtual FCID used to represent a device for the given pWWN in the current AFID
and VSAN
If you use persistent FCIDs for IVR, use persistent FCIDs for all the devices in the IVR zone
set. The use of persistent FCIDs is not recommended for some of the IVR devices while using
automatic allocation for other devices.
IVR Network Address Translation (NAT) must be enabled to use IVR-persistent FCIDs.
In an IVR NAT configuration, if one VSAN in the IVR topology is configured with static
domain IDs, then the IVR domains that can be exported to that VSAN must also be assigned
static domains.
3-12 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Persistent FCIDs can also be statically assigned.
- Static assignment provides greater administrative control over FCID
assignment.
- Area and port octets can be manually configured.
- The configured domain must match the VSAN domain.
- This type of assignment is useful when migrating devices from other switches.
• Persistent FCIDs (dynamic) can be administratively purged, but statically
assigned FCIDs must be expressly deleted.
FC
D_ID 0x25 Third-Party Switch
D_ID 0x25
X
FCID
0x250200
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-16
Persistent FCIDs (dynamic) can be administratively purged, but statically assigned FCIDs must
be expressly deleted.
switch# conf
switch(config)# fcdomain fcid database
switch(config-fcid-db)# vsan 3 wwn
50:05:08:b2:00:71:c8:c2 fcid 0x6fee00
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-17
The figure illustrates the steps to configure and purge a persistent FCID. A device with the
world wide name (WWN) 50:05:08:b2:00:71:c8:c2 is configured with the FCID 0x070128 in
VSAN 3. All dynamic and unused FCIDs are purged from VSAN 25.
3-14 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
• The FLOGI database contains a list of all devices that are online and
logged into a single switch.
• The FCNS database contains a list of all devices that are online and
logged into all switches within each VSAN and the FCNS database is
distributed to all switches within a VSAN.
• FCID persistence ensures that a device will always receive the same
FCID when the device logs in, regardless of which interface the device is
connected to on the same switch.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-18
Configuring Interfaces
Overview
This lesson describes how to configure Fibre Channel interfaces on Cisco MDS Multiservice
Fabric Switches using the CLI or Cisco Device Manager and Cisco Prime Data Center Network
Manager for SAN Client (DCNM-SAN Client). The lesson also describes the various Fibre
Channel port types available in a SAN and how the port types are used.
Objectives
Upon completing this lesson, you will be able to configure Fibre Channel interfaces. This
ability includes being able to meet these objectives:
Describe the basic interface configuration that is required on the switch
Explain how to configure dedicated or shared bandwidth on each of the interfaces within
port groups on the switching modules
Explain consequences of and recommendations for slow drain detection
Explain interface BB_Credits
Explain how to configure the trunking feature of Cisco MDS 9000 Series switches
Configuring Fibre Channel Interfaces
This topic explains Fiber Channel interface configuration.
Private
NL AL Hub NL
Blade Server
Blade n
TL EISL FL
EISL
TNP TF TE TE
Blade 2 TNP TF TE TE
Blade 1 TNP-TF Port TE TE Port
Channel Channel SD
VSAN EISL
Trunking
Analyzer
TE
NP F
EVFP
FC TF TN FC
N F HBA
E E
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-4
Cisco MDS 9000 Series Multilayer Switches support all of the standard Fibre Channel ports as
defined in the ANSI T11 specifications. These switches also support trunking ports. This
feature is also known as virtual SAN (VSAN) trunking, which is a feature specific to switches
in the MDS 9000 Series. Trunking enables interconnect ports to transmit and receive frames in
more than one VSAN over the same physical link. Trunking is supported on expansion (E)
ports and fabric (F) ports.
Supported interfaces include the following:
F Port: In F Port mode, an interface functions as a fabric port. This port may be connected
to a peripheral device (host or disk) operating as a node (N) port. An F Port can be attached
to only one N Port. F Ports support class 2 and class 3 service.
FL Port: In fabric loop (FL) port mode, an interface functions as an FL Port. This port may
be connected to one or more node loop (NL) ports, including fabric loop (FL) ports in other
switches, to form a public arbitrated loop. If more than one FL Port is detected on the
arbitrated loop during initialization, only one FL Port becomes operational and the other FL
Ports enter nonparticipating mode. FL Ports support class 2 and class 3 service.
N_Port: A node (N) port is a port that is assigned to a Fiber Channel device capable of
communicating switched Fabric protocol to an F Port on a switch.
NP Ports: A proxy N (NP) port is a port on a device that is in Cisco N-Port Virtualizer
(NPV) mode and connected to the core switch via an F Port. NP Ports function like N Ports
except that in addition to providing N Port operations, these ports also function as proxies
for multiple, physical N Ports.
TL Port: In translative loop (TL) port mode, an interface functions as a translative loop
port. The port may be connected to one or more private loop devices (NL Ports). TL Ports
3-18 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
have similar properties as FL Ports. TL Ports enable communication between a private loop
device and one of the following devices:
— A device that is attached to any switch on the fabric
— A device on a public loop anywhere in the fabric
— A device on a different private loop anywhere in the fabric
— A device on the same private loop
TL Ports support class 2 and class 3 services. Private loop devices refer to legacy devices that
reside on arbitrated loops. These devices are not aware of a switch fabric because the devices
only communicate with devices on the same physical loop.
E Port: In E Port mode, an interface functions as a fabric expansion port. This port may be
connected to another E Port to create a Cisco Inter-Switch Link (ISL) between two
switches. E Ports carry frames between switches for configuration and fabric management.
These ports serve as a conduit between switches for frames that are destined to remote N
Ports and NL Ports. E Ports support class 2, class 3, and class F service.
TE Port: In trunking expansion (TE) port mode, an interface functions as a trunking
expansion port. The port may be connected to another TE Port to create an Enhanced Inter-
Switch Link (EISL) between two switches. TE Ports are specific to the family of MDS
9000 Series switches. These ports expand the functionality of E Ports to support the
following:
— VSAN trunking
— Transport quality of service (QoS) parameters
— Fibre Channel Traceroute (fctrace) feature
In TE Port mode, all frames are transmitted in EISL frame format, which contains VSAN
information. Interconnected switches use the VSAN ID to multiplex traffic from one or more
VSANs across the same physical link. This feature is referred to as trunking in the family of
MDS 9000 Series switches. TE Ports support class 2, class 3, and class F service.
TF Port: In trunking fabric (TF) port mode, an interface functions as a trunking fabric port.
The port may be connected to another trunked N (TN) port or trunked NP (TNP) port to
create a link between a core switch and an NPV switch or a host bus adapter (HBA) to
carry tagged frames. TF Ports are specific to the family of MDS 9000 Series Multiservice
Fabric Switches. These ports expand the functionality of F Ports to support VSAN
trunking. In TF Port mode, all frames are transmitted in EISL frame format, which contains
VSAN information. Interconnected switches use the VSAN ID to multiplex traffic from
one or more VSANs across the same physical link.
TNP Port: In TNP Port mode, an interface functions as a TE Port. The port may be
connected to a TF Port to create a link to a core N-Port ID Virtualization (NPIV) switch
from an NPV switch to carry tagged frames.
SD Port: In a Switched Port Analyzer (SPAN) destination (SD) port, an interface functions
as a SPAN. The SPAN feature is specific to switches in the family of MDS 9000 Series
switches. The port monitors network traffic that passes through a Fibre Channel interface.
This monitoring is done using a standard Fibre Channel analyzer (or a similar switch probe)
that is attached to an SD Port. SD Ports do not receive frames. These ports only transmit a
copy of the source traffic. The SPAN feature is nonintrusive and does not affect switching
of network traffic for any SPAN source ports.
ST Port: In the SPAN tunnel (ST) port mode, an interface functions as an entry point port
in the source switch for the Remote SPAN (RSPAN) Fibre Channel tunnel. The ST Port
mode and the RSPAN feature are specific to switches in the MDS 9000 Series. When
© 2013 Cisco Systems, Inc. Building a SAN Fabric 3-19
configured in ST Port mode, the interface cannot be attached to any device. Therefore, the
port cannot be used for normal Fibre Channel traffic.
Fx Port: Interfaces that are configured as Fx Ports can operate in either F Port or FL Port
mode. The Fx Port mode is determined during interface initialization depending on the
attached N Port or NL Port. This administrative configuration disallows interfaces to
operate in any other mode—for example, preventing an interface to connect to another
switch.
Auto Mode: Interfaces that are configured in auto mode can operate in F Port, FL Port, E
Port, TE Port, or TF Port mode. The port mode is determined during interface initialization.
For example, if the interface is connected to a node (host or disk), the port operates in F
Port or FL Port mode depending on the N Port or NL Port mode. If the interface is attached
to a third-party switch, the port operates in E Port mode. If the interface is attached to
another switch in the MDS 9000 Series, the interface may become operational in TE Port
mode. TL Ports and SD Ports are not determined during initialization and are
administratively configured.
3-20 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Each interface has an associated administrative and operational state.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-5
Configuration allows for administratively enabling or disabling an interface. Any interface that
is administratively disabled will not function operationally, meaning that the interface never
comes to the “up” state.
The shutdown command in the interface configuration submode disables a port. Preceding the
shutdown with the no shutdown option in the command enables the port. In other words, the
command makes the port administratively active. More examples are given in the figure
showing actual configuration.
The operational state can be down even though the data link layer is up. This state is possible
because the operational state of an interface depends on the protocol that is running on the
interface. For example, a TE Port might be running Fabric Shortest Path First (FSPF). If you
receive the FSPF status for the interface, the interface could be in the initial (INIT) state. This
status means that the interface will not be in the full operational state until the FSPF protocol
successfully completes the initialization sequence.
Traffic flows through an interface only when the interface is both administratively and
operationally functional.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-6
The shutdown command administratively disables the interface. The no shutdown command
administratively enables, or activates, the interface.
Complete these steps using Cisco Device Manager:
Step 1 Right-click the port.
Step 2 Choose Enable or Disable from the menu.
Interfaces on a port are shut down by default unless the initial configuration is modified. The
Cisco Nexus Operating System (NX-OS) Software implicitly performs a graceful shutdown in
response to either of these scenarios when an interface is operating in the E Port mode:
When an interface is shut down administratively
If the Cisco NX-OS Software application executes a port shutdown as part of its function
A graceful shutdown ensures that no frames are lost when an interface is shutting down. When
a shutdown is triggered, the switches that are connected to the shutdown link coordinate with
each other. This coordination ensures that all frames in the ports are safely sent through the link
before shutting down. This enhancement reduces the chance of frame loss.
3-22 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Display the interface switch port configuration options:
Interface Type
switch# conf fc = Fibre Channel
switch(config)# interface fc2/1 2 = Module number
/1 = Port number
switch(config-if)# switchport ?
beacon Disable/enable the beacon for an interface
description Enter description of maximum 254 characters
encap Configure encapsulation for the port
fcbbscn Disable/enable buffer-to-buffer state change
notification
fcrxbbcredit Configure receive BB_credit for the port
fcrxbufsize Configure receive data field size for the port
fill-pattern Configure the fill pattern for an interface
ignore Enter parameter to be ignored
mode Enter the port mode
owner Specify the owner of an interface
rate-mode Configure the rate mode for an interface
speed Enter the port speed
trunk Configure trunking parameters on an interface
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-7
There is a special configuration submode for interface configuration. This submode is entered
with the interface command.
The switchport ? command from the interface configuration submode provides a listing of all
the options that are available for the switch port configuration of the interface.
switch(config)# interface fc2/1
switch(config-if)# switchport ?
beacon Disable/enable the beacon for an interface
description Enter description of maximum 80 characters
encap Configure encapsulation for the port
fcbbscn Disable/enable buffer-to-buffer state change notification
fcrxbbcredit Configure receive BB_credit for the port
fcrxbufsize Configure receive data field size for the port
ignore Enter parameter to be ignored
mode Enter the port mode
owner Specify the owner of an interface
rate-mode Configure the rate mode for an interface
speed Enter the port speed
trunk Configure trunking parameters on an interface
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-8
The switchport mode fx command configures the interface for F Port or FL Port operation. To
configure interface fc1/5 as an F Port, with a speed of 2 Gbps, use the following commands:
conf
interface fc1/5
switchport mode fx
switchport speed 2000
no shutdown
Note The trunk mode is ignored for any port that is not configured as an E Port.
3-24 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• From the Physical Attribute navigate to FC Interfaces > Physical:
Interface fc1/5
Mode F
VSAN 1
2 Gbps
Admin up
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-9
From the Physical Attribute pane, navigate to FC Interfaces > Physical. In the Fibre Channel
interfaces table, you can configure the following:
Port mode (F, FL, FX, E, TL, SD, ST, Auto)
Port VSAN
Description
Speed (1 Gbps, 2 Gbps, Auto)
Administrative state (up or down)
Rate mode (dedicated or shared)
Service status (in or out)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-10
Complete the following steps to configure port mode in Cisco Device Manager:
Step 1 Launch Cisco Device Manager with switch credentials.
Step 2 Right-click the interface in the Device tab.
Step 3 Select Configure.
Step 4 Configure the PortVSAN, Mode, Speed, Rate Mode, and Status up.
Step 5 Select the Trunk Config tab and choose trunk admin mode to configure trunking
mode.
Step 6 Enter the allowed VSANs and click Apply. Repeat this step for the other side of the
ISL.
3-26 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
switch# conf
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# interface fc1/5
switch(config-if)# switchport owner Cisco_Lab
switch(config-if)# no switchport owner
The port owner is a descriptive string. The string can be configured on an interface to inform
other administrators about who owns the port and the purpose for which the port is being used.
The port owner feature is available for all ports, regardless of the operational mode of the port.
switch# conf
switch(config)# interface fc 1/1
switch(config-if)# errdis detect cause ?
link-down
Bit-errors
switch(config-if)# errdisable detect cause bit-errors
num-times 5 duration 120
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-12
The port guard feature works in environments where the system and application environments
do not adapt quickly and efficiently to a port going down and back up, or to a port rapidly
cycling up and down. The SAN administrator can use the port guard feature to prevent this
issue from occurring in environments that are vulnerable to these problems. Using this feature,
the port can be configured to stay down after the first failure or after a specified number of
failures within a certain time period. This ability permits the SAN administrator to intervene
and control the recovery, avoiding any problems that are caused by the cycling.
You can also restrict the number of error reports and bring a malfunctioning port to the down
state dynamically by using the port guard feature. You can configure the port to go into an
error-disabled state for specific types of failures.
Any of these events can cause link failure:
Encapsulating Security Payload (ESP) Cisco TrustSec violation
Bit errors
Signal loss
Sync loss
Link reset
Credit loss
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-13
The port monitor feature helps to monitor the performance and status of ports and generates
alerts when problems occur. You can configure the thresholds for various counters, and trigger
an event when the values cross the threshold settings.
switch# conf
switch(config)# port-group-monitor enable
switch(config)# port-group-monitor name policyname
switch(config-port-group-monitor)# counter rx-performance poll-
interval secods delta rising-threshold percentage1 falling-threshold
percentage2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-14
Each line card or module has a predefined set of ports, called port groups, that share the same
backplane bandwidth. While oversubscription is a feature, the port group monitor feature helps
to monitor the spine bandwidth utilization. An alarm syslog is generated so that you can
provision the ports across port groups evenly to better manage the oversubscription.
When the port group monitor feature is enabled and there is a policy consisting of a polling
interval in seconds, and the raising and falling thresholds in percentage are specified, port
group monitor generates a syslog. If port group traffic goes above the specified percentage of
the maximum supported bandwidth for that port group (for receive [Rx] and transmit [Tx]
traffic), another syslog is created if the value falls below the specified threshold.
3-30 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Configuring Bandwidth
This topic explains how to configure dedicated or shared bandwidth on each of the interfaces
within port groups on the switching modules.
4-port Port
Group
E E Port Group
FX E E
FC
HBA
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-16
The Cisco MDS 9700 48-Port 16-Gbps Fibre Channel switching module has 48 full-rate mode
ports. This feature means that each line card has 12 port groups of four ports each. Each port
group has 64-Gbps bandwidth.
Verify the configuration of the first port. Note the shared and allocated dedicated figures in the
output. E Ports typically require more buffer credits (for distance) than Fx Ports.
Go to this link for more information about buffer credits:
http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/sw/6_2/configuration/guides/i
nterfaces/nx-os/buffers.html
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-18
3-32 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• 32-port 8-Gbps Adv FC Module • 48-port 8-Gbps Adv FC Module
- 32-ports full rate at 8-Gbps FC - 48-ports 1.5:1 oversubscribed at
- 4-port port groups 8-Gbps FC
Port Group - 6-port port groups
Port Group
Example shows
outlined ports
configured as
10-Gbps FC
Note: Not all ports can be configured as 10-Gbps Fibre Channel speed. The 10-Gb Fibre Channel
enablement works at asic level and one asic controls two port groups simultaneously.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-19
All line card modules have their own port group settings. Depending on the port group
configuration, you can configure that port for regular Fibre Channel speed or 10-Gbps Fibre
Channel speed. Note that not all ports can be configured as 10-Gbps Fibre Channel speed.
The figure shows ports out of individual port groups that can be configured as 10-Gbps Fibre
Channel speed. The interfaces that can be configured out of the port groups are indicated by the
yellow border. Interfaces that will be disabled by the switch are marked with a red X. Note that
two port groups are the same and that those groups will continue for the rest of the port groups.
Port Group 1
1. The 10-Gbps Fibre Channel enablement works at the ASIC level and one ASIC controls
two port groups simultaneously.
2. In the 32-port 8-Gbps module, there are eight port groups with four ports per port group.
3. The 10-Gbps mode configuration for a group of eight ports is six ports at 10-Gbps with the
other two ports disabled.
Port Group 2
1. For the 48-port 8-Gbps module, there are eight port groups with six ports per port group,
with up to four 8-Gbps dedicated ports per port group.
2. The 10-Gbps mode configuration for a group of 12 ports is six ports at 10-Gbps with the
other six ports disabled.
E FX E
FX FX E
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-20
Configure the correct port to be a dedicated 10-Gbps port to configure port bandwidth
reservation.
Port Group
E FX E
FX FX E
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-21
3-34 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Port Group 1.5:1 oversubscription
--------------------------------------------
fc1/7 32 8.0 shared
FX FX FX fc1/8 32 8.0 shared
fc1/9 32 8.0 shared
FX FX FX fc1/10 32 8.0 shared
fc1/11 32 8.0 shared
fc1/12 32 8.0 shared
----------------------------------------------
fc1/13 - 8.0 Disabled
fc1/14 - 8.0 Disabled
fc1/15 - 8.0 Disabled
fc1/16 250 10.0 Dedicated
fc1/17 250 10.0 Dedicated
fc1/18 250 10.0 Dedicated
fc1/19 250 10.0 Dedicated
fc1/20 250 10.0 Dedicated
fc1/21 250 10.0 Dedicated
fc1/22 - 8.0 Out-of-Service
fc1/23 - 8.0 Out-of-Service
fc1/24 - 8.0 Out-of-Service
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-22
In the first example that is shown in the figure, there are six ports with a shared rate mode and
8-Gbps speed (1.5:1 oversubscription) (default). In the second example, specific ports can be
configured at the 10Gb speed.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-23
The figure provides a summary of the Cisco MDS 9500 Series Multilayer Director 8-Gb
Advanced Modules.
• Edge devices
- An edge device can be slow to respond for a variety of reasons:
• Server performance problems: application or operating system
• HBA problems: Driver or physical failure speed mismatches, meaning there
is one fast device and one slow device
• Nongraceful virtual machine exit on a virtualized server, resulting in packets
held in HBA buffers
• Storage subsystem performance problems, including overload
- Poorly performing tape drives
• ISLs
- Lack of B2B credits for the distance that the ISL is traversing
- The existence of slow drain at edge devices
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-25
3-36 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Devices, applications, connections issues and so on may cause network
devices to react by delaying the release of B2B credits.
1. Red host issues a large 5 MB read to Red disk.
2. Host H1 is not able to process all the data packets.
3. H1 delays issuing R_RDY to port F1.
4. T1 continues sending packets to F2.
5. Because F1 is unable to send packets to H1 fast enough…
6. …eventually buffers start to become full at E1 and E2.
Switch 1 Switch 2
6
H2
E1 Single E2
ISL
5MB
2 F2 Read 1
H1
NO R_Rdy
sent
NO B2B
Credits
T1
F1
NO B2B
NO R_Rdy
5 Credits 4
3 sent
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-26
Consider the situation that is shown in the figure. Host H1 issues a large 5-MB read to Target
T1. A Small Computer Systems Interface (SCSI) packet is 2148 bytes with 36 bytes of start-of-
frame (SOF), Fibre Channel header, end-of-frame (EOF), cyclic redundancy check (CRC), and
a payload of 2112 bytes. Given these details, the response from the target will be approximately
2500 SCSI data packets.
Host H1 cannot process all the data packets and begins to delay issuing a receiver ready
(R_RDY) to the port F1 on Switch 1, creating a slow drain situation. On Switch 2, Target T1
continues to send packets to port F2 filling its virtual output queue (VOQ). However, as F1 is
unable to send packets to H1 fast enough, the packet buffers start to become full, which
cascades upstream to Port E1 and eventually E2. Now the congestion has spread in the network
such that the only link between the two switches cannot send data and the single slow device
(H1) has adversely affected the entire network performance. Given the seriousness of this
situation, it is extremely important to monitor the network for slow drain devices and detect
their presence at the earliest possible time so you can take preventive measures.
Congestion
E1 Single E2
ISL
F2
NO R_Rdy NO B2B
F1 sent Credits
NO B2B
Credits
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-27
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-28
The figure describes how MDS switches monitor for slow drain ports.
3-38 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
switch# show port-config internal link-events
switch# show process creditmon statistics
switch# show process creditmon credit-loss-events
switch# show hardware internal fcmac port <port_number> link-
event | include LINK_LR_TX
switch# show hardware internal statistics module <x> pktflow
dropped
switch# show hardware internal packet-flow drop
switch# show hardware internal packet-dropped-reason
switch# show logging onboard module 13 error-stats
switch# show system internal snmp credit-not-available
switch# show interface | include "fc|Belong|low priority" |
exclude "description" | exclude "Peer" | include "trunking"
next 2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-29
• Error disable or flap the port through port monitor port guard
• Dropping packets when the congestion-drop threshold is reached
switch(config)# system timeout congestion-drop <value> mode (F)/(E)
switch(config)# system timeout congestion-drop default mode (F)/(E)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-30
• At login, adjacent ports tell each other how many buffers they have
(BB_Credit).
Next
port has
8 buffers
3
2
1
I have 4 I have 8
buffers buffers
I have 8 I have 8
Buffers
buffers buffers
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-32
3-40 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• During data flow, the following occurs
- Upon receiving (1) a B2B credit signal from the FC switch, the server will
transmit (2) a frame to the switch.
- The switch will hold the frame in its buffer (3) until the switch receives (4) a
B2B credit signal from the destination device. After a credit is received, the
switch then transmits (5) the frame to its destination and will release (6/1) a
B2B credit to the server so the server can send another frame.
- Tx sends only when BB_Credit_CNT < BB_Credit.
Next port
has 1 free
buffer
BB_Credit: 8
BB_Credit_CNT: 0 7
4
3
2
1 Transmit Transmit
Frame Frame
3
2 5 PLOGI
DATAFrame
1 4
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-33
Extended Credits
Full line-rate Fibre Channel ports provide at least 255 buffer credits as the standard. Adding
credits lengthens distances for Fibre Channel SAN extension. Extended credits, up to 4095
buffer credits, can be allocated to ports as needed to greatly extend the distance of Fibre
Channel SANs.
3-42 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Shared mode ports have 32 to 255 BB_Credits (depending on module).
• Dedicated mode ports have up to 500 BB_Credits.
• A license may be required to optimize bandwidth over distances.
switch(config-if)# switchport fcrxbbcredit ?
<1-500> Enter receive BB_credit
default Default receive BB_credit
performance-buffers Configure performance buffers for receive
BB_credit
switch(config-if)# switchport fcrxbbcredit 56
The figure shows how to configure interface BB_Credits and receive buffers.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-36
Configurations of error detect timeout value (E_D_TOV) and resource allocation timeout
values (R_A_TOV) are on a per-switch basis.
These configurations should be made before connecting to an existing fabric, because the
values are exchanged during the fabric login (FLOGI) process.
See this link for more information about buffer credits:
http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/sw/6_2/configuration/guides/i
nterfaces/nx-os/buffers.html
3-44 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Configuring Trunking
This topic explains how to configure the trunking feature of Cisco MDS 9000 Series switches.
EISL or ISL
(TE) (E)
1 2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-38
Trunking mode is specific to Cisco MDS 9000 Series switches. If equipment that is attached to
an ISL E Port does not support trunk mode, the parameter is ignored. Therefore, equipment of
other vendors will not operate with the Cisco MDS 9000 Series switches in the trunking mode.
The equipment operates as a regular E Port.
Trunking mode operates with one Cisco MDS 9000 Series switch that is set to trunking mode
“auto” and the other set to trunking mode “on.” However, it is recommended to set both ends to
“on” if you use the link in a port channel, which you will generally do. Note that the port
channel demands only that all interfaces on one end of the channel have the same
configuration.
In TE mode, an allowed list of VSANs can be configured for the interface. By default, all
VSAN traffic is allowed.
The switchport mode e command configures the interface for E Port operation. Enter these
commands to configure interface fc1/2 as an E Port, with a speed of 2 Gbps and trunking
enabled:
conf
interface fc1/2
switchport rate-mode dedicated
switchport mode e
switchport trunk mode on (default)
switchport speed 2000
no shutdown
3-46 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• The Trunk Allowed VSAN List is used to selectively block or allow
frames through the interface. All frames are allowed by default.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-40
The switchport trunk ? command returns two options, which are the allowed VSAN list and
the trunk mode configuration. In a LAN environment, these options are the same as manual
pruning.
Remember that a TE Port allows traffic only for active allowed VSANs. If you do not configure
the VSAN allowed list correctly, certain VSAN traffic is not able to traverse the link. The
trunking mode should be set to “on” for TE Ports and “off” for E Ports.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-41
References
For additional information, refer to these resources:
See this link for more information about buffer credits:
http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/sw/5_2/configuration/guid
es/int/nx-os/buffers.html#wp1108272
3-48 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 3
Objectives
Upon completing this lesson, you will be able to configure port channels. This ability includes
being able to meet these objectives:
Describe the purpose and use of port channel functionality on the Cisco MDS 9000 Series
Multilayer Switches
Explain how to configure port channels with expansion (E) and TE Ports
Port Channel Overview
This topic defines port channels and their function over Inter-Switch Links (ISLs).
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-4
The Cisco MDS 9000 Series PortChannel is a proprietary feature that can provide an
aggregation of multiple physical interfaces into one logical interface. Port channels provide
higher aggregated bandwidth, load balancing, and link redundancy. Port channels can connect
to interfaces across switching modules, so a failure of a switching module cannot bring down
the port channel link.
A port channel has the following features:
Provides a point-to-point connection over ISL E Ports or Enhanced ISL (EISL) TE Ports.
Multiple links can be combined in a port channel.
Increases the aggregate bandwidth on an ISL by distributing traffic among all functional
links in the channel.
Load-balances across multiple links and maintains optimum bandwidth utilization. Load
balancing is based on the source ID (SID), destination ID (DID), and originator exchange
ID (OXID).
Provides high availability on an ISL. If one link fails, traffic that was previously carried on
this link is switched to the remaining links. If a link goes down in a port channel, the upper
protocol is not aware of the link going down. To the upper protocol, the link is still there,
although the bandwidth is diminished. The routing tables are not affected by link failure.
Port channels can contain up to 16 physical links and can span multiple modules for added
high availability.
Cisco MDS 9000 Series switches provide support for port channels with 16 ISLs per port
channel with a maximum of 256 port channels.
3-50 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Configure the port channel across switching modules for redundancy.
• Port channels require point-to-point connections between the same pair
of switches.
Valid Invalid
1
2
1 3
1
A B A 4 B
1
2
2 3 2
4
A B A B
1
2
1 3 1
4
A A
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-5
Before configuring a port channel, you should consider the following physical guidelines:
Configure the port channel across switching modules to provide redundancy on switching-
module reboots or upgrades. (This action is a best practice.)
Ensure that one port channel is not connected to different sets of switches. Port channels
require point-to-point connections between the same set of switches.
Error Detection
If you invalidly connect port channels, you may receive an error message. If you receive an
error message, the port channel physical links are disabled after an error has been detected. A
port channel error is detected when the following requirements are not met:
1. Each switch on either side of a port channel must have a port channel with the same
number of interfaces.
2. Each port channel interface must be connected to a similar (same number of physical links)
interface on the other side. A 4-port port channel interface on one switch must be connected
to a 4-port port channel interface on a second switch. If a link goes down, the configuration
is still a valid.
Link 1 Link 1
SID1, DID1 SID1, DID1, OX1
Link 2 Link 2
SID2, DID2 SID1, DID1, OX2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-6
The left side of the figure illustrates how source ID 1 (SID1) and destination ID1 (DID1)-based
load balancing works. When the first frame in a flow is received on an interface for forwarding,
Link 1 is selected. Each subsequent frame in that flow is sent over the same link. None of the
frames in SID1 and DID1 use Link 2.
The right side of the figure illustrates how exchange-based load balancing works. When the
first frame in an exchange is received for forwarding, Link 1 is chosen by a hash algorithm. All
remaining frames in that particular exchange are sent on the same link. For exchange 1, no
frame uses Link 2. For the next exchange, Link 2 is chosen by the hash algorithm. Now all
frames in exchange 2 use Link 2.
3-52 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• On mode
- Member ports only operate as
part of a port channel.
- Explicitly enable or disable ports
at the end if you add or remove
ports from a port channel.
- Requires manual verification for
connection.
• Active mode (best practice)
- Member ports initiate port
channel protocol negotiation with
peer.
- Supports autorecovery without
disabling or enabling member
ports.
- Provides automatic verification of
connection.
- F port channels only support
active mode.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-7
You can configure each port channel with a channel group mode parameter to determine the
port channel protocol behavior for all member ports in the channel group. The possible values
for a channel group mode are as follows:
On mode (default): The member ports only operate as part of a port channel or remain
inactive. In this mode, the port channel protocol is not initiated. However, if a port channel
protocol frame is received from a peer port, the software indicates its nonnegotiable status.
This mode is backward compatible with the existing implementation of port channels in
releases before Release 2.0(1b), where the channel group mode is implicitly assumed to be
on. In Cisco MDS SAN-OS Releases 1.3 and earlier, the only available port channel mode
was the on mode. Port channels configured in the on mode require you to explicitly enable
and disable the port channel member ports at either end if you add or remove ports from the
port channel configuration. You must physically verify that the local and remote ports are
connected to each other.
Active mode: The member ports initiate port channel protocol negotiation with the peer
port regardless of the channel group mode of the peer port. If the peer port, while
configured in a channel group, does not support the port channel protocol, or responds with
a nonnegotiable status, the peer will default to the on mode behavior. The active port
channel mode allows automatic recovery without explicitly enabling and disabling the port
channel member ports at either end.
FC
fc1/1 fc1/7 FC
MDS A MDS B
fc2/8 fc3/5
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-9
This figure describes a basic ISL configuration on peer switches. Optionally, you can create the
port channel interface by first using the interface port-channel command, and then, in a
separate task, add the Fibre Channel interfaces. Port channels are created with default values.
You can change the default configuration just like you can with any other physical interface.
To create a port channel, use the interface port-channel command in configuration mode:
switch(config)# interface port-channel 1
The valid range for a port channel interface ID is 1 to 256. The configuration process must be
repeated on both switches.
3-54 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• The following shows use of the interface configuration channel-group
command:
switch(config)# interface fc1/1 switch(config)# interface fc1/7
switch(config-if)# channel-group 1 switch(config-if)# channel-group 1
switch(config-if)# no shutdown switch(config-if)# no shutdown
channel-group 1 FC
FC
fc1/1 fc1/7
MDS A MDS B
fc2/8 fc3/5
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-10
To add Fibre Channel interfaces to a port channel, use the channel-group command in
interface mode. If the port channel exists, the interfaces are added. If the port channel does not
exist, then the port channel is created.
You can add a physical interface (or a range of interfaces) to either an existing port channel or a
nonexistent port channel. If the port channel does not exist, the port channel is automatically
created. The compatible parameters on the configuration are mapped to the port channel.
To add interfaces to a port channel, use the channel-group command in interface configuration
mode. The following command sequence adds fc1/1 and fc2/8 port channel 1 on MDS A:
MDSA(config)# interface fc1/1
MDSA (config-if)# channel-group 1
MDSA (config-if)# interface fc2/8
MDSA (config-if)# channel-group 1
The configuration process must be repeated on MDS B for interfaces fc1/7 and fc3/5.
FC
channel-group 1
FC
fc1/1 fc1/7
MDS A MDS B
fc2/8 fc3/5
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-11
Using the channel-group command against a range of interfaces or with multiple interfaces
that are selected with the interface command is potentially disruptive. This disruption occurs if
there is not an additional ISL between the switches that is not selected for inclusion with the
channel-group command. Interfaces are temporarily disabled and enabled while being added
to the port channel.
3-56 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Adding port channel links might be disruptive:
- Corresponding ports are shut down.
- If possible, add ports before they are enabled.
• Disabling port channel links with no frame loss:
- Links automatically quiesced upon shutdown command.
- Cisco NX-OS provides graceful ISL shutdown.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-12
Whenever links are administratively added to or deleted from a port channel, the corresponding
interfaces are shut down. To avoid traffic disruption when adding links to port channels, the
interfaces should be added before the port channel interfaces are enabled.
Administratively disabling port channel links is possible with no frame loss.
The software implicitly performs a graceful shutdown in response to disabling interfaces that
are operating in E Port mode. A graceful shutdown ensures that no frames are lost when the
interface is shutting down. When a shutdown is triggered, either by an administrator or by
software, the switches that are connected to the link coordinate to ensure that all frames in the
ports are safely sent through the link before shutting down. This enhancement reduces the
chance of frame loss.
2. port mode
Members must have the same port mode configured, either E or AUTO. If they are
configured in AUTO port mode, they have to negotiate E mode when they come up.
If a member negotiates a different mode, it will be suspended.
3. trunk mode
Members must have the same trunk mode configured. If they are configured in AUTO
trunking mode, they have to negotiate the same trunking mode when they come up.
If a member negotiates a different mode, it will be suspended.
. . .
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-13
3-58 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Parameter Description
Physical port layer Members must have the same interface type, such as Fibre Channel, Ethernet, or
FCIP.
portmode Members must have the same port mode configured, either E or AUTO. If
members are configured in AUTO port mode, the members must negotiate E mode
when the members come up. If a member negotiates a different mode, that
member is suspended.
Trunk mode Members must have the same trunk mode configured. If members are configured
in AUTO trunking mode, members must negotiate the same trunking mode when
the member comes up. If a member negotiates a different mode, the member is
suspended.
Speed Members must have the same speed configured. If members are configured in
AUTO speed, members must negotiate the same speed when the member comes
up. If a member negotiates a different speed, the member is suspended.
MTU Members must have the same maximum transmission unit (MTU) configured. This
requirement applies only to Ethernet port channels.
Ethernet port This parameter applies only to Ethernet port channel. Each Ethernet port channel
index can have only two Ethernet ports. The ports must be in the same slot, their port
indices must be adjacent, and the lower number must be odd, for example, Gigabit
Ethernet 8/5–6.
IP address Members must not have an IP address configured. This restriction applies only to
Ethernet port channels.
Port-security Members must all be permitted by the activated port-security bindings and fabric-
active bindings bindings in all the allowed VSANs.
FC receive buffer Members must have the same Fibre Channel receive buffer size. If the configured
size receive buffer size is not compatible with the port capability, the port is error
disabled.
IP ACLs Members must not have IP access control lists (ACLs) configured individually on
them. This restriction applies only to Ethernet port channels.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-14
Use the following procedure to create a port channel from the Cisco Prime Data Center
Network Manager for SAN Client (DCNM-SAN Client):
Step 1 Click the Port Channel Wizard icon in the Cisco DCNM-SAN Client toolbar.
Step 2 To add a link to an existing port channel, right-click an ISL on the Cisco DCNM-
SAN Client map and select Add to Port Channel from the pop-up menu. The Port
Channel Wizard is displayed.
Step 3 The Port Channel Wizard in Cisco DCNM-SAN Client steps you through three
dialog boxes that request information that is required to complete the port channel
configuration:
Select a switch pair: Highlight the switch pair that the port channel will
connect. In the figure, only one pair is displayed. Click Next.
Select ISLs: Highlight the ISLs to add to the port channel. Click Next.
Create the port channel: To complete the process, the last dialog box allows
you to specify the trunk mode options (nontrunk, trunk, or auto). If you select
the trunk option, the VSAN List window lets you prune the VSANs that are
allowed over the port channel.
Step 4 Click Finish.
Optionally, a faster method is to launch the Port Channel Wizard from the fabric map. Right-
click one of the Fibre Channel over IP (FCIP) links and select Create Port Channel. The
wizard launches immediately into the second dialog box (2 of 3: Select ISLs Displaying the
FCIP Link That Is Already Selected) and allows you to select additional links. The wizard then
continues as described.
Note These steps must be performed after you have already brought up the EISL links.
3-60 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Verify that ISLs are selected.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-15
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-16
The show port-channel summary command displays a summary of the port channels that are
configured on the switch. The one-line summary provides the following information:
Administrative state
Operational state
Number of attached and active interfaces (up)
The first operational port, which is the primary operational interface that is selected in the port
channel to carry control-plane traffic. The first operational port is identified by the asterisk (*).
3-62 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-17
Objectives
Upon completing this lesson, you will be able to configure both Cisco NPV and NPIV. This
ability includes being able to meet these objectives:
Describe the benefits of Cisco NPV
Describe how NPIV provides a means to assign multiple FCIDs to a single node (N) Port
Describe how to configure F and TF port channels
Cisco NPV
This topic describes the benefits of Cisco NPV.
FC FC
• Scalability
FC FC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-4
The Fibre Channel standards that are defined by the ANSI T11 committee allow for up to 239
Fibre Channel domains per fabric or VSAN. However, original storage manufacturers (OSMs)
have only qualified up to 40 domains per fabric or VSAN.
Each Fibre Channel switch is identified by a single domain ID, thus there can be no more than
40 switches that are connected together.
Blade switches and top-of-rack (TOR) access layer switches consume domain IDs, which limits
the number that can be deployed in data centers.
3-66 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Cisco MDS switch mode
- All Fibre Channel services are provided:
• Supported services include FLOGI, name server, zoning, domain server, FSPF,
and management.
• FSPF, zoning, and name server databases are distributed among connected
switches.
- Local switching is enabled.
- ISL between switches becomes a path within the FSPF routing table.
- Up to 16 ISLs may belong to a port channel.
- Each switch consumes a domain ID.
• Cisco NPV mode for MDS 9100 Series switches
- Most Fibre Channel services are switched off.
- This mode provides no ISLs, trunking, port channels, or QoS.
- The Cisco NPV-enabled switch becomes a multiplexor for connected devices.
- The Cisco NPV switch does not use a domain ID.
• The switch is not subject to domain ID limitation.
- There is a smaller number of switches to manage.
- This mode eliminates the need for server administrators to manage the SAN.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-5
Cisco MDS 9100 Series Multilayer Fabric Switches and blade switches support two operating
modes, which are MDS switch mode and Cisco NPV mode.
MDS switch mode provides the following features:
All Fibre Channel services are provided.
— Supported services include fabric login (FLOGI), name server, zoning, domain
server, Fabric Shortest Path First (FSPF), and management.
— FSPF, zoning, and name server databases are distributed among connected switches.
Local switching is enabled.
Inter-Switch Link (ISL) between switches becomes a path within the FSPF routing table.
Up to 16 ISLs may belong to a port channel.
Each switch consumes a domain ID.
Cisco NPV mode is disruptive. During reboot, the original switch configuration is lost and the
switch comes back up in Cisco NPV mode as a multiplexor of connected devices.
Cisco NPV edge switches are essentially transparent to the fabric and most Fibre Channel
services of the switches are disabled. The switches do not have a domain ID and therefore do
not appear in the FSPF routing table.
Cisco NPV edge switches pass traffic between end devices and Cisco NPV core switches that
provide Fibre Channel services for the connected devices.
The Cisco NPV core switch must enable the NPIV feature to support FLOGI from each device
that is connected through the Cisco NPV edge switch.
Cisco NPV-enabled switches are standards-based and interoperable with third-party switches in
the SAN. Cisco supports four interoperation modes to accommodate third-party switches:
Interop mode 1: The ANSI T11 FC-SW-2 standard enables Cisco MDS 9000 Series
switches to interoperate with third-party switches that have been configured for
interoperability. Interop mode 1 allows Cisco MDS 9000 Series switches to communicate
over a standard set of protocols with these switches.
Interop mode 2: This mode allows seamless integration with older Brocade switches that
use a restrictive process ID (PID) format (PID=0) that permits only 16 devices per domain
(Brocade models 2100, 2400, 2800, and 3800 Series). Core PID format 0 (CORE PID=0) is
common in Brocade fabrics that do not include a model 200e, 3900, 4100, 4900, 12000, or
24000.
Interop mode 3: This mode allows seamless integration with specific Brocade switches
(3900, 12000, and 24000) running CORE PID=1. This format requires other lower-end
models to upgrade, which is a disruptive operation.
Interop mode 4: This mode allows seamless integration with McData, available in SAN-
OS 3.0. This mode requires manual configuration of the switch world wide name (sWWN)
according to the IEEE specification before changing the VSAN interop attribute. The
allowed domain ID range is 1 to 31.
3-68 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Cisco NPV edge switches
- Cisco MDS 9148 Multilayer
Fabric Switch
MDS 9148 Multilayer
- Cisco Nexus 4000 Series Blade Fabric Switch
Switch
- Cisco Nexus 5000 and 5500
Series Switches
- Cisco UCS 6200 Series Fabric
Interconnects
• Cisco NPV core switches
(support NPIV)
- Cisco MDS 9710 and 9500 Series
Multilayer Directors
MDS 9506, 9513, 9710 Multilayer Directors
- Cisco MDS 9222i Multiservice
Modular Switch and Cisco MDS
9250i Multiservice Fabric Switch
MDS 9250i MDS 9222i
- Third-party switches Multiservice Multiservice
Fabric Switch Modular Switch
• Need to support NPIV
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-7
3-70 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
N-Port ID Virtualization
This topic describes how NPIV allows assignment of multiple FCIDs to a single node (N) port.
File Services File Services I/O Each VM will log into the switch
N_Port_ID 3 with its virtual pWWN and each VM
will receive a unique FCID. MDS Switch
Virtual Servers
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-10
A single N Port on the switch can only support FLOGI from a single N Port device. The N Port
sends a FLOGI and receives its unique FCID from the switch.
NPIV provides a way to assign multiple FCIDs to a single N Port and therefore NPIV allows
multiple applications to share the same host bus adapter (HBA) port.
The use of different pWWNs allows access control, zoning, and port security to be
implemented at the application level.
Usage applies to virtual server applications such as VMware ESX, Microsoft Hyper-V, and
Linux Xen Server.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-11
The Cisco NPV edge switch acts as a proxy for the end devices. The NPIV proxy captures all
FLOGI frames from the HBA and external interfaces and resends them to the switch as fabric
discovery (FDISC) frames. To simplify Cisco NPV switch operation, hosts are pinned to their
respective external interfaces or uplinks that, in turn, connect to the Cisco NPV core switch.
switch# conf
switch(config)# feature npiv
3-72 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
F and TF Port Channel Configurations
This topic describes F and TF port channels, their restrictions, and the commands that are used
for configuration.
NP Port F Port
Trunking Enabled
Cisco NPV Edge Switch
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-14
An F port channel is a logical interface that combines a set of fabric ports (F Ports) that are
connected to the same Fibre Channel node. The F port channel operates as one link between the
F Port and the NP Port. An F port channel supports the same bandwidth utilization and
availability as E port channels. The F port channel is used mainly between a Cisco MDS 9000
Series core and Cisco NPV switch, to provide optimal bandwidth utilization and transparent
failover between the uplinks of a VSAN.
A TF port channel is a trunking F Port on a Cisco MDS 9500 Series switch carrying multiple
VSAN traffic to and from an NP Port on a Cisco MDS switch in Cisco NPV mode.
3. Configure interfaces.
switch(config)# interface fc 2/1-2
switch(config-if)# shut
switch(config-if)# switchport mode F
switch(config-if)# switchport trunk mode off
switch(config-if)# switchport speed 4000
switch(config-if)# switchport rate-mode shared
switch(config-if)# channel-group 1
switch(config-if)# no shut
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-15
The figure shows the commands that are used to configure an F port channel in shared mode. A
port in shared mode shares the remaining bandwidth in the port group with other shared mode
ports, after ports in dedicated mode have received their allocation.
Also shown are the commands to bring up the link (not supported on Cisco MDS 91x4
switches) between F Ports on the NPIV core switch and the NP Ports on the Cisco NPV
switches.
Port channel configuration requires the following steps:
Step 1 Enable the F Port trunking and channeling protocol on the MDS 9000 Series core
switch. Enable NPIV on the MDS 9000 Series core switch.
Step 2 Create the port channel on the MDS 9000 Series core switch.
Step 3 Configure the port channel member interfaces on the MDS 9000 Series core switch.
3-74 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
On the Cisco NPV Edge Switch, do the following:
1. Enable the Cisco NPV feature.
switch(config)# NPV enable
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-16
Use the following steps to create the port channel on the Cisco NPV switch:
Step 1 Configure the port channel member interfaces on the Cisco NPV switch.
Step 2 Set the administrative state of all the port channel member interfaces on both the
NPIV core switch and the NPV switch to on.
Step 3 When configuring a TF port channel, set the trunk mode to on and the rate mode to
dedicated.
• Cisco NPV allows the edge switch to appear as a host to the upstream
core switch, which eliminates the need to configure a domain ID at the
edge.
• NPIV supports multiple FCIDs being assigned to a single N Port.
• F and TF interfaces can become members of a port channel.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-17
3-76 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 5
Configuring VSANs
Overview
This lesson explains how virtual SANs (VSANs) can be used in a physical SAN environment to
reduce underutilized SAN components through SAN consolidation. This lesson also explains
the purpose of the default VSAN and how to configure VSANs.
Objectives
Upon completing this lesson, you will be able to describe the process of configuring VSANs.
This ability includes being able to meet these objectives:
Describe how VSANs provide logical separation of fabric services in a unified physical
infrastructure
Describe the process of creating VSANs and assigning interface members
Describe the process for displaying the attributes of configured VSANs
Present and describe the recommended practices for creating and managing VSANs
VSAN Overview
This topic describes how VSANs provide logical separation of fabric services in a unified
physical infrastructure.
virtual fabrics. FC
per-VSAN.
FC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-4
3-78 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• There are up to 256 VSANs per physical switch:
- There are up to 239 switches per VSAN, and
typically less than 40. VSAN 10 VSAN 20 VSAN 30 VSAN 1
(Default)
- Each virtual switch has a unique domain ID.
• Fibre Channel frames are uniquely identified:
- The frames are tagged with a VSAN_ID header
on the ingress port.
- The VSAN_ID header is removed on egress port MDS 9000 Series
before delivery to a Fibre Channel end device. Switch Chassis
- Headers are maintained across TE ports
between switches.
- Each frame may be prioritized through the Fibre
Channel QoS feature.
• IVR allows storage devices to be shared
between VSANs.
• VSANs offer ease of management:
- It is easy to create VSANs and allocate Fibre
Channel ports to them. Fabric 10 Fabric 20 Fabric 30 Fabric 1
- A Fibre Channel port can only belong to a single Domain ID Domain ID Domain ID Domain ID
VSAN or fabric. 0x61 0x94 0x33 0x12
44 Ports 24 Ports 12 Ports 8 Ports
(Logically within the MDS 9000 SeriesSwitch Chassis)
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-5
VSANs help achieve traffic isolation in the fabric by adding control over each incoming and
outgoing port. There can be up to 4000 VSANs in the physical fabric and a maximum 239
switches per VSAN. This ability effectively helps with network scalability, because the fabric
is no longer limited by 239 domain IDs, and because the domain IDs can be reused within each
VSAN. These figures are theoretical maximums, but 80 VSANs per switch and 60 switches per
VSAN are the recommended limitations for Cisco Nexus Operating System (NX-OS) Software
Release 5.0.
The default VSAN number is VSAN 1. The maximum number of VSANs per switch is 256.
This number includes default VSAN 1 and isolated VSANs 4079 and 4094, so effectively an
administrator can create 253 VSANs.
To uniquely identify each frame in the fabric, the frame is labeled with a VSAN identification
(VSAN ID) tag on the ingress port. The VSAN ID is stripped away across expansion (E) ports
because those ports only support a single VSAN, however across trunking expansion (TE)
ports, the VSAN ID is still maintained. By carrying SAN and frame priority in the header, Fibre
Channel quality of service (QoS) can be properly applied. The VSAN ID is always stripped
away at the other edge of the fabric. If an E Port is capable of carrying multiple VSANs, that
port then becomes a TE Port.
VSANs also facilitate the reuse of address space by creating independent virtual SANs, thus
increasing the available number of addresses and improving switch granularity. Without a
VSAN, an administrator needs to purchase separate switches and links for separate SANs. The
system granularity is at the switch level, not at the port level.
VSANs are easy to manage. To move or change users, you need to change only the
configuration of the SAN, not its physical structure. To move devices between VSANs, you
simply change the configuration at the port level. No physical moves are required.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-6
VSAN 1 is the default VSAN that is automatically created by the MDS switch. VSAN 1 is
always present and cannot be deleted. All Fibre Channel ports originally belong to VSAN 1
until the ports are moved to a different VSAN.
The administrator can create VSANs 2 through 3839 to create logical SAN fabrics for different
applications or departments within the organization. Fibre Channel ports are then moved to
their appropriate VSAN so that the ports are logically isolated from ports that belong to
different VSANs.
If a VSAN is deleted, then the ports that belonged to that VSAN are moved to the isolated
VSAN. There the ports are logically isolated from one another and held until the administrator
moves the ports to another VSAN.
3-80 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Each VSAN has its own Domain 100
Domain 200
Domain 105
Domain 223
Domain 126 Domain 153
Domain 173
principal switch and domain ID
allocation policy.
• Principal switches for different
VSANs can reside on different
physical switches. Domain 112
Domain 110
Domain 171
• Each switch has a separate Domain 153
Each switch maintains a separate domain ID for each active VSAN and each VSAN has its own
principal switch and domain ID allocation policy, either static or dynamic. Static is the
preferred policy. Principal switches for different VSANs do not necessarily need to reside on
the same physical switch. The administrator can nominate which switch will be the principal
switch or have that choice automatically elected.
Each VSAN can also have a separate Fibre Channel ID (FCID) allocation policy, either static
or dynamic, but static is preferred.
All ports are originally configured in default VSAN 1 and then moved by the administrator to
their appropriate VSAN.
As shown in the figure, each switch that has end ports in a particular VSAN has a domain ID
that is assigned to that particular VSAN. Core switches that trunk these VSANs also have
assigned domain IDs in these VSANs, so that frames can be routed between switches.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-8
The VSAN feature provides two primary functions, which are hardware-based isolation of
traffic and independent fabric services for each VSAN.
Hardware-based isolation of tagged traffic belonging to different VSANs requires no special
drivers or configuration at the end nodes, such as hosts, disks, and so on. Traffic is tagged at the
Fibre Channel ingress port (Fx Port) and carried across Enhanced Inter-Switch Links (EISLs)
between Cisco MDS 9000 Series switches. Because VSANs use explicit frame tagging, the
VSANs can be extended over the metropolitan-area network (MAN) or WAN if trunking is
supported. The Cisco MDS 9000 Series IP Storage Services Module can add tags to be
transported in Fibre Channel over IP (FCIP) for greater distances between data centers.
Fibre Channel, and therefore VSANs, can easily be carried across dark fiber. However, VSANs
add 8 bytes of header, which might be a concern for existing channel extenders. The channel
extenders might consider the frame invalid and drop the frame.
Dense wavelength-division multiplexing (DWDM) switches may also count frames as invalid,
but might pass the frames anyway. Qualification is still ongoing within Cisco to validate
various extension methods.
3-82 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Domain 100 Domain 105 Domain 126
• IP connectivity between Domain 200 Domain 223
Domain 1 Domain 2 Domain 3
switches over Fibre Channel: 10.20.1.6/24 10.20.1.5/24 10.20.1.4/24
basis.
• IP address is mapped to each Domain 110
virtual switch within the VSAN. Domain 153
Domain 5
• Switch selectively routes 10.20.1.1/24
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-10
VSANs and fabric zoning are complementary. For the hierarchical relationship, you first assign
physical ports to VSANs, and then you configure independent zones for each VSAN. VSANs
divide the physical infrastructure, provide traffic statistics, and are changed only when ports are
needed for each VSAN fabric. VSANs also allow ports to be added or removed
nondisruptively.
Zones divide the VSAN infrastructure while providing added security and allowing the sharing
of device ports. Zones can be changed frequently. An example situation is backup applications
where a host might not communicate to a server during the day but needs to connect to the
server at night for backup storage.
Zones are similar to access control lists (ACLs) in that zones restrict connectivity between
devices and provide security through segmentation. Zoning is covered in more detail elsewhere
in the course.
3-84 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Without DPVM • With DPVM
- VSAN membership is based - VSAN membership is based on the
on the physical switch port. pWWN of the server or storage
- Configuration is tied to a single device.
switch. - Reconfiguration is fabricwide and
- Reconfiguration is required when a distributed using Cisco Fabric
host or storage device moves to Services.
another switch. - No reconfiguration is required when a
- The switch port belongs to a VSAN. host or storage device is moved to
another switch.
- The device port belongs to a VSAN.
SW1 SW2 SW1 SW2
pWWN1 pWWN1
Move can require Move without
FC reconfiguration FC FC reconfiguration FC
HBA
on SW2 HBA
HBA HBA
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-11
VSAN membership can be defined, either based on the physical switch port, or based on the
port world wide name (pWWN) of hosts and storage devices.
With Dynamic Port VSAN membership (DPVM), hosts and targets can be moved from one
port to any other switch port anywhere in the MDS fabric. This move does not require manual
reconfiguration of the port VSANs.
Once DPVM is enabled on the switches, the DPVM database keeps a record of the pWWN of
the device and associated VSAN membership. If the device moves to another interface, the
DPVM database record will be used to determine the VSAN membership of the device.
As a result, the device can be moved to other ports belonging to other VSANs. The device will
remain in its original VSAN due to the pWWN mapping.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-13
The VSAN first needs to be created before you can configure any application-specific
parameters for a VSAN. To create and configure VSANs, follow these steps:
Step 1 Enter the configuration mode with the config command.
Step 2 Configure the VSAN database with the vsan database command.
Step 3 Create a VSAN number with the vsan x command, where x is a VSAN number that
is not currently assigned.
Step 4 Create a name for the new VSAN with the vsan x name abc command, where abc is
the actual VSAN name you will use.
The VSAN name is a text string that identifies the VSAN for management purposes. The name
can be from 1 to 32 characters long, but the name must be unique across all VSANs. By
default, the VSAN name is a concatenation of VSAN and a four-digit string representing the
VSAN ID. For example, the default name for VSAN 3 is VSAN0003. The response to the vsan
x name command should be updated as vsan x.
To assign VSAN membership, follow these steps:
Step 1 Enter the configuration mode with the config command.
Step 2 Configure the VSAN database with the vsan database command.
Step 3 Create a VSAN number with the vsan x command, where x is a VSAN number that
is not currently assigned.
Step 4 Assign a specific Fibre Channel interface for membership to the specified VSAN.
Use the vsan x interface fcy/z command, where y/z is the slot and port number of
the associated Fibre Channel interface.
3-86 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
While VLAN assignment is performed with an interface command, VSAN assignment is
performed using the VSAN database.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-14
When an active VSAN is deleted, all of its attributes are removed from the running
configuration. System software maintains VSAN-related information. VSAN Manager
maintains VSAN attributes and port membership details.
This feature is affected when you delete a VSAN from the configuration. When a VSAN is
deleted, all the ports in that VSAN are made inactive, and the ports are moved to the isolated
VSAN. If the same VSAN is re-created, the ports do not automatically get assigned to that
VSAN.
You must explicitly reconfigure the port VSAN membership. VSAN-based run time (name
server), zoning, and configuration (static routes) information is removed when the VSAN is
deleted. Configured VSAN interface information is removed when the VSAN is deleted.
To delete a VSAN and its various attributes, follow these steps:
Step 1 Enter the configuration mode with the config command.
Step 2 Configure the VSAN database with the vsan database command.
Step 3 Go into the VSAN configuration mode by selecting an existing VSAN number with
the vsan x command, where x is a VSAN number that exists.
Step 4 Delete the desired VSAN by using the no vsan x command.
To exit from the configuration mode and return to the executive mode, use the end command.
3-88 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Step 2 You can change the path selection setting directly to the default with the vsan x
loadbalancing src-dst-ox-id command. The default path selection is SID/
DID/originator exchange ID (OXID).
Step 3 To suspend the administrative state of a VSAN, use the vsan x suspend command.
Note The administrative state of a VSAN can be either active (default) or suspended. The active
state of a VSAN indicates that the VSAN is configured and enabled. By enabling a VSAN,
you activate the services for that VSAN. The suspended state of a VSAN indicates that the
VSAN is configured but not enabled. If a port is configured in this VSAN, the port is disabled.
You can use the suspended state to deactivate a VSAN without losing the configuration of
the VSAN, but note that all ports in a suspended VSAN are disabled. By suspending a
VSAN, you can preconfigure all the VSAN parameters for the entire fabric and activate the
VSAN when ready.
Step 4 You can negate the previous command and reactivate a VSAN with the no vsan x
suspend command.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-15
In Cisco Prime DCNM-SAN Client, select the Create VSAN icon from the toolbar. The Create
VSAN dialog box allows you to configure the following:
Select one or more switches where the VSAN will be created.
Specify the VSAN ID. (The valid range is from 2 to 4093.)
Select the load-balancing scheme.
Select the interop mode for the VSAN. Cisco MDS 9000 Series switches support several
interop modes that allow MDS switches to connect to other third-party switches
seamlessly.
Specify the administrative state (active or suspended).
Choose whether to specify static domain IDs for this VSAN (optional).
Choose if this VSAN will be exclusively used for fiber connectivity (FICON) protocol.
3-90 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Do the following to achieve port VSAN assignment:
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-16
You can also assign VSANs in the Physical Attributes pane by selecting the FC Physical
folder.
vsan 10 information
name:VSAN0010 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:up
vsan 20 information
name:VSAN0020 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:up
vsan 4079:evfp_isolated_vsan
vsan 4094:isolated_vsan
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-18
To verify the current VSAN configuration and status, use the show vsan command from
executive mode. Use this command to display the following:
VSANs created
VSAN name
Administrative state (active or suspended)
Interoperability setting (default, 1, 2, 3)
Load-balancing scheme (SID/DID/OXID with a default of SID/DID)
Operational state (up or down)
To report the status for a specific VSAN, use the show vsan x command, where x is the number
of the VSAN.
3-92 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Verify VSAN membership.
switch# show vsan membership
vsan 1 interfaces:
fc1/1 fc1/2 fc1/3 fc1/4
fc1/7 fc1/8 fc1/9 fc1/10
fc1/11 fc1/12 fc1/13 fc1/14
fc1/15 fc1/16 fc1/17 fc1/18
vsan 10 interfaces:
fc1/5 fc1/6
vsan 20 interfaces:
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-19
To verify port VSAN membership, use the show vsan membership command from executive
mode. The report displays port VSAN assignments, including the isolated VSAN (4094).
To report the membership for a specific VSAN, add the VSAN number to the show vsan x
membership command.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-21
VSANs provide a method of isolating devices that are physically connected to the same storage
network, but are logically considered to be part of different SAN fabrics and need to be
logically isolated from one another. VSANs provide practical isolation of devices that are
physically connected to the same fabric. VSANs reduce the size of a Fibre Channel distributed
database and enable more scalable and secure fabrics.
Follow these guidelines when implementing VSANs:
Avoid using VSAN 1 (the default VSAN) for production network traffic.
Create at least one VSAN to carry your network traffic.
Isolate devices in VSANs whenever practical. Isolation by department and by application
are two common practices. Isolating test and development environments from production
environments is also recommended.
Continue to use zones inside of each VSAN.
User Inter-VSAN Routing (IVR) to share devices across VSANs. An example would be
sharing a tape library across backup media servers that are each located in different
VSANs. IVR is discussed in detail elsewhere in the course.
3-94 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-22
Managing Domains
Overview
This lesson explains the purpose of Fibre Channel domains, their behavior in a virtual SAN
(VSAN) environment, and how to prevent fabric isolation. The lesson describes how the Cisco
MDS 9000 Series Multilayer Switches allocate Fibre Channel IDs (FCIDs) and describes how
to configure static domain IDs and FCIDs.
Objectives
After completing this lesson, you will be able to explain the purpose of Fibre Channel domains,
their behavior in a VSAN environment, and how to prevent fabric isolation. This ability
includes being able to meet these objectives:
Describe how to configure domain IDs within a VSAN
Configure the principal switch priority
Describe the steps to manually configure domain ID settings
Describe how to view configured and run-time fcdomain information from the CLI and
Cisco Device Manager
List and describe the configuration settings that determine if switches achieve adjacency or
become isolated during a fabric merge event
Describe the effects of configuring the auto-reconfigure, rcf-reject, and fcdomain
command options for fabric merge
Domain Configuration Process
During fabric reconfiguration, a principal switch is nominated to assign a unique Fibre Channel
domain ID to every switch in the fabric or VSAN. The domain ID is used when routing frames
from one switch domain to another within the fabric. This topic explains the domain
configuration process and principal switch selection.
• Fabric reconfiguration
- Starts with a disruptive restart or nondisruptive restart
- Invokes a resynchronization of all switches in the fabric VSAN
- Ensures that switches simultaneously select a new principal switch
• Principal switch selection
- Guarantees the selection of a unique principal switch across the fabric VSAN
- The principal switch manages the assignment of domain IDs to the other
switches in the fabric VSAN
• Domain ID distribution
- Guarantees that each switch in the fabric VSAN obtains a unique domain ID
• FCID allocation
- Guarantees a unique FCID assignment to each device that is attached to the
corresponding switch in the fabric VSAN
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-4
The Fibre Channel domain (fcdomain) feature performs principal switch selection, domain ID
distribution, FCID allocation, and fabric reconfiguration functions as described in the FC-SW-2
standards. The domains are configured on a per-VSAN basis, and if you do not configure a
domain ID, the local switches use a random ID.
To successfully configure domain parameters and prevent fabric segmentation, you need to
understand the anticipated behavior of the fcdomain feature phases. There are four phases that
are associated with the fcdomain feature process:
Fabric reconfiguration: This phase guarantees a resynchronization of all switches in the
fabric to ensure that the switches simultaneously restart a new principal switch select phase.
Principal switch selection: This phase guarantees the selection of a unique principal switch
across the fabric. The role of the principal switch is to manage domain ID assignments
using the locally configured allowed domain list.
Domain ID distribution: This phase guarantees that each switch in the fabric obtains a
unique domain ID.
FCID allocation: This phase guarantees a unique FCID assignment to each device that is
attached to the corresponding switch in the fabric.
Domain IDs must be unique across interconnected VSANs. To ensure unique domain IDs for
each switch across interconnected VSANs, consider minimizing the number of switches that
require a domain ID assignment for minimum traffic disruption. This process can be achieved
3-98 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
by using the Cisco N-Port Virtualizer (NPV) feature that puts the switches in a mode of
operation that does not require domain IDs. NPV is mentioned in detail elsewhere in the course.
Principal
Local WWN VSAN 10
20:01:ab:ba:cd:dc:f4:00 Runtime Fabric Name
Configured Priority = 128 20:01:ab:ba:cd:dc:f4:00
• Highest Priority or Runtime Priority = 2
• Lowest Local WWN
Lowest number
is highest priority
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-5
The principal switch selection phase guarantees the selection of a unique principal switch
across the fabric. The principal switch allocates domain IDs to subordinate switches.
The principal switch is elected, based upon these criteria:
Highest run-time priority: This number is in the range of 1 to 254, but the default is 128.
Lowest switch world wide name (WWN): If all switches in the fabric have the same run-
time priority, then the principal switch becomes the switch with the lowest WWN.
Note the difference between the configured priority and the run-time priority. When a fabric
reconfiguration takes place, the configured priority becomes the switch run-time priority. If the
principal switch is elected because the switch has the lowest WWN, the switch changes its run-
time priority to 2. This change ensures that the switch has a higher priority than the others.
When the fcdomain feature is disabled, the run-time fabric name is the same as the configured
fabric name.
When the fcdomain feature is enabled, the run-time fabric name is the same as the WWN of the
principal switch.
In this example, the configured fabric name is 20:01:ab:ba:cd:dc:f4:00.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-6
The principal switch is used to issue domain IDs when a new switch is added to an existing
fabric. When two fabrics merge, the principal switch selection process determines which one of
the existing switches becomes the principal switch.
These rules characterize the election of the new principal switch:
A switch that has already been allocated a domain ID list has priority over a switch that has
an empty domain ID list. The principal switch is the principal switch of the first fabric.
When working with a single-switch fabric, the switch does not contain a domain ID list.
If both fabrics have a domain ID list, the priority between the two principal switches is
determined by configured switch priority. This parameter can be set by the user—the lower
the value, the higher the priority. However, when connecting a single-switch fabric to a
multiswitch fabric, the multiswitch fabric always retains its principal switch, regardless of
the principal switch priority setting on the single-switch fabric.
If the principal switch cannot be determined by either of the two previous criteria, then the
WWNs of the two switches determine the principal switch. The lower value has the higher
priority. Unfortunately, this switch is usually the oldest and slowest switch in the fabric.
Because of this fact, it is advisable to manually choose the principal switch by configuring a
lower run-time priority than the rest.
3-100 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• This behavior is default behavior unless static domain IDs are
configured.
• There is no guarantee that a domain ID will not change upon
reassignment.
VSAN 10
Principal Requested Domain ID Available Subordinate
Principal Subordinate
Requested Domain ID Unavailable
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-7
The configured domain ID can be preferred or static. By default, the configured domain ID is 0
(zero) and the configured type is preferred. If you do not configure a domain ID, the local
switch sends a random ID in its request. All switches within a fabric or VSAN should be
configured with the same domain ID type, preferred or static.
When a subordinate switch requests a domain, the local switch sends a configured domain ID
request to the principal switch. The principal switch then assigns the requested domain ID, if
that ID is available. Otherwise, the principal switch assigns another available domain ID.
In this example, domain ID distribution is exemplified in the figure as follows:
1. The subordinate switch sends a configured preferred domain ID request (7) to the principal
switch.
2. The requested domain ID (7) is assigned by the principal switch if that ID is available.
3. The subordinate switch sends a configured preferred domain ID request (7) to the principal
switch.
4. This time, the requested domain ID (7) is unavailable because that ID is already assigned to
the principal switch, so another available domain ID (9) is assigned from the pool.
Subordinate
switch# show fcdomain
allowed vsan 10 Requested Domain ID Conflict
Assigned or unallowed
domain IDs: 2,12. [User] 3 Static domain ID = 12
configured allowed domain Runtime domain ID = 12
IDs: 1-239 4
Principal 5 Subordinate
6
Logical ISL Isolated for that VSAN
Static domain ID = 2 Static domain ID = 12
Runtime domain ID = 2 Runtime domain ID = 12
Runtime priority = 2 7 Runtime priority = 128
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-8
1. When a static domain ID is configured, the subordinate switch will send a static domain ID
(12) request to the principal switch.
2. If that requested domain ID (12) is available, the ID will be assigned to the subordinate
switch and become its run-time domain ID (12).
3. If the subordinate switch sends a request for a domain ID (12) that is unavailable, because
the ID is already assigned, then the principal switch will still try to send an unassigned
domain ID to the subordinate switch.
4. When the subordinate switch receives this allocated domain ID, because the ID does not
match the locally configured domain ID, the subordinate switch will discard that ID.
5. The subordinate switch retains its static domain ID (12), which now becomes the run-time
domain ID (12).
6. However, to avoid a domain ID conflict, the logical EISL is isolated for that VSAN. The
VSAN will become segmented, and all local interfaces on the subordinate switch will
become isolated. Other VSANs using this EISL will not be isolated.
7. The subordinate switch will then assign itself the configured domain ID, which becomes
the run-time domain ID within its own segmented fabric.
3-102 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
VSAN 4
Principal Subordinate
Requested Domain ID Available
Subordinate
switch# show fcdomain
allowed vsan 4 Requested Domain ID Conflict
Assigned or unallowed
domain IDs: 2,12[User] 3 Static domain ID = 54
configured allowed Runtime domain ID = 54
domain IDs: 1-50 4
Principal 5 Subordinate
6
Logical ISL Isolated for that VSAN
Static domain ID = 2 Static domain ID = 54
Runtime domain ID = 2 Runtime domain ID = 54
Runtime priority = 2 7 Runtime priority = 128
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-9
The behavior for a subordinate switch changes based on the allowed domain ID lists,
configured domain ID, and domain ID that the principal switch has assigned to the requesting
switch:
When the assigned and requested domain IDs are the same, and the domain ID is within the
allowed list, then the following occurs:
— The preferred and static options are not relevant.
— The assigned domain ID becomes the run-time domain ID.
When the assigned and requested domain IDs are different, and the configured type is
static, then the following occurs:
— The assigned domain ID is discarded.
— All local interfaces are isolated.
— The local switch assigns itself the configured domain ID, which becomes the run-
time domain ID.
By default, the valid range for an assigned domain ID list is from 1 to 239. You can specify a
list of ranges to be in the allowed domain ID list and separate each range with a comma. The
principal switch assigns domain IDs that are available in the locally configured allowed domain
list.
If you configure an allowed list on one switch in the fabric, you should configure the same list
on all other switches in the fabric to ensure consistency.
An allowed domain ID list must satisfy the following conditions:
If this switch is a principal switch, all currently assigned domain IDs must be in the
allowed list.
If this switch is a subordinate switch, the local run-time domain ID must be in the allowed
list.
In the example that is shown in the figure, domain ID distribution is exemplified as follows:
1. The subordinate switch sends a configured static domain ID request (12) to the principal
switch.
2. The requested domain ID (12) is available and is assigned, becoming the run-time domain
ID.
3. The subordinate switch sends a configured static domain ID request (54) to the principal
switch.
4. The requested domain ID (54) is unavailable because the ID is outside the allowed domain
address range. Another available domain ID is assigned from the pool.
5. The subordinate switch discards the assigned domain ID.
6. The VSAN is segmented and all local interfaces on the subordinate switch become isolated.
7. The subordinate switch assigns itself the configured static domain ID, which becomes the
run-time domain ID (54).
3-104 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
If domain IDs are not static, then FCIDs may change.
HOST 1
Principal Subordinate FC FCID
HBA 07.00.00
FC HOST 2 Domain ID and FCID Values
HBA
FCID Before Fabric Reconfiguration
07.01.00
Switch MDS-2
Configured Domain ID = 0 Preferred
Run-Time Domain ID = 7
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-10
Domain Restart
Fibre Channel domains can be started disruptively or nondisruptively:
If you perform a disruptive restart, Reconfigure Fabric (RCF) frames are sent to other
switches in the fabric.
If you perform a nondisruptive restart, Build Fabric (BF) frames are sent to other switches
in the fabric.
A static domain is specifically configured by the user and can be different from the run-time
domain. If the domain IDs are different, the run-time domain ID changes to take on the static
domain ID after the next restart.
If a VSAN is in interoperability mode, you cannot restart the fcdomain feature for that VSAN
disruptively.
You can apply most of the configurations to their corresponding run-time values. Each of the
following sections provides further details on how the fcdomain parameters are applied to the
run-time values.
The fcdomain restart command applies your changes to the run-time settings. Use the restart
disruptive option to apply most of the configurations to their corresponding run-time values.
3-106 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Configuring the Principal Switch Priority
This topic describes how to configure the principal switch priority.
switch# conf
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-12
Each VSAN has a principal switch. Configuring the principal switch is a per-VSAN function.
By default, the configured switch priority is 128. The valid range to set the priority is between 1
and 254. Priority 1 has the highest priority. Value 255 is accepted from other switches, but that
value cannot be locally configured.
Any new switch cannot automatically become the principal switch when the switch joins a
stable fabric. During the principal switch selection phase, the switch with the highest priority
becomes the principal switch. If two switches have the same configured priority, the switch
with the lower WWN becomes the principal switch.
The priority configuration is applied to run time when the fcdomain feature is restarted. This
configuration is applicable to both disruptive and nondisruptive restarts.
To configure the priority for the principal switch, follow these steps:
Step 1 Enter configuration mode.
switch # config
Step 2 Configure a priority of 25 for the local switch in VSAN 99.
switch(config)# fcdomain priority 25 VSAN 99
• Static request:
switch(config)# fcdomain domain 3 static vsan 8
Recommended practice:
Static domain IDs should be used for most SAN environments.
• Preferred request:
switch(config)# fcdomain domain 5 preferred vsan 14
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-14
Cisco MDS 9000 Series switches can be configured to make either static or preferred domain
ID requests:
Static requests: These requests are the recommended best practice. These requests specify
the only domain ID that the requestor (subordinate switch) accepts from the principal
switch. If the principal switch is unable to satisfy the request, the switch passes a different
(available) domain ID back to the requestor. The requestor discards this domain ID, assigns
itself the statically configured domain ID, and isolates itself from the attached fabric.
Preferred requests: These requests specify the domain ID that the requestor prefers, but
the requestor accepts any domain ID that is provided by the principal switch.
With preferred requests, a domain-allowed list can be configured to restrict the range of
domain IDs that can be returned by the principal switch.
You must issue the fcdomain restart disruptive vsan vsan command to apply the configured
domain changes to the run-time environment.
Like most CLI commands, domain ID commands can be negated by preceding the command
with the no string, such as no fcdomain vsan vsan.
3-108 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Contiguous domain allocation:
- Disabled by default
- If you enable contiguous allocation, the following occurs:
• Takes immediate effect at run time
• Does not require fcdomain restart
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-15
By default, contiguous domain assignment is disabled. When a subordinate switch asks the
principal switch for two or more domains, and the domains are not contiguous, the following
cases apply:
Case 1: If the contiguous domain assignment is enabled on the principal switch, the
principal switch locates contiguous domains, and assigns the domains to the subordinate
switches. If contiguous domains are not available, the Cisco Nexus Operating System (NX-
OS) Software rejects this request.
Case 2: If the contiguous domain assignment is disabled on the principal switch, the
principal switch assigns the available domains to the subordinate switch.
To enable contiguous domains in a specific VSAN (or a range of VSANs), issue the following
commands:
switch# config
switch(config)# fcdomain contiguous-allocation vsan 25-105
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-16
Although the static option can be applied to the run-time configuration after a disruptive or
nondisruptive restart, the preferred option is applied to the run-time configuration only after a
disruptive restart.
3-110 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Choose VSAN > Domain Manager > Configuration.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-17
Domain information can be configured from the Cisco Prime Data Center Network Manager
for SAN Client (DCNM-SAN Client). Configuration options are per-VSAN and include the
following settings:
Enable: Enable or disable the fcdomain feature.
ConfigDomain Domainid: Configure the domain ID.
ConfigDomain Type: Set the domain ID allocation type to static or preferred.
Priority: Configure the switch priority.
Contiguous allocation: Select or remove the contiguous domain ID allocation feature.
Autoreconfigure: Select or remove the autoreconfigure feature.
FCID persistency: Configure the persistent ID behavior for fcdomain.
FCID purge: Select to purge persistent FCID entries.
Restart: Select disruptive or nondisruptive restarting of fcdomain.
Clicking Apply initiates the selected restart and applies configured settings to run time.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-19
Issue the show fcdomain command with no arguments to display all VSANs. The VSANs
should be active or an error is generated.
3-112 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Another switch is the principal switch:
switch1# show fcdomain domain-list vsan 1
Number of domains: 2
Domain ID WWN
--------- --------------------------------
0x4a(74) 20:01:00:05:30:00:13:9f [Local]
0x4b(75) 20:01:00:05:30:00:13:9e [Principal]
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-20
To verify that each switch is able to see the other switches, use the command show fcdomain
domain-list vsan vsan. If the command does not include a specific VSAN number, the display
lists the output for all VSANs.
The output of the command lists the set of domain IDs and associated WWNs for each switch
within a VSAN. This list provides the WWN of the switches that own each domain ID. The list
also indicates if a switch is the principal switch of the switches in the fabric or VSAN to which
the switch belongs.
Information on the fcdomain can be viewed from the Cisco Device Manager by choosing the
FC menu and then selecting Domain Manager.
3-114 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Merging Fabrics
This topic describes the configuration settings that determine if switches achieve adjacency or
become isolated during a fabric merge event.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-23
In a Fibre Channel network, the principal switch issues domain IDs when a new switch is added
to an existing fabric. However, when two fabrics merge, the principal switch selection process
determines which of the existing switches becomes the principal switch for the merged fabric.
These rules characterize the election of the new principal switch:
Rule 1: A switch with a nonempty domain ID list has priority over a switch that has an
empty domain ID list, and the principal switch is the principal switch of the first fabric.
When working with a single-switch fabric, the fabric does not contain a domain ID list.
Rule 2: If both fabrics have a domain ID list, the priority between the two principal
switches is determined by configured switch priority. You can set this parameter. The
lower the value, the higher the priority.
Rule 3: If the principal switch cannot be determined by the two previous criteria, the
principal switch is then determined by the WWNs of the two switches. The lower value has
the higher priority.
When merging two fabrics, the administrator can expect the following behavior:
When connecting a single-switch fabric to a multiswitch fabric, the multiswitch fabric
always retains its principal switch regardless of the principal switch priority setting on the
single-switch fabric.
When powering up a new switch that is connected to an existing fabric with two or more
switches, the existing switch fabric always retains its principal switch. This rule applies
even if the new switch has a higher administratively assigned principal switch priority.
When connecting a multiswitch fabric to another multiswitch fabric, the principal switch is
determined by the administratively assigned priority. If no priority is assigned and the default
value is used by every switch, the principal switch is determined by the WWN of the existing
principal switches of the two fabrics.
3-116 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Domain ID overlap causes isolation of the affected VSAN
• E Port isolation or VSAN isolation on TE ports
• Automatic reconfiguration prevents isolation by forcing a disruptive
restart:
- Disruptive restart is required if the auto-reconfigure option is enabled after
isolation occurs.
- Automatic reconfiguration must be enabled on all switches.
- Automatic reconfiguration is disabled by default.
Fabric 1 No Domain ID Overlap Fabric 2
Domain 110 Domain 74
Domain 153 Domain 28
Fabrics merge and switches establish adjacency.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-24
If two switch fabrics with two or more switches are connected and both fabrics have switches
with the domain ID already assigned, the expansion ports (E Ports) that are used to connect the
two fabrics are isolated in that VSAN.
The auto-reconfigure option prevents isolation by forcing a disruptive restart of the VSAN.
However, a disruptive restart is still required if autoreconfiguration is enabled after isolation
occurs.
The auto-reconfigure option must be enabled on all switches. This option is disabled by
default.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-25
When a switch fails to establish adjacency with its neighboring switch, the failure might be the
result of a domain ID conflict. Domain IDs are configured on a per-VSAN basis, so it is
possible that a switch can see all switches in one VSAN, but be isolated in another.
The E Ports that are used to connect two fabrics can become isolated when both of the
following conditions occur:
Condition 1: Both fabrics have switches with the same domain ID already assigned.
Condition 2: The auto-reconfigure option is disabled. (This option is disabled by default.)
In this case, the show interface command returns the following error message:
fc2/14 is down (Isolation due to domain overlap)
Hardware is Fibre Channel, WWN is 20:4e:00:05:30:00:63:9e
The following examples display domain overlap conditions for various ISL configurations. The
first command displays the status for three ISLs.
The following example shows that interface fc1/8 is isolated:
switch# show interface fc1/7-9 brief
--------------------------------------------------------------
Interface Vsan Admin Admin Status FCOT Oper Oper Port
Mode Trunk Mode Speed Channel
Mode (Gbps)
--------------------------------------------------------------
fc1/7 99 E on trunking swl TE 2 --
fc1/8 99 E off isolated swl -- --
fc1/9 99 E on trunking swl TE 2 --
Example 1: Trunking E Port (TE Port) fc1/7. Interface fc1/7 is trunking. The following
example shows that VSAN 99 is isolated:
3-118 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
switch# show interface fc1/7 trunk vsan
fc1/7 is trunking
Vsan 1 is up, FCID is 0xed0000
Vsan 99 is down (Isolation due to domain overlap)
Vsan 181 is up, FCID is 0x1a0200
switch# show interface fc1/7
fc1/7 is trunking
. . .
Trunk vsans (admin allowed and active) (1,99,181)
Trunk vsans (up) (1,181)
Trunk vsans (isolated) (99)
Trunk vsans (initializing) ()
Example 2: E Port fc1/8. Interface fc1/8 is an E Port (trunk mode off). The port is down due to
domain overlap in the native VSAN of the port (VSAN 99) in this example:
switch# show interface fc1/8 trunk vsan
fc1/8 is not trunking
switch# show interface fc1/8
fc1/8 is down (Isolation due to domain overlap)
. . .
Admin port mode is E, trunk mode is off
Port vsan is 99
. . .
Example 3: TE Port fc1/9. Interface fc1/9 is trunking. VSAN 99 is isolated, and only VSAN 99
is allowed across the interface in this example:
switch# show interface fc1/9 trunk vsan
fc1/9 is trunking
Vsan 99 is down (Isolation due to domain overlap)
switch# show interface fc1/9
fc1/9 is trunking
. . .
Trunk vsans (admin allowed and active) (99)
Trunk vsans (up) ()
Trunk vsans (isolated) (99)
Trunk vsans (initializing) ()
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-26
To manually assign a domain ID, issue one of the following commands in configuration mode:
switch(config)# fcdomain domain domain-id static vsan x
switch(config)# fcdomain domain domain-id preferred vsan x
The static option tells the switch to request that particular domain ID. If the switch does not get
that particular address, the switch isolates itself from the fabric. With the preferred option, the
switch requests the specified domain ID. If that domain ID is unavailable, the switch accepts
another domain ID.
After configuring the domain ID, you must restart Cisco Domain Manager.
Although the static option can be applied to run time after a disruptive or nondisruptive restart,
the preferred option is applied to run time only after a disruptive restart.
3-120 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Configuring Fabric Merge Options
This topic explains how to configure fabric merge options.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-28
By default, the auto-reconfigure option is disabled. When you join two switches that belong to
two different stable fabrics that have overlapping domains, the following cases apply:
Case 1: If the auto-reconfigure option is enabled on both switches, a disruptive
reconfiguration phase is started.
Case 2: If the auto-reconfigure option is disabled on either or both switches, the links
between the two switches become isolated.
To display if the auto-reconfigure option is enabled, use the show fcdomain command. The
display shows the setting on the local switch for each VSAN that is configured.
To enable the auto-reconfigure option on a particular VSAN, use the fcdomain auto-
reconfigure vsan vsan command in configuration mode.
The auto-reconfigure option takes immediate effect at run time. You do not need to reissue the
fcdomain command.
If a domain is currently isolated because of domain overlap, and you later enable the auto-
reconfigure option on both switches, the fabric continues to be isolated. However, if you
enable the option on both switches before connecting the fabric, a disruptive RCF occurs. A
disruptive reconfiguration can affect data traffic. You can nondisruptively reconfigure the Fibre
Channel domain by manually changing the configured domains on the overlapping links and
eliminating the domain overlap.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-29
The administration of domain IDs typically involves restarting the fabric or VSAN. Restarting
guarantees a resynchronization of all switches in the fabric to ensure that the switches
simultaneously restart a new principal switch selection phase. The principal switch guarantees
that each switch in the fabric obtains a unique domain ID. Fibre Channel domains can be
started disruptively or nondisruptively. With each disruptive restart, RCF frames are sent to
other switches in the fabric.
Cisco MDS 9000 Series switches can be configured to reject RCF frames. To determine if your
switch is configured to reject or accept RCFs, use the show fcdomain command. The output
shows the RCF rejection status for each ISL interface. The figure shows that interface fc1/8 has
RCF rejection enabled for VSAN 172. If an RCF for VSAN 172 is received from the fabric, the
following logging message is echoed:
Jan 19 08:37:28 mds1 %FCDOMAIN-2-EPORT_ISOLATED: Isolation of
interface fc1/8 (reason: invalid RCF request/RCF Reject
received) - VSAN 172.
To verify the trunking status of the interface, use the show interface fcx/y trunk vsan
command:
switch# show interface fc1/8 trunk vsan
fc1/8 is trunking
Vsan 1 is up, FCID is 0x640200
Vsan 171 is up, FCID is 0x640000
Vsan 172 is down (Isolation due to invalid fabric
reconfiguration)
Vsan 173 is up, FCID is 0x620100
3-122 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-30
Objectives
Upon completing this lesson, you will be able to configure distributed device aliases. This
ability includes being able to meet these objectives:
Describe the function of distributed device aliases
Describe the function of existing zone aliases
Explain how to configure the distributed device alias database
Explain how to configure distributed device aliases in a multiswitch fabric
Explain how to verify the distributed device alias database configuration
Distributed Device Alias Overview
This topic describes the function of the distributed device alias service that simplifies SAN
configuration and management tasks by assigning a global alias to device port world wide
names (pWWNs).
WWN1 WWN2
• Device alias features include the following:
- Independent of VSAN and zoning configurations.
- Permits importing of legacy Fibre Channel alias Global Device Aliases
definitions.
WWN1 = Server-Oracle-ERP
- Supports Cisco Fabric Services by default for
fabricwide synchronization. WWN2 = Array-OLTP
WWN1 WWN2
- Provides high availability support across switch
resets and switchovers.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-4
When a device pWWN must be specified to configure different applications such as zoning,
quality of service (QoS), and port security in a Cisco MDS 9000 Series Multilayer Switch, it is
important to assign the correct device name each time that the feature is configured. Failure to
do so may cause unexpected results. This problem can be avoided if a user-friendly name for a
pWWN is used instead, for all configuration commands, as required. These user-friendly names
are referred to as device aliases on MDS 9000 Series switches.
Device aliasing supports two modes, which are basic and enhanced.
Basic: When a device alias runs in basic mode, the application immediately expands the
user-friendly name to pWWNs.
Enhanced: When a device alias runs in enhanced mode, which is a best practice, all
applications accept the device alias configuration in the native format. The applications
store the device alias name in the configuration and distribute the name in the device alias
format instead of expanding to pWWNs. The applications track the device alias database
changes and take actions to enforce the changes.
The process can be automated using the force option. Use the no device-alias mode enhanced
force command to enable applications to automatically replace all device alias members with
the corresponding pWWNs. If a device alias member does not have a corresponding pWWN
mapping in the device alias database, the configuration will be removed.
Device aliases have the following features:
3-126 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Device alias information is independent of your virtual SAN (VSAN) configuration.
Aliases need to be defined only once and can then be used regardless of their VSAN.
Device alias configuration and distribution are independent of the zone server and zone
server database.
You can import existing zone alias configurations without losing data.
The device alias application uses Cisco Fabric Services infrastructure to enable efficient
database management and distribution. Device aliases use coordinated distribution mode
and physical distribution scope. The device alias feature and Cisco Fabric Services
distribution are both enabled by default.
When you configure zones, Inter-VSAN Routing (IVR) zones, or QoS features using
device aliases and you display the configuration, you automatically see that the device
aliases are displayed along with their respective pWWNs.
Up to 8192 device aliases can be configured fabric-wide.
Distributed device alias service is a highly available process. The device alias databases are
preserved across switch restarts and switchovers. The system can be restarted or switched
over during Cisco Fabric Services distributions or merges.
This_Is_A_$VerY$_Long-^bUt^-VaLid_Device_Alias_Name_9876543210$^
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-5
3-128 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Existing Zone Alias Overview
This topic provides a comparison between Fibre Channel aliases and device aliases.
There are many functional differences between Fibre Channel aliases and device aliases.
Device aliases are restricted to pWWNs and IP addresses, but device aliases are not restricted
to the zone server database or by VSAN membership.
Distributed device alias service configurations are distributed using Cisco Fabric Services
automatically by default and available to other applications, such as Fibre Channel Name
Server (FCNS), Fibre Channel Ping (fcping), Fibre Channel Traceroute (fctrace), zoning, and
IVR. These applications enhance the utility of the configurations and make the use of the
aliases more compelling.
VSAN 10
Global Device
Legacy Fibre
Import Alias
Channel Alias
Database
Definitions
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-8
When an import operation is complete, the modified alias database is distributed to all other
switches in the physical fabric when you perform the commit operation. At that time, if you do
not want to distribute the configuration to other switches in the fabric, performing the abort
operation will discard the merge changes.
3-130 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Distributed Device Alias Database Configuration
This topic describes the procedure for configuring a distributed device alias database.
• Configure device aliases once all ISLs are up. Configuration locks the
fabric.
switch(config)# device-alias database
switch(config-device-alias-db)# device-alias name foo pwwn
21:02:03:4a:5c:36:7a:e8
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-10
The device alias feature uses two databases to accept and implement device alias configuration:
Effective database: The effective database is the database that is currently used by the
fabric.
Pending database: The pending database is the database where subsequent device alias
configuration changes are stored while awaiting a commit.
Begin configuration once all Inter-Switch Links (ISLs) are up. After adding or modifying the
device alias configuration, a commit or discard command must be performed, because the
fabric remains locked during this period.
Device alias distribution is enabled by default. Device alias distribution uses a coordinated
distribution mechanism to distribute the modifications to all switches in a fabric. When you
configure the first device alias task, the fabric is automatically locked for the device alias
feature. Once locked, the following applies:
No other user can make any configuration changes to this feature.
A copy of the effective database is obtained and used as the pending database. All
modifications occur in the pending database, which remains in effect until you commit the
modifications or discard (abort) the changes.
If a device alias task is performed and the lock has not been released by either a commit or
discard command, an administrator can release the lock from any switch in the fabric. If
the administrator clears a lock, then any changes in the pending database are discarded.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-11
Use the following procedure to configure and distribute device aliases using Cisco DCNM-
SAN Client:
Step 1 Choose the End Devices folder in the Physical Attributes pane.
Step 2 Enter the device alias names as desired in the Device Alias fields in the Information
pane.
Step 3 Click Apply Changes.
Step 4 To make device alias names appear as enclosure names in the topology map,
highlight the rows in the table, and click Alias Enclosure.
Device aliases can also be used in Cisco DCNM-SAN Client. For example, when you are
creating zones for a VSAN using Cisco DCNM-SAN Client, the configured device aliases
appear for all of the pWWNs that have been mapped to device aliases within that VSAN.
3-132 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Configuring Device Aliases in a Multiswitch Fabric
Device aliases are global and persistent across all VSANs in all MDS switches in the SAN. By
default, device alias distribution is enabled, so that all MDS switches contain the same
distributed device alias service database contents.
• The following are guidelines for successful device alias database merge:
- Device alias distribution is enabled by default.
- Device aliases with different names cannot be mapped to the same pWWN.
- Verify that the combined number of device aliases in both databases does not
exceed 8192.
- For example, if database N has 6000 device aliases and database M has
2192 device aliases, the merge operation fails.
By default, device alias distribution is enabled. The device alias feature uses the coordinated
distribution mechanism to distribute the modifications to all switches in a fabric.
A coordinated distribution is not allowed to start if locks are taken for the application anywhere
in the fabric. A coordinated distribution consists of three stages:
1. A fabric lock is acquired.
2. The configuration is distributed and committed.
3. The fabric lock is released.
Coordinated distribution for distributed device alias services is driven by Cisco Fabric Services.
The stages are executed by Cisco Fabric Services in response to an application request without
intervention from the application.
An application keeps the configuration synchronized in a fabric through Cisco Fabric Services.
Two fabrics might merge as a result of an ISL coming up between the fabrics. These two
fabrics could have two different sets of configuration information that need to be reconciled in
the event of a merge. Cisco Fabric Services provides notification each time an application peer
comes online. If two fabrics with M and N application peers merge, and if an application
triggers a merge action on every such notification, a link-up event results in M*N merges in the
fabric.
Cisco Fabric Services supports a protocol that reduces the number of merges that are required
to one by managing the complexity of the merge at the Cisco Fabric Services layer. This
protocol runs per application per scope. The protocol involves selecting one switch in a fabric
3-134 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Ensure that both fabrics are using the same mode.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-14
If device alias distribution is turned on, the distribution is provided to the other switches in the
network whenever there is a change in the mode.
Note If you choose basic mode, ensure that all applications running on the enhanced fabric
comply with the device alias merge.
The device alias merge will fail due to mode mismatch, but the application merge will succeed
if the fabric does not have any native device alias configurations.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-16
Use the following commands to verify the configuration of the device alias database:
show device-alias database
show flogi database
show fcns database
3-136 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
switch# show flogi database
-------------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
-------------------------------------------------------------------------------
fc1/5 20 0x160000 10:00:00:06:2b:08:e5:80 20:00:00:06:2b:08:e5:80
[HOST2-P1]
fc1/6 20 0x16019b 21:00:00:04:cf:70:4b:f7 20:00:00:04:cf:70:4b:f7
[DISK2-P2]
fc1/6 20 0x1601b3 21:00:00:04:cf:70:4a:3b 20:00:00:04:cf:70:4a:3b
[DISK2-P1]
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-18
3-138 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 8
Implementing Zoning
Overview
This lesson describes the differences between basic and enhanced zoning, how to configure
zoning as well as Smart Zoning, and how to manage zone sets. Also discussed are the causes of
zone merge conflicts and the tools available on the Cisco MDS 9000 Series Multilayer
Switches to identify and resolve conflicts in the SAN.
Objectives
Upon completing this lesson, you will be able to implement zoning. This ability includes being
able to meet these objectives:
Describe the purpose and use of zoning within Fibre Channel SANs
Describe the zone configuration process
Explain how to verify the zone configuration
Describe how to configure zone set distribution
Explain how to merge zones and zone configurations without causing fabric disruption
Explain how to recover from a zone merge failure
Describe how to rename, clone, copy, back up, and restore a zone set
Describe the enhanced zoning feature and configuration requirements
Describe the process of committing configuration changes to the zone database in enhanced
mode
Describe the advantages of the Smart Zoning feature for SANs with large numbers of
zones.
Describe recommended zoning practices
Zoning Overview
Zoning is a security mechanism within Fibre Channel that is used to restrict communication
between devices with the same Fibre Channel fabric. Zoning segments a Fibre Channel fabric
into multiple partitions. Devices in one zone cannot learn of the existence of devices in other
zones. This topic explains how zone membership is used to uniquely identify a device or
devices that are to be included in a zone.
Zone Set
Zone A
FC
Default Zone FC
Zone B
FC FC
FC
FC FC
FC
FC FC
FC
FC
FC FC
FC FC
FC Zone C FC
FC FC
FC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-4
With many different types of servers and storage devices on the network, the need for security
is critical. For example, if a host gained access to a disk being used by another host, potentially
with a different operating system, the data on this disk could become corrupted. To avoid any
compromise of critical data within the SAN, zoning allows the user to overlay a security map.
The map dictates which devices, namely hosts, can see which targets, reducing the risk of data
loss.
A zone set consists of one or more zones with the following characteristics:
A zone set can be activated or deactivated as a single entity across all switches in the fabric.
Only one zone set can be activated at any time.
A zone can be a member of more than one zone set.
A zone consists of multiple zone members. Members in a zone can access each other, but
members in different zones cannot access each other.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-5
Virtual SANs and fabric zoning are complementary. For the hierarchical relationship, you first
assign physical ports to virtual SANs (VSANs) and then you configure independent zones for
each VSAN.
VSANs divide the physical infrastructure, provide traffic statistics, and are only changed when
ports are needed for each VSAN fabric.
Zones divide the VSAN infrastructure, while providing added security and allowing the sharing
of device ports. Zones can be changed frequently, as with backup applications where a host
cannot communicate to a server during the day, but connects to the server at night for backup
storage.
In VSAN 2, three zones are defined, which are zone A, zone B, and zone C. Zone C overlaps
both zones A and B as permitted by Fibre Channel standards. In VSAN 7, two zones are
defined, which are zone A and zone D. No zone crosses the VSAN boundary. The zones are
completely contained within the VSAN. Zone A defined in VSAN 2 is different and separate
from zone A defined in VSAN 7. This process can be described hierarchically as follows:
VSAN 2
ZonesetA
Zone A
— Host 1
— Disk 1
— Disk 2
— Disk 3
Zone B
— Host 2
— Disk 4
3-142 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Zone C
— Host 2
— Disk 1
— Disk 2
VSAN 7
ZonesetD
Zone A
— Host 3
— Disk 5
— Disk 6
Zone D
— Host 4
— Disk 6
Zoning is a mechanism to control access to devices with a Fibre Channel fabric. On Cisco MDS
9000 Series switches, zoning is enforced separately in each VSAN.
Even though the MDS 9000 Series supports both hard and soft zoning enforcement methods,
the MDS 9000 Series switches always enforce zoning in hardware at the ASIC level.
Soft Zoning
Soft zoning is enforced through selective query responses that are made to the Fibre Channel
Name Server (FCNS). Each end device (node [N] port or node loop [NL] port) discovers other
devices in the fabric by querying the name server. When a device logs in to the name server,
the name server returns the list of other devices that the querying device can accessed. If an Nx
Port does not know about the Fibre Channel IDs (FCIDs) of other devices outside its zone, the
port cannot access those devices.
In soft zoning, zoning restrictions are applied only during interaction between the name server
and the end device. If an end device somehow knows the FCID of a device outside its zone, the
end device can access that device.
Hard Zoning
Hard zoning is enforced on each data frame that is sent by an Nx Port by the forwarding ASIC.
As frames enter the switch, source-destination IDs are compared with permitted combinations
to allow the frame at wire speed.
Zoning can be based on port world wide name (pWWN) and fabric world wide name (fWWN),
FCID, interface, and logical unit number (LUN). A LUN is a group of Small Computer
Systems Interface (SCSI) blocks that are contained within one or more disk drives inside a
storage array. When presented to the operating system and volume manager, the LUN becomes
a disk volume that must be formatted before use.
Zone membership criteria can be based on many different SAN features including the following
options:
pWWN: Defines the world wide name (WWN) of an attached device port.
3-144 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Fibre Channel alias: Defines the common name that is based on the pWWN, but is only
valid with a single VSAN.
Device alias: Defines the common name that is based on the pWWN, but is global and
valid across all VSANs.
FCID: MDS switches are unique in the industry because those switches assign FCIDs
dynamically so that the FCID is not tied to a physical switch port.
Switch port zoning includes the following options:
fWWN: Defines the WWN of a switch port on an MDS line card.
Interface: The interface is the line card interface number. In other words, the interface
fc1/2 indicates slot 1 and second port from the left. (All Cisco MDS numbering starts at 1.)
sWWN and port: The switch world wide name (sWWN) defines the WWN of the MDS
switch and port number within that switch.
Recommended practice:
Zone using device aliases.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-8
For configuration purposes, a zone is made up of a zone name and members. The zone name is
an alphanumeric string that gives information about the zone contents. Zones can be configured
using the Cisco Data Center Network Manager (DCNM)-SAN Client Zone Member wizard or
the CLI.
To configure a zone from the CLI, use these commands:
switch# config
switch(config)# zone name Zone1 vsan 3
switch(config-zone) # member pwwn 10:00:00:23:45:67:89:ab
switch(config-zone) # member fwwn 10:01:10:01:10:ab:cd:ef
switch(config-zone) # member fcid 0xcd00d1
switch(config-zone) # member fcalias HRdisk1
switch(config-zone) # member domain-id 2 portnumber 23
switch(config-zone) # member ipaddress 10.15.0.0 255.255.0.0
Use a relevant display command like show interface or show flogi database to obtain the
required value in hexadecimal format.
Interface-based zoning works only with Cisco MDS 9000 Series switches. Include the sWWN
when zoning by interface to determine a local or remote switch. Use the show wwn switch
command to retrieve the sWWN. If you do not provide an sWWN, the software automatically
uses the local sWWN.
3-146 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Configure a zone set and add previously created zones.
switch# conf
switch(config)# zoneset name Zoneset1 vsan 3
switch(config-zoneset)# member Zone1
switch(config-zoneset)# member Zone2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-9
Zones provide a mechanism for specifying access control, while zone sets are groupings of
zones to enforce access control in the fabric. Zone sets are configured using a zone set name
and the members of the zone set. Configured zone sets need to have the VSAN specified. The
alphanumeric name of the zone set is used for identification purposes and should carry meaning
within the fabric. The members of a zone set are zones, and the members are configured using
the names of the individual zones.
Zone sets, like zones, can be configured from the CLI or the Cisco DCNM-SAN Client. To
configure a zone set from the CLI, use these commands:
switch# config
switch(config)# zoneset name zoneset 1 vsan 3
switch(config-zoneset)# zone name NewZone1
switch(config-zoneset-zone)# member device-alias ERPHost1
3. When you activate a zone set, a copy of the zone set from the complete zone set is used to
enforce zoning and is called the active zone set. An active zone set cannot be modified. A
zone that is part of an active zone set is called an active zone. You can activate a zone set
using the zoneset activate name command.
4. The administrator can modify the complete zone set even if a zone set with the same name
is active. The changes do not take effect until the zone set is activated with the zoneset
activate name command.
5. When the activation is finished, the active zone set is automatically stored in persistent
configuration. This action enables the switch to preserve the active zone set information
© 2013 Cisco Systems, Inc. Building a SAN Fabric 3-147
across switch resets. You do not have to issue the copy running-config startup-config
command to store the active zone set. However, you need to issue the copy running-config
startup-config command to explicitly store complete zone sets. The command is not
available across switch resets.
6. All other switches in the fabric receive the active zone set so the fabrics can enforce zoning
in their respective switches.
7. Hard and soft zoning are implemented using the active zone set. Modifications take effect
during zone set activation.
8. An FCID or Nx Port that is not part of the active zone set belongs to the default zone, and
the default zone information is not distributed to other switches.
9. If one zone set is active and you activate another zone set, the currently active zone set is
automatically deactivated. You do not need to explicitly deactivate the currently active
zone set before activating a new zone set.
3-148 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Activate a zone set.
switch(config)# zone activate name Zoneset1 vsan 3
Zone 2 Zone 3
Zone 4
Zone Set A
Zone 1
Active Zone Set
Zone 2 X
Zone 4
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-10
The zoneset activate command activates the zone set named Zoneset1 in VSAN 3. The
activation will automatically deactivate any currently active zone set. The zone and zone set
configurations do not take effect until they are activated.
When using enhanced mode, you only need to commit. Enhanced mode will be discussed later.
• Logical domains:
- Edit full zone database.
- Deactivate zone set.
- Copy full zone database.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-11
Cisco DCNM-SAN Client provides an easy tool for all zone configuration tasks. Right-click
the VSAN folder in the Logical Domains pane to create and edit zone sets. The pop-up menu
displays several options, including the option Cisco DCNM-SAN Client Parameters.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-13
The current zoning configuration on the local switch can be displayed by using the show
zoneset command in EXEC mode.
To verify the current active zone set, use show zoneset active from EXEC mode. The asterisks
indicate that a device is visible (online). A missing asterisk may indicate an offline device or an
incorrectly configured zone, possibly a mistyped pWWN.
3-150 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Use show zone analysis commands.
- show zone analysis vsan 10
- show zone analysis active vsan 10
- show zone analysis zoneset zs1 vsan 10
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-14
To better manage the zones and zone sets on your switch, display zone and zone set
information using the show zone analysis command. The following sample command outputs
are shown:
switch# show zone analysis vsan 10
Zoning database analysis vsan 10
Full zoning database
Last updated at: 16:57:06 UTC Mar 04 2010
Last updated by: Local [ CLI ]
Num zonesets: 1
Num zones: 1
Num aliases: 0
Num attribute groups: 0
Formatted size: 112 bytes / 2048 Kb
switch# show zone analysis active vsan 10
Zoning database analysis vsan 10
Active zonesets: zoneset1
Activated at: 16:57:22 UTC Mar 04 2010
Activated by: Local [ CLI ]
Default zone policy: Deny
Number of devices zoned in vsan: 2/4 (Unzoned: 2)
Number of zone members resolved: 2/2 (Unresolved: 0)
Num zones: 1
Number of IVR zones: 0
Number of IPS zones: 0
Formatted size: 60 bytes / 2048 Kb
switch# show zone analysis zoneset zoneset1 vsan 10
Zoning database analysis vsan 10
Zoneset analysis: zoneset1
3-152 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-15
Zone sets, zones, and zone member information can be displayed by expanding the zone set
folder for the VSAN in question. Selecting a zone or zone set will highlight member devices in
the zone in the Cisco DCNM-SAN Client topology map. Zone configuration changes can be
made from the Zone > Edit Full Local Zone Database menu.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-17
By default, only the active zone set is distributed when the zone configuration is changed or
when two fabrics merge.
All MDS 9000 Series switches distribute active zone sets when new expansion (E) port links
come up or when a new zone set is activated in a VSAN. The zoneset distribute full vsan
command distributes the complete zone set along with the active zone set. Distribution takes
effect while sending merge requests to the adjacent switch or while activating a zone set.
All MDS 9000 Series switches distribute active zone sets when new E Port links come up or
when a new zone set is activated in a VSAN. Alternatively, you can use the zoneset distribute
full vsan configuration command to perform a one-time distribution of all inactive and active
zone sets. The zoneset distribute full vsan command distributes the complete zone set along
with the active zone set.
switch# zoneset distribute vsan 2
Zoneset distribution initiated. check zone status
This command only distributes the full zone set information. The command does not save the
information to the startup configuration. You must explicitly issue the copy running-config
startup-config command to save the full zone set information to the startup configuration.
3-154 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Using the zoneset command in configuration mode:
- The distribute full command enables full zone set propagation on activation.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-18
You can distribute full zone sets using one of two methods:
Executive mode level
Configuration mode level
One-Time Distribution
You can perform a one-time distribution of inactive, unmodified zone sets throughout the fabric
using the zoneset distribute vsan vsan-id command in EXEC mode.
Command example:
switch# zoneset distribute vsan 2
Zoneset distribution initiated. Check zone status
Note This command only distributes the full zone set information. The command does not save
the information to the startup configuration. You must explicitly issue the copy running start
command to save the full zone set information to the startup configuration.
3-156 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Merging Zones Without Disruption
This topic describes the procedure for merging zones without causing disruption to the switch.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-20
The zone server is a distributed feature on all switches. The high-availability feature for zoning
permits stateful restartability and switchability. Activating a zone set will automatically replace
the currently active zone set. A copy of the active zone set is maintained to allow modifications
to the original zone set.
Note Always carefully compare the active zone set with the proposed changes to the zone set
before making changes.
Adding or deleting a member to a zone or adding or deleting a zone to a zone set can be
accomplished nondisruptively. This ability happens by modifying the stored copy of the active
zone set and then reactivating the zone set. There is no need to deactivate and then reactivate a
zone set, as doing so is disruptive.
When a zone set is activated and the fabric is configured for a full zone database update, then
the full database will be sent to all switches. Otherwise, only the active zone set will be sent to
all switches.
Note If you are in a homogeneous Cisco MDS fabric and you plan to manage zones from all
switches in the fabric, full zone database updates are recommended. More commonly, a
single switch will be used to administer zones, in which case only propagating the active
zone set is appropriate.
A zone merge occurs when an ISL is initialized. If the ISL is an Enhanced ISL (EISL), then
zone merge is done per VSAN. The merge process stops when the zoning database is
synchronized.
3-158 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-21
If a zone merge failure occurs, you can conduct a merge analysis by using Cisco DCNM-SAN
Client. To perform a Zone Merge Analysis from the Cisco DCNM-SAN Client, use the
following procedure:
Step 1 Choose Zone > Merge Analysis from the Cisco DCNM-SAN Client Zone menu.
The Zone Merge Analysis window is displayed.
Step 2 Choose the first switch to analyze from the Check Switch 1 drop-down list.
Step 3 Choose the second switch to analyze from the And Switch 2 drop-down list.
Step 4 Enter the VSAN ID where the zone set merge failure occurred in the For Active
Zoneset Merge Problems in VSAN ID field.
Step 5 Click the Analyze button to analyze the zone merge.
Step 6 Click the Clear button to clear the analysis data from the Zone Merge Analysis
window. If you click the Analyze button without clicking the Clear button, the new
Zone Merge Analysis data is displayed below the old data.
In this example, a Zone Merge Analysis was conducted between switch MDS-1 and switch
MDS-2 on VSAN 1. The result is that a VSAN 1 zone set (zoneset1) merge will succeed. The
success occurs because all of the necessary configuration criteria for a zone merge between the
two switches have been met for that VSAN.
If a zone merge fails, you can also resolve the merger from the CLI by issuing a show interface
command for the E Port to determine the isolated VSAN and by comparing active zone sets on
both switches (show zoneset active). If you prefer the database for one switch over the other,
issue a zone merge interface fc1/1 {import | export} [vsan x] command.
The import option of the command will overwrite the configuration of the local switch with the
configuration of the remote switch. The export command would overwrite the zoning
configuration of the remote switch with the zoning configuration of the local switch.
• When merging fabrics, TE and E Ports may become isolated when the
active zone set databases differ between the two switches or fabrics.
• You can recover from isolation using one of three options:
1. Import the active zone set database from the neighboring switch and replace
the current configured zone set. Then activate the corrected zone set.
2. Export the current database to the neighboring switch.
3. Manually resolve the conflict by editing the full zone set, activating the
corrected zone set, and then bringing up the link.
1
Switch 1 Switch 2
VSAN 200 VSAN 200
Set200 fc1/3 Set200
Zone1 X Zone1
3
Host1 Host1 Host2
Disk1 Disk11
2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-23
The MDS 9000 Series switch provides a facility to correct a merge failure. The correction
occurs either by importing the database of an adjacent switch or by exporting its database to the
adjacent switch. This capability avoids the need to manually edit and fix the configuration at
either of the switches. Use this capability with caution, because this function affects all devices
within the configured zones.
If a zone merge fails, you can recover from isolation using one of three options:
1. Import the active zone set database of the neighboring switch and replace the current active
zone set.
The following commands are used to resolve a failed zone merge by importing or exporting an
active zone set:
zoneset import interface interface-id vsan vsan-id
zoneset export vsan vsan-id
3-160 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Import the zone set from the adjacent switch connected through the
fc1/3 interface for VSAN 200.
• Export the zone set to the adjacent switch connected through VSAN
200.
2 switch# zoneset export vsan 200
1
Switch 1 Switch 2
VSAN 200 VSAN 200
Set200 Set200
fc1/3
Zone1 X Zone1
Host1 Host1
Disk1 Disk11
2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-24
An E Port is segmented (isolation due to zone merge failure) if the following conditions are
true:
The active zone sets on the two switches differ from each other in terms of zone
membership (provided there are zones at either side with identical names).
The active zone set on both switches contains a zone with the same name but with different
zone members.
To resolve the link isolation because of a failed zone merge, follow these steps using the CLI:
Step 1 Use the show interface command to confirm that the port is isolated because of a
zone merge failure:
switch# show interface fc1/3
Fc1/3 is down (Isolation due to zone merge failure)
Hardware is Fibre Channel, WWN is 20:4e:00:05:30:00:63:9e
vsan is 200
Beacon is turned off
40 frames input, 1056 bytes, 0 discards
0 runts, 0 jabber, 0 too long, 0 too short
0 input errors, 0 CRC, 3 invalid transmission words
0 address id, 0 delimiter
0 EOF abort, 0 fragmented, 0 unknown class
79 frames output, 1234 bytes, 16777216 discards
Received 23 OLS, 14 LRR, 13 NOS, 39 loop inits
Transmitted 50 OLS, 16 LRR, 21 NOS, 25 loop inits
Step 2 Verify the zoning information, using the following commands on each switch:
show zone vsan vsan-id
show zoneset vsan vsan-id
Note If the zoning databases between the two switches are overwritten, you cannot use the
import option. To work around this limitation, you can manually change the content of the
zone database on either of the switches. After that action, you can issue a shutdown or no
shutdown command sequence on the isolated port.
If the isolation is specific to one VSAN and not on an E Port, the correct way to issue the cycle
up or down is to remove the VSAN from the list of allowed VSANs on that trunk port and
reinsert the VSAN.
3-162 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Initiate the import or export of an active zone set from Cisco DCNM-SAN
Client by choosing Zone > Merge Fail Recovery.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-25
Importing from one switch and exporting from another switch can lead to isolation again. You
can import active zone sets (do a merge fail recovery) if the cause of an ISL failure is a zone
merge failure. To import an active zone set, use the following procedure:
Step 1 From Cisco DCNM-SAN Client, choose Zone > Merge Fail Recovery. You will
see the Zone Merge Failure Recovery dialog box.
Step 2 Click the Import Zoneset radio button.
Step 3 From the drop-down list, choose the switch from which to import the zone set
information.
Step 4 From the drop-down list, choose the VSAN from which to import the zone set
information.
Step 5 Choose the interface to use for the import process.
Step 6 Click the OK button to import the active zone set, or click the Close button to close
the dialog box without importing the active zone set.
3-164 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Managing Zone Sets
This topic describes the procedure for backing up the zone configuration to a workstation.
• Use the Backup option from the File menu to create a backup of all
VSAN zones from Cisco DCNM-SAN Client.
> Edit Local Full Zone Database
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-27
You can back up the zone configuration to a workstation by using TFTP. This zone backup file
can then be used to restore the zone configuration on a switch. Restoring the zone configuration
overwrites any existing zone configuration on a switch.
To back up the full zone configuration using Cisco DCNM-SAN Client, use the following
procedure:
Step 1 From Cisco DCNM-SAN Client, choose Zone > Edit Local Full Zone Database,
or right-click a VSAN folder in the Logical tab and choose Edit Local Full Zone
Database from the pop-up menu.
Step 2 If you chose Zone > Edit Local Full Zone Database, then you see the Select
VSAN dialog box. Choose the VSAN.
Step 3 Click the OK button. You should see the Edit Local Full Zone Database window for
the VSAN you selected.
Step 4 Choose File > Backup to back up the existing zone configuration to a workstation
using TFTP.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-28
To restore the full zone configuration using Cisco DCNM-SAN Client, use the following
procedure:
Step 1 From Cisco DCNM-SAN Client, choose Zone > Edit Local Full Zone Database,
or right-click a VSAN folder in the Logical tab and choose Edit Local Full Zone
Database from the pop-up menu.
Step 2 If you chose Zone > Edit Local Full Zone Database, then you see the Select
VSAN dialog box. Choose the VSAN.
Step 3 Click the OK button. You should see the Edit Local Full Zone Database window for
the VSAN you selected.
Step 4 Choose File > Restore to restore a saved zone configuration. You can optionally
edit this configuration before restoring the configuration to the switch.
3-166 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Use the CLI zoneset rename command to rename a zone set from
configuration mode.
- zoneset rename current-name new-name vsan vsan-id
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-29
To rename a zone set, zone, or Fibre Channel alias, use these commands:
switch# config
switch(config)# zoneset rename oldname newname
switch(config)# zone rename oldname newname
switch(config)# fcalias rename oldname newname
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-30
To clone a zone or zone set from the Edit Local Full Zone Database window, use the
following procedure:
Step 1 Choose the Zones or Zonesets folder, right-click the folder for the zone or zone set
that you want to clone, and choose Clone from the pop-up menu.
Step 2 Enter the name of the cloned zone or zone set. By default, the dialog box displays
the selected zone name. The new zone name prepends the original zone name with
Cloned (for example, ClonedZone1) and selects the read-only zone state to match
the cloned zone.
Step 3 Click the OK button to add the cloned zone to the zone database.
You can clone zone sets and zones if you want to create multiple zone set configurations. For
example, you can use this action if you need to create a special zone set that is activated during
backup windows.
3-168 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• You can copy an active zone set to the full zone set or to a remote
location (using FTP, SCP, SFTP, or TFTP).
• This ability can be helpful if the full zone set is lost.
- You cannot edit the active zone set directly.
- If a switch needs to be replaced and the full zone set is lost, you can copy the
active zone set to the full zone set using the following command:
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-31
Zone sets can be copied to allow for editing of the zone set without alteration of the active zone
set. Copy the active zone set to either the full zone set or to a remote location before making
edits. The full zone set must exist and be propagated for this method to succeed.
Note Use care when using this method to ensure that you do not overwrite existing common
zones in the full zone set.
This feature may be helpful if the full zone set is lost. Because you cannot edit the active zone
set directly, you cannot change zone configurations if the full zone set is lost. To fix this
problem, you can copy the active zone set to the full zone set using the zone copy command:
switch# zone copy active-zoneset full-zoneset vsan 200
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-32
You can recover a database by copying the active zone database or the full zone database.
To copy a zone set, use the following procedure:
Step 1 From Cisco DCNM-SAN Client, choose a VSAN and right-click to select Edit
Local Full Zone Database.
Step 2 Highlight the zone set to be copied, right-click, and choose Copy.
Step 3 Enter the tag and click the Prepend or Append radio button.
Step 4 Click the OK button to create the copy.
3-170 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• In Step 1 of 5, enter the source switch and destination VSAN details.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-33
To use the Zone Migration wizard to migrate a non-MDS database, use the following
procedure:
Step 1 From Cisco DCNM-SAN Client, choose Zone > Migrate Non-MDS Database.
You should see the Zone Migration wizard.
Step 2 Enter the IP address, login ID, and password of the Brocade or McData switch from
which you will be migrating the zone database.
Step 3 Choose the VSAN ID for the destination of the migrated zone database and the
switch platform from which the zone database will be migrated. The migration tool
requires IP connectivity from both the Cisco DCNM-SAN Client management
workstation and the Cisco MDS that will receive the zone database copy.
Step 4 Click the Next button.
Step 5 Translate port-based zones to the new Cisco MDS domain and port offset
information by choosing the drop-down menus in the To Domain and Port Offset
fields.
Step 6 Click the Next button.
Step 7 Use the Resolve Zone Members dialog to resolve zone membership as either fWWN
or pWWN. Click the Next button.
Step 8 Review the script that will be run on the Cisco MDS to migrate the zone database
information. Optionally, select a location to which to save the script as a text file, or
make any necessary edits directly to the displayed script.
Step 9 Click the Next button.
Step 10 Choose the Cisco MDS switch to which the zone database will migrate.
Step 11 Click Finish to apply the new zone configuration.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-35
Enhanced zoning is compliant with the FC-GS-4 and FC-SW-3 standards specifications. These
standards support basic zoning as well as enhanced zoning functionalities.
With basic zoning, two or more administrators can make simultaneous configuration changes.
Upon activation, one administrator can overwrite the changes of another administrator. With
enhanced zoning, all configurations are performed within a single configuration session. When
a session begins, the switch locks the entire fabric to implement the change, ensuring
consistency within the fabric. In basic zoning, even with distribute full enabled, it is possible
that the full zone database is different between switches. In enhanced zoning, it is not possible
to change only the local full zoning database.
In basic zoning, if a zone is a member of multiple zone sets, an instance of the zone is created
in each zone set. With enhanced zoning, once a zone is defined, zone sets use references to the
zone as required. This process results in a reduced database payload size. The savings are more
pronounced with larger databases.
In basic zoning, the default zone policy of permit or deny is defined per switch. To ensure
proper fabric operation, all switches in the fabric must have the same default zone setting.
Enhanced zoning enforces consistent policies for the default zone and the default merge control
settings throughout the fabric. This fabric-wide policy enforcement reduces the potential for
zoning problems.
3-172 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• All switches in the VSAN must support enhanced zoning.
• Enable enhanced mode zoning on a VSAN from any switch.
switch(config)# zone mode enhanced vsan 20
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-36
By default, the enhanced zoning feature is disabled in all switches in the Cisco MDS 9000
Series. To enable enhanced zoning on a VSAN, you should perform the following steps:
Step 1 Verify that all switches in the fabric are capable of working in enhanced mode.
Step 2 If one or more switches are not capable of working in enhanced mode, then your
request to move to enhanced mode is rejected.
Note It is permissible to have one VSAN in basic mode and another VSAN in enhanced mode.
Use the zone mode enhanced vsan command to set the operation mode to enhanced zoning.
By doing so, you will automatically start a session, acquire a fabric-wide lock, distribute the
active and full zoning database using the enhanced zoning data structures, distribute zoning
policies, and then release the lock. All switches in the VSAN then move to the enhanced zoning
mode.
Use the show zone status command to verify that the operation was successful. After moving
from basic zoning to enhanced zoning, Cisco recommends that you save the running
configuration so that the setting will persist if the switch resets.
The Fibre Channel standards do not allow you to move back to basic zoning. However, MDS
9000 Series switches do allow this capability, which allows you to downgrade or upgrade to
other Cisco Nexus Operating System (NX-OS) releases.
To change to the basic zoning mode from the enhanced mode, use the following procedure:
Step 1 Verify that the active and full zone set do not contain any configuration that is
specific to the enhanced zoning mode (such as an attribute group). If such
configurations exist, delete them before proceeding. If you do not delete the existing
configuration, the Cisco NX-OS Software automatically removes them.
Step 2 Set the operation mode to basic zoning mode. By doing so, you will automatically
start a session, acquire a fabric-wide lock, distribute the zoning information using
the basic zoning data structure, apply the configuration changes, and release the lock
3-174 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Cisco DCNM-SAN Client also supports enhanced zoning.
- Enable or disable enhanced zoning on a VSAN.
- Edit full zone database and commit changes.
- View enhanced zone and zone set status.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-37
Cisco DCNM-SAN Client provides a graphical interface that allows you to perform enhanced
zoning operations, including the ability to do the following:
Manage enhanced zones: Enable and disable enhanced zoning on a VSAN.
Manage zone database: Edit the full zone database and commit changes.
Monitor zones: View enhanced zone and zone set status.
To configure enhanced zoning from Cisco DCNM-SAN Client, perform one or both of the
following:
Option 1: Choose a zone set in the Logical Domains pane, and then perform enhanced
zoning operations in the Enhanced pane.
Option 2: Edit the full zone database as you would for basic zoning. When you activate a
new zone set, Cisco DCNM-SAN Client will automatically perform the required commit
operation.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-38
To display the pending zone|zoneset information for the VSAN to be committed, use the
following command:
switch# show zone|zoneset pending vsan n
To display the difference between the pending and effective zone information for the specified
VSAN, use the following command:
switch# show zone pending-diff vsan n
The following is an example:
zone name testzone vsan 2
- member pwwn 21:00:00:20:37:4b:00:a2
+ member pwwn 21:00:00:20:37:60:43:0c
In enhanced zone mode, you can directly configure attributes using groups, adding the attribute
to the attribute-group object and attaching the object to a zone in a specific VSAN.
To display the pending zone information for the VSAN to be committed, use the following
command:
switch# show zone-attribute-group pending vsan n
The following is an example:
zone-attribute-group name testattgp vsan 2
read-only
Broadcast
qos priority high
3-176 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Modifying the Enhanced Zone Database
This topic describes the procedure for modifying the enhanced zone database.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-40
Modifications to the zone database are done within a session. A session is created at the time of
the first successful configuration command. On creation of a session, a copy of the zone
database is created. Any changes that are done within the session are performed on this copy of
the zoning database. These changes in the copy zoning database are not applied to the effective
zoning database until you commit the changes. When you have performed the required changes
to the enhanced zone configurations, apply the changes by issuing a commit command. Once
you have applied the changes, the session is closed. To commit changes to the zoning database
in a VSAN, use the zone commit vsan command.
The session is tied to the user that obtained the lock. If the fabric is locked by one user, and if
for some reason the lock has to be cleared by another user, use the force option. To use this
option, you must have permission. In other words, you must have the appropriate role to clear
the lock in this switch, and the action must be done from the switch from where the session was
originally created.
To discard pending changes and release the lock, use the no zone commit vsan command. If,
for some reason, the lock that is held by another user has to be cleared forcefully, then issue a
no zone commit vsan command with the force option. The following is an example:
switch(config)# no zone commit vsan 20 force
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-41
When an ISL is brought up between two fabrics (VSANs), their zone sets will attempt to
merge. The merge behavior depends on the fabric-wide merge control setting, as follows:
Restrict: If the two databases are not identical, the ISLs between the switches are isolated.
This setting can be used as a security precaution to ensure that fabrics do not
unintentionally merge. Note that basic zoning does not provide this fundamental security
mechanism, making this choice inherently less secure.
Allow: The two databases are merged using the merge rules that are specified in the table
that is shown in the figure. This parameter is the default merge control setting.
In enhanced zoning mode, the active zone set does not have a name in interoperability mode 1.
Zone set names are present only for full zone sets.
— Restrict: If this setting is used, the active zone set and the full zone set must be
identical. Otherwise, the link is isolated.
— Allow: If this setting is used, then the merge rules are used to perform the merge
(see the table in the figure).
To configure a restricted merge control setting for a VSAN, use the following command:
switch(config)# zone merge-control restrict vsan n
3-178 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
To configure the default allow merge control setting for a VSAN, use the following command:
switch(config)# no zone merge-control restrict vsan n
After entering either of these commands, the changes must be committed to take effect.
Zone A Disk3
- Standard zoning model just has Host1 Disk1
“members.” Zone set 1
- Any member can talk to any other Disk4
Host2
member. Zone B
- Each pair consumes an ACL entry
in TCAM.
Zone A
- The result is n*(n-1) entries. Valid ACL in TCAM Created but unused
- The admin pays a price for Host1>Disk1 Disk1>Disk2
internal inefficiency.
Host1>Disk2 Disk1>Disk3
Host1>Disk3 Disk2>Disk3
Disk1>Host1 Disk2>Disk1
Disk2>Host1 Disk3>Disk1
Disk3>Host1 Disk3>DIsk2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-43
The traditional zoning method allows each device in a zone to communicate with every other
device in the zone. The administrator is required to manage the individual zones according to
the zone configuration guidelines.
Any member can talk to any other member. This ability means every device must have an
access control list (ACL) entry in the ternary content addressable memory (TCAM) to talk to
all other devices in the zone. The result is that many entries are unused, which takes up switch
resources. This result is inefficient and could become problematic in great numbers.
3-180 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• One-to-one zoning One-to-One, Single Initiator Zoning
- 8 initiators, 4 targets, 32 zones FC FC FC FC FC FC FC FC
FC FC FC FC FC FC FC FC
- 64 ACL TCAMs (each zone 2
x1=2)
- A benefit is no unnecessary ACL
TCAMs FC FC FC FC
One-to-Many Zoning
This type of zoning means that there are multiple initiators, multiple targets, or both grouped in
the same zone. This type of zoning is the quickest way to set up zoning, but has many negative
consequences. In a situation with multiple initiators in the same zone, a disruption with one
initiator port can cause a broadcast of State Change Notifications to all interfaces in the zone.
This situation can be very disruptive to other initiators in the zone. Another complication of
multiple initiators in the same zone is the access control of the same storage at the same time.
For these reasons, a traditional best practice is to perform single initiator zoning.
Multiple targets within the same zone are not as disruptive to each other, but do present an
abundance of unnecessary ACL entries in the TCAM.
One-to-One Zoning
Due to the above negatives of one-to-many zoning, administrators may choose one-to-one
zoning with only two ACL entries in the TCAM per zone. The alternative is single initiator (or
single-init, single-target) zones, but in large environments, the creation of all these separate
zones causes a big operational overhead.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-45
36
Smart Zoning combines the benefits of one-to-one and one-to-many zoning. Smart Zoning
offers the following:
Simplicity of operational management with a single zone for all initiators and targets of an
application or cluster.
No wasted switch resources as with two member zones.
The benefit is particularly apparent in cloud data center and big data deployments. In those
environments you have a lot of initiators (ESX nodes in a vCluster) that access the same
targets (data stores). If you need to add a new ESX to your cluster, you simply add one
member to your zone and reactivate. This feature is integrated with Cisco Unified
Computing System (UCS).
Smart Zoning supports zoning among more devices. Smart Zoning provides this support by
reducing the number of programmed zoning pairs. Pairs are created “smartly” by
considering device type information without increasing the size of the zone set.
Smart Zoning enables user to select the host, target, or both as the end device type.
Smart Zoning supports zoning by pWWN, FCID, FC alias, and Device alias.
3-182 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Enable Smart Zoning.
switch#(config)# zone smart-zone enable vsan 10
Smart Zoning distribution initiated. Check zone status.
switch#(config)# zone convert smart-zone vsan 10
switch#(config)# zoneset activate name ZS_VSAN10 vsan 10
…
switch(config)# system default zone smart-zone enable
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-46
• Use the following commands to configure the device types for zone
members.
switch(config-zoneset zone)# member device-alias name both
switch(config-zoneset-zone)# member pwwn number target
switch(config-zoneset-zone)# member fcid number
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-47
3-184 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Note When there is no specific device type that is configured for a zone member, at the back-end,
zone entries that are generated are created as device type both.
Smart Zoning requires all MDS 9000 Series switches in the fabric to use Cisco MDS 9000 NX-
OS Software Release 5.2(6) or later and have the Smart Zoning feature enabled.
Note Smart Zoning can be enabled at VSAN level , but can also be disabled at zone level.
3-186 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Recommended Zoning Practices
This topic describes the guidelines for implementing zones.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-50
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-51
• A zone merge occurs when an ISL is initialized. If the ISL is an EISL, then
zone merge is done per VSAN.
• Zone sets can be imported and exported to resolve zone merge problems.
Zone sets can be backed up to an external server.
• Enhanced zoning ensures that all configurations are performed within a
single configuration session. Before you enable enhanced zoning in a
VSAN, verify that all switches in the VSAN are capable of enhanced mode.
• Modifications to the zone database are done within a session to ensure
consistency.
• The Smart Zoning feature brings advantages to SANs with large numbers of
zones.
• Recommended practices for zoning include the following:
- Single-initiator zoning
- Device aliases
- Enhanced zoning
- Default zone policy of deny
- Enable Smart Zoning
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS20 v2.0—3-52
3-188 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
References
For additional information, refer to these resources:
For information on standard zoning versus Smart Zoning, refer to
http://www.cisco.com/en/US/tech/tk1048/technologies_tech_note09186a0080c15b78.shtml
For information on how to configure Smart Zone members, refer to
http://www.cisco.com/en/US/tech/tk1048/technologies_tech_note09186a0080c15b78.shtml
• Every Cisco MDS 9000 Series Fibre Channel switch contains an FLOGI
database and FCNS database.
• There are many Fibre Channel port types available in a SAN. The switch
interfaces support various port types, depending on the device type that
is connecting.
• Port channels can be used in a physical switch to switch environment to
provide high availability in the multilayered SAN.
• Cisco NPV overcomes the restrictions set on the number of switch
domain IDs allowed per fabric or VSAN.
• VSANs can be used in a physical SAN environment to reduce
underutilized SAN components through SAN consolidation.
• Fibre Channel domains work in VSAN environments and prevent fabric
isolation.
• Distributed device aliases simplify SAN configuration and management
tasks.
• The Smart Zoning feature offers advantages in SANs with many zones.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—3-1
3-194 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Q14) Which command would you use to perform a disruptive restart of VSAN 10? (Source:
Managing Domains)
A) switch# fcdomain restart disruptive vsan 10
B) switch# fcdomain disruptive restart vsan 10
C) switch(config)# fcdomain disruptive restart vsan 10
D) switch(config)# fcdomain restart disruptive vsan 10
Q15) Which command would you use to purge entries in the FCID database in VSAN 25?
(Source: Managing Domains)
A) switch# purge fcid vsan 25
B) switch(config)# purge fcid vsan 25
C) switch(config)# purge fcdomain vsan 25
D) switch# purge fcdomain fcid vsan 25
Q16) Which statement correctly describes the Distributed Device Alias Services features?
(Source: Configuring Distributed Device Aliases)
A) Device alias features are dependent on VSAN and zoning configurations.
B) Device alias features are independent of VSAN configurations.
C) Device alias features are independent of VSAN and zoning configurations.
D) Device alias features are dependent on zoning configurations.
Q17) You have been using the Fibre Channel alias feature and are migrating to using
distributed device aliases. Which set of commands would you use to import your
current Fibre Channel alias configuration in VSAN 10 to the distributed device alias
database? (Source: Configuring Distributed Device Aliases)
A) switch(config)# device-alias import fcalias vsan 10
switch(config)# device-alias commit
B) switch# device-alias import fcalias vsan 10
switch(config)# device-alias commit
C) switch(config)# device-alias import fcalias vsan 10
switch(config)# device-alias distribute
D) switch(config)# device-alias fcalias import vsan 10
switch(config)# device-alias commit
Q18) What is the maximum number of entries in the global distributed device alias database?
(Source: Configuring Distributed Device Aliases)
A) 2048
B) 4096
C) 8192
D) 16,384
Q19) Which set of commands would enable trunking on interface fc1/7? (Source:
Configuring Interfaces)
A) switch(config)# interface fc1/7
switch(config)# switchport trunk mode on
B) switch(config)# interface fc1/7
switch(config-if)# switchport trunk on
C) switch(config)# interface fc1/7
switch(config-if)# switchport trunk enable
D) switch(config)# interface fc1/7
switch(config-if)# switchport trunk mode on
3-196 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Q27) Which option is a valid example of zone configuration? (Source: Implementing
Zoning)
A) switch(config)# zone name Zone2 vsan 10
switch(config)# member fcid 58:02:01
switch(config)# member domain-id 2 portnumber 23
B) switch(config)# zone name Zone2 vsan 10
switch(config-zoning)# member fcid 0xce00d1
switch(config-zoning)# member domain-id 2 portnumber
23
C) switch(config)# zone name Zone2 vsan 10
switch(config-zone)# member fcid 0xce00d1
switch(config-zone)# member domain-id 2 portnumber 23
D) switch(config)# zone name Zone2 vsan 10
switch(config-zone)# member fcid 58:02:01
switch(config-zone)# member domain-id 2 portnumber 23
Q28) Which command is valid for activating a zone set in VSAN 10? (Source: Implementing
Zoning)
A) switch(config)# zone name Zoneset1 vsan 10 activate
B) switch# zone name Zoneset1 vsan 10 activate
C) switch(config-zoneset)# zone activate name Zoneset1
vsan 10
D) switch(config)# zone activate name Zoneset1 vsan 10
3-198 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Module 4
Module Objectives
Upon completing this module, you will be able to describe intelligent SAN fabric services. You
will be able to meet these objectives:
Implement Cisco Data Mobility Manager
Explain how to capture and monitor Fibre Channel Protocol data
4-2 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 1
Objectives
Upon completing this lesson, you will be able to explain how to configure the Cisco DMM
feature. This ability includes being able to meet these objectives:
Describe the purpose of Cisco DMM
Describe Cisco DMM SAN topologies
Describe how to install and configure Cisco DMM software and how to prepare for data
migration
Describe how to use the Cisco DMM GUI for data migration
Cisco DMM Overview
This topic describes the purpose of the Cisco DMM. Cisco DMM for the Cisco MDS 9000
Series switches provides capabilities and features that simplify data migration and minimize
service disruptions.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-4
The data migration task today typically is complex and manual because of the myriad operating
systems, file systems, application servers, volume management systems, physical devices, and
networks involved. IT departments face challenges in migrating data. Those challenges include
the following:
Downtime that is incurred
The need to add data migration software to servers
The potential for data loss and corruption
Additional errors from the complexities of heterogeneous environments
Running out of time before the job is done
The practice of conventional planned-outage periods for server maintenance and changes is
nearly obsolete as businesses increasingly require continuous system operation. A special
outage period solely for upgrading storage is often difficult for IT administrators to schedule.
A solution that addresses all of these data migration concerns greatly diminishes the challenges
that are currently experienced in migrating data. Cisco DMM is a fabric-based data migration
solution that transfers block data nondisruptively across heterogeneous storage volumes and
across distances, whether the host is online or offline. With no host components to deploy, the
time-consuming, costly, and sensitive task of installing and licensing hardware and software on
servers is avoided. In addition, host CPU and bandwidth cycles are available to the application
in their entirety, so applications do not experience any deterioration in performance.
The innovative Cisco network-integrated solution has numerous advantages over competitive
solutions available currently:
4-4 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Offers transparent online data migration across heterogeneous storage arrays, so that
neither the host server or storage array need reconfiguration when Cisco DMM is
introduced into the user environment. Additionally, no zoning configuration is required.
The storage administrator can complete the migration task without informing the server,
system, or database administrator that a migration is being planned.
Cisco DMM moves data over long distances when the copy operation must be completed
asynchronously with write I/O operations.
Cisco DMM securely erases data from the existing storage so that this step can be
completed before the array leaves the customer data center.
This product offers centralized management with a GUI and wizard for easy configuration.
Cisco DMM includes capabilities to pace the data migration job, schedule the start and
cutover times, and view the effect on the SAN of the extra traffic that is generated by the
data movement. A configuration wizard simplifies setup and use, and a CLI allows
advanced users to complete their migration tasks using scripts.
Cisco DMM provides per-server and per-storage array configuration.
This product delivers large-scale, high-performance migration with rate limiting options.
There is no rewiring that is required in most cases.
No host agents are required, which minimizes the effect on the CPU and mitigating
software image management concerns.
This product is supported on high-performance hardware Cisco MDS 9222i Multiservice
Modular Switch and Cisco MDS 9250i Multiservice Fabric Switch.
Cisco DMM support active-active or active-passive storage access across dual redundant
fabrics.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-5
Cisco DMM performs data migration without any additional layer of virtualization. Cisco
DMM requires only the MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice
Fabric Switch configuration to enable the feature and SAN configuration to access the new
storage array. Cisco DMM can be enabled (when data needs to be migrated) and disabled (after
the migration is completed) without any major SAN or host reconfiguration.
Cisco DMM uses the following concepts and terminology:
Existing storage: The storage that is currently used by the application server. The data that
are contained in the existing storage will be migrated to the new storage.
New storage: The storage to which the data will be migrated.
Logical unit number (LUN): A LUN is a reference to a unit of storage that you can
specify for migration. The LUN is only a unique number in the context of a storage port.
Data migration session: A data migration session migrates the data from one LUN in the
existing storage to a LUN in the new storage.
Data migration job: A data migration job defines a set of LUNs to be migrated together.
A data migration session is created for each LUN that is to be migrated. The data migration
job is the main unit of configuration and management. For example, the migration rate and
other attributes are configured for the data migration job. The data migration job (not
individual sessions) can be started or stopped.
MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch:
An MDS switch that provides intelligent services. The Cisco DMM feature executes on
these switches.
Peer MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric
Switch: In a dual-fabric topology, a data migration job runs on an MDS 9222i Multiservice
Modular Switch or MDS 9250i Multiservice Fabric Switch in each fabric. The two are
peers and communicate with each other to coordinate the data migration jobs.
Fibre Channel redirect: Fibre Channel redirect allows on-demand insertion and removal
of MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch
4-6 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
intelligent services with minimal disruption to existing traffic. No configuration changes
are required on the server or storage devices. Cisco DMM uses the Fibre Channel redirect
capability to redirect traffic to the SSM or MSM. This redirection is transparent to the host
and storage devices.
Virtual target: A virtual target is a proxy target address for a storage port. During data
migration, the Fibre Channel redirect feature redirects traffic from the server to a virtual
target on the MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric
Switch.
Virtual initiator: A virtual initiator is a proxy initiator address for a server host bus
adapter (HBA) port. During data migration, the MDS 9222i Multiservice Modular Switch
or MDS 9250i Multiservice Fabric Switch uses a virtual initiator to forward redirected
traffic to the existing storage port. The MDS 9222i Multiservice Modular Switch or MDS
9250i Multiservice Fabric Switch also uses the virtual initiator to forward data migration
traffic to the new storage.
Control plane processor: The control plane processor is the main processor in the MDS
9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch. Cisco
DMM runs on the control plane processor.
Data path processors: The data path processors are a set of resource processors in the
MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch. The
data path processor transfers blocks of data across the switch without impacting the control
plane processor. Cisco DMM uses a virtual initiator on the data path processor for
migrating data.
Production fabric: The production fabric is a fabric where the host ports and existing
storage ports are connected. The server-to-storage traffic is carried in the production fabric.
The new storage port is not present in the production fabric.
Migration fabric: The migration fabric is a fabric that is dedicated to data migration or
remote replication. The existing storage and the new storage are connected to the migration
fabric. No server port is present in the migration fabric.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-6
4-8 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Method 3: Method 3 is used for data migration in topologies where there is a dedicated
fabric or virtual SAN (VSAN) for the data copy independent of the production fabrics or
VSANs. The migration fabric connects the existing storage to the new storage in a remote
data center. The MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice
Fabric Switch in the production fabric is responsible for managing SCSI write I/Os from
the server to the existing storage LUNs. The write I/O changes to the existing storage LUN
are marked in the modified region log before sending a response back to the server. The
data copy from the existing storage LUN to the new storage LUN is managed by the MDS
9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch in the
migration fabric or VSAN. The modified region log changes are communicated to the MDS
9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch in the
migration fabric or VSAN to be applied to the new storage on subsequent copy iterations.
Finish (Method 2)
Plan Schedule Configure Create Start Job and Monitor Progress Schedule Verify Destroy
Job Job
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-7
A data migration job is typically composed of three major stages, which are premigration,
migration, and postmigration.
In the premigration stage, create a plan for the migration, configure the new storage, and create
the data migration job.
Plan: Create a plan for the data migration and identify any external dependencies and
activities that need to be scheduled.
Configure: Configure the new storage device and any other configurations.
Create the data migration job: Create and configure the data migration job using the
Cisco DMM GUI. A job can be created with or without a schedule.
In the migration stage, jobs that have a configured schedule start automatically. Manually start
unscheduled data migration jobs.
Start the migration: A data migration job will consist of one or more data migration
sessions. Each data migration session performs the migration of one LUN from the existing
storage to the new storage. During migration, the Cisco DMM feature ensures the integrity
of the storage data by intercepting all traffic from the server and storage ports that are
involved in the migration job. All server-initiated reads and writes are directed to the
existing storage.
Monitor: During migration, you can monitor the progress of the Cisco DMM job.
In the postmigration stage, reconfigure the server to use the new storage. The configuration
steps vary depending on the server I/O.
For Method 1 (two-SAN topology): The server write I/Os are mirrored to existing and
new storage in both SANs (typically for local migration).
— Schedule: Schedule a time and personnel to reconfigure the server to use the new
storage and remove references to the existing storage.
4-10 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
— Verify: Optionally, verify the data integrity between the existing and new storage
after the migration has completed. The existing storage must be offline during the
verification.
— Delete: Delete the data migration job.
For Method 2 (two-SAN topology): The modified region log bitmap tracks server write
I/Os in both SANs (typically for remote data center migration).
— Schedule: Schedule a time and personnel to reconfigure the server to use the new
storage and remove references to the existing storage.
— Finish: To complete the method 2 data migration, click the Finish button to stop
access to the existing storage. The existing storage LUNs are offline for the servers.
Cisco DMM migrates the changed blocks from the existing storage LUNs to the new
storage LUNs for the last time.
— Verify: Optionally, verify the data integrity between existing and new storage after
the finish operation is completed. The existing storage LUNs will be offline during
the verification.
— Delete: Delete the data migration job.
For Method 3 (three-SAN topology): The modified region log bitmap tracks server write
I/Os in all three SANs (typically when there is a dedicated fabric for migration).
— Schedule: Schedule a time and personnel to reconfigure the server to use the new
storage and remove references to the existing storage.
— Finish: To complete the method 3 data migration, click the Finish button to stop
access to the existing storage. The existing storage LUNs are offline for the servers.
Cisco DMM migrates the changed blocks from the existing storage LUNs to the new
storage LUNs for the last time.
— Verify: Optionally, verify the data integrity between existing and new storage after
the finish operation is completed. The existing storage LUNs will be offline during
the verification.
— Delete: Delete the data migration job.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-8
4-12 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Premigration Configuration
Configuring Cisco MDS 9222i Multiservice Modular Switch Switches and Cisco MDS 9000
18/4-Port MSM Modules
Executing on the Cisco MDS 9000 18/4-Port Multiservice Module (MSM), the Cisco DMM
feature supports data migration for storage LUNs that are exposed anywhere on the SAN fabric.
Provision an MDS 9000 18/4-Port MSM on a Cisco MDS 9000 Series switch in each fabric.
Configuring Existing and New Storage Devices
Complete the following configuration tasks for the storage devices. For new storage, connect
the new storage to the SAN. Create LUN maps and LUN masks. Configure access lists for the
new storage. For existing storage, verify that the LUNs are mapped.
Configuring VSANs and Zones
VSANs: Ensure that the existing storage and new storage port pair in each fabric are
configured in the same VSAN. Also, ensure that for each existing storage port VSAN, there
is at least one new storage port, and that the server port has been configured in the same
VSAN.
Zones: Optionally, configure zoning to add new storage. Cisco DMM does not enforce
zoning for the new storage. If you do not configure the zoning before migration, then you
must complete zoning after migration to allow the server to access the new storage.
4-14 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Existing and new storage should be connected
to the same switch where MDS 9222i
Multiservice Modular Switch or MDS 9250i
Multiservice Fabric Switch is installed. This step
alleviates excessive ISL traffic.
• Cisco DMM supports 16 simultaneous jobs on
each MDS 9222i Multiservice Modular Switch
or MDS 9250i Multiservice Fabric Switch
switch.
• The same initiator and target port pair should
not be added to more than one migration job
simultaneously.
• When using multipath ports, the server must
not send simultaneous I/O write requests to the Existing
New
same LUN from both multipath ports. Storage
Storage
• Cisco DMM is not compatible with LUN zoning,
IVR, or SAN device virtualization.
• Cisco DMM does not support migration to a
smaller destination LUN.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-9
The following deployment guidelines should be considered when planning and configuring data
migration using Cisco DMM:
The same initiator and target port pair should not be added to more than one migration job
simultaneously.
When using multipath ports, you must ensure that the server does not send simultaneous
I/O write requests to the same LUN from both multipath ports. The first I/O request must
be acknowledged as completed before initiating the second I/O request.
Cisco DMM is not compatible with LUN zoning.
Cisco DMM is not compatible with Inter-VSAN Routing (IVR). The server and storage
ports must be included in the same VSAN.
Cisco DMM is not compatible with Cisco SAN device virtualization. The server and
storage ports cannot be virtual devices, or physical devices that are associated with a virtual
device.
Cisco DMM does not support migration to a smaller destination LUN.
FC
Cisco DMM
Switch B
Existing Storage
FC
New Storage
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-11
While designed to support various SAN topologies, the Cisco DMM feature is also influenced
by topologies. Similarly, the SAN topology affects the location of the MDS 9222i Multiservice
Modular Switch or MDS 9250i Multiservice Fabric Switch. Cisco DMM supports
homogeneous and heterogeneous SANs, as well as single-fabric and dual-fabric SAN
topologies. Dual-fabric and single-fabric topologies support both single-path and multipath
configurations. In a single-path configuration, a migration job includes only the one path,
represented as an initiator and target port pair. In a multipath configuration, a migration job
must include all paths, represented as two initiator and target port pairs.
4-16 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
and the existing storage ports. The Cisco MDS switch must be running Cisco NX-OS
Software Release 4.1(1b) or later.
The example shows the server-to-storage packet flow when a data migration job is in progress.
In the example, the MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice
Fabric Switch and the existing storage are connected to separate switches, so that the packet
flow can be easily described.
It is recommended that you connect the existing storage to the same switch as the MDS 9222i
Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch.
In the figure, the server HBA port is connected to switch A, and the existing storage is
connected to switch C. Both switches have Fibre Channel redirect capability. When the data
migration job is started, Fibre Channel redirect is configured on switch A to divert the server
traffic to switch B. Fibre Channel redirect is configured on switch C to redirect the storage
traffic to switch B.
FC
Cisco DMM
Switch B
Existing Storage
FC
New Storage
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-12
The figure shows that the server HBA port is connected to switch A, which does not have Fibre
Channel redirect. The existing storage is connected to switch C, which has Fibre Channel
redirect capability. The MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice
Fabric Switch is installed in the location of switch B. When the data migration job is started,
Fibre Channel redirect is configured on switch C to redirect the server and storage traffic to
switch B. This configuration introduces additional network latency and consumes additional
bandwidth because traffic from the server travels an extra network hop (A to C, C to B, and B
to C). The recommended configuration, placing the MDS 9222i Multiservice Modular Switch
or MDS 9250i Multiservice Fabric Switch in the location of switch C, avoids the increase in
network latency and bandwidth.
4-18 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Server
Cisco
Cisco DMMDMM Cisco
Cisco DMMDMM
FC FC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-13
A homogeneous SAN contains only Cisco MDS 9000 Series switches. Most topologies fit in
one of the following categories:
Core-edge: Hosts at the edge of the network and storage at the core
Edge-core: Hosts and storage at the edge of the network, and Inter-Switch Links (ISLs)
between the core switches
Edge-core-edge: Hosts and storage are connected to opposite edges of the network and to
the core switches with ISLs
It is recommended for any of these topologies that the MDS 9222i Multiservice Modular
Switch or MDS 9250i Multiservice Fabric Switch is located in the switch that is closest to the
storage devices so that the Cisco DMM data migration introduces no additional network traffic.
In a homogeneous network, the MDS 9222i Multiservice Modular Switch or MDS 9250i
Multiservice Fabric Switch can be located in the fabric where the existing storage is attached.
The new storage should be connected to the same switch as the existing storage. If there are
multiple fabrics, Cisco DMM needs to be installed in each fabric.
VSAN VSAN
Cisco 10 Cisco 20
DMMCisco DMM DMMCisco DMM
switch 1 switch 2
FC
FC
Cisco VSAN
Existing Storage DMMCisco DMM 15
switch 3
New Storage
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-14
Cisco DMM method 3 supports the dedicated migration fabric. This method is designed to
address the problem of migrating data from an array port that is connected to a dedicated SAN
that is different from the product SAN.
Many IT organizations require data migration to a remote data center. Some organizations
prefer to use a dedicated storage port (on the existing storage array) that is connected to a
separate physical fabric. This fabric is called the migration or replication fabric because the
fabric is used for data migration as well as continuous data replication services.
In Cisco DMM method 3, the MDS 9222i Multiservice Modular Switch or MDS 9250i
Multiservice Fabric Switch in the migration SAN is responsible for executing the sessions in
the Cisco DMM job and copying the data from the existing storage to the new storage. The
MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch in the
production SANs are responsible for tracking the server writes to the existing storage. No
server writes are expected in the migration SAN.
The MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch logs
server writes in the production SAN in the fabric by maintaining a modified region log for each
LUN that is migrated. The MDS 9222i Multiservice Modular Switch or MDS 9250i
Multiservice Fabric Switch in the migration SAN does not maintain any modified region log
for the LUN because no server writes to the existing storage LUN are expected in the migration
SAN. The MDS 9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch
in the migration SAN is responsible for retrieving the modified region logs for a LUN from
both the production SANs and for performing a union of the modified region logs to create a
superset of all modified blocks on the LUN, via paths from both production SANs. The MDS
9222i Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch then copies all
the modified regions from the existing storage LUN to the new storage LUN in the migration
SAN. This process is repeated until the administrator is ready to finish the Cisco DMM job and
perform a cutover. The finish operation on method 3 places all LUNs in the offline mode and
performs a final pass over the combined modified region log. This process synchronizes the
existing and new storage LUN in each session.
4-20 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
The three-fabric topology supports two production fabrics and one migration fabric. Each of the
fabrics has one VSAN per fabric, as shown earlier in this lesson.
The production fabric consists of the following:
Two fabrics, fabric A and fabric B
Two VSANs in each of the fabrics, VSAN 10 in fabric A, and VSAN 20 in fabric B
Two Cisco DMM switches (where a Cisco DMM module may be an MDS 9222i
Multiservice Modular Switch or MDS 9250i Multiservice Fabric Switch) in each of the
fabrics
Ports for the application server and the existing storage
Application server port and storage port in the same VSAN for each fabric
VSANs in both the fabrics can have different numbers
The migration fabric VSAN can have a different number from the production fabric VSAN.
H1 Server H2 H1 Server H2
ES1 NS1
ES1 NS2 ES2 NS2
FC FC FC FC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-15
When creating a server-based migration job, all possible paths from the host to the LUNs being
migrated must be included. All writes to a migrated LUN need to be mirrored in the new
storage until the job is destroyed, so that no data writes are lost. All active ports on the existing
storage that expose the same set of LUNs to the server must be added to a single data migration
job.
In a multipath configuration, two or more active storage ports expose the same set of LUNs to
two HBA ports on the server (one initiator and target port pair for each path). Multipath
configurations are supported in dual-fabric topologies (one path through each fabric) and in a
single-fabric topologies (both paths through a single fabric).
In a single-path configuration, only one active storage port exposes the LUN set to the server.
The migration job includes one initiator and target port pair. (Cisco DMM does not support
multiple servers accessing the same LUN set.)
H1 ES1 NS1
H2 ES2 NS2
4-22 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Multiple LUN Set, Active-Active Arrays
H1 ES1 NS1
H2 ES2 NS2
The server accesses three LUNs over fabric 1 using storage port ES1. The server accesses the
same LUNs over fabric 2 using storage port ES2. The server accesses three different LUNs
over fabric 1 using storage port ES3, and accesses the same LUNs over fabric 2 using storage
port ES4.
In this scenario, you would need to create two data migration jobs, as the server has access to
two LUN sets on two different storage ports. Each data migration job would need to include
two storage ports, as they are active-active multipathing ports.
H1 ES3 NS3
H2 ES4 NS4
This job includes three data migration sessions (for LUNs 7, 8, and 9).
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-17
The Cisco DMM feature runs on the MDS 9222i Multiservice Modular Switch or MDS 9250i
Multiservice Fabric Switch. The Cisco DMM software package is included in the Storage
Service Image (SSI) image, which is delivered as part of Cisco NX-OS.
4-24 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco DMM
• Cisco DMM communicates with the supervisor over VSAN 1 using IP.
- Create the VSAN 1 interface and IP address.
mds2# conf
mds2(config)# interface vsan 1
mds2(config-if)# ip address 10.10.1.11 255.255.255.0
mds2(config-if)# no shut
mds2# conf
mds2(config)# interface vsan 1
mds2(config-if)# ip address 10.10.2.12 255.255.255.0
mds2(config-if)# no shut
Fabric A Fabric B
VSAN 1 IP IP Network VSAN 1 IP
10.10.1.11 Mgmt IP Mgmt IP 10.10.2.12
MDS2
172.22.43.94 172.22.43.95 MDS 9222i Multiservice Modular Switch
MDS1
MDS 9222i Multiservice Modular Switch FC
FC
The Cisco DMM feature uses the CLI on the Cisco MDS 9000 Series switches (MDS 9222i
Multiservice Modular Switch and MDS 9250i Multiservice Fabric Switch).
mds1(config)# ip routing
mds1(config-if)# ip route 10.10.2.12 255.255.255.0 172.22.43.95
mds1(config)# exit
mds2(config)# ip routing
VSAN 1 IP
Fabric A Fabric B VSAN 1 IP
10.10.1.11 Mgmt IP Mgmt IP 10.10.2.12
172.22.43.94
IP Network 172.22.43.95
MDS1 MDS2
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-19
4-26 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Select Physical Attributes > End Devices > Intelligent Features >
MSM.
switch# conf
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-20
The Cisco DMM feature can be enabled using the CLI or Cisco DCNM-SAN Client. The
example shows the procedure for both options.
To enable Cisco DMM on the Cisco MDS 9222i Multiservice Modular Switch, use the
following command:
switch(config)# ssm enable feature dmm module 1
To enable Cisco DCNM-SAN Client, and to provision ports to use the Cisco DMM service,
perform the following steps:
Step 1 Expand the End Devices folder and double-click the Intelligent Features folder in
the Physical Attributes pane. Choose the Cisco DMM switch on which to provision
Cisco DMM.
Step 2 Click the Create Row icon (third button in the toolbar). The Create SSM dialog box
opens.
Step 3 Choose the switch and module where you want to enable Cisco DMM.
Note The Use All Ports on Module check box is checked by default. Cisco DMM does not
support provisioning a subset of the ports on the card to use this service.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-22
The Cisco DMM GUI provides wizards to configure and perform data migration jobs. The
Cisco DMM wizards can be launched from Cisco DCNM-SAN Client by choosing the Cisco
MDS Data Mobility Manager option from the Tools menu. There are separate options to launch
server-based data migration jobs and storage-based migration jobs.
4-28 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-23
There are five steps to configuring a Cisco DMM job using the Cisco DCNM-SAN Client
wizard.
1. Create job: This first step creates the job, identifying the existing and new storage that will
be used.
2. Select SSM: This second step identifies the module that will be used with Cisco DMM
capability.
3. Data path processor virtual initiator selection: This step identifies the virtual nodes that
are created during the Cisco DMM provisioning. Choose the preferred node and create or
activate the zone.
4. Zone Activation Status: This step verifies the activation of the zone.
5. Create Session: This step verifies the details for the session and creates the LUN map
correlations.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-25
4-30 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-26
• The Cisco DMM is used to migrate data from existing storage resources
to new storage. To use the Cisco DMM feature, the SSI image must be
installed on the switch, and Cisco DMM must be provisioned for the
modules that will be using the feature.
• The location of the 18/4 MSM, Cisco MDS 9222i Multiservice Modular
Switch or MDS 9250i Multiservice Fabric Switch is influenced by the
SAN topology being used.
• The preconfiguration tasks required for configuring a Cisco DMM job,
such as enabling SSH, provisioning Cisco DMM, configuring the VSAN,
and enabling a zone set, should be performed first.
• Configuring and managing the Cisco DMM job can be performed
through the Cisco DCNM-SAN Client.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-27
4-32 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 2
Objectives
Upon completing this lesson, you will be able to explain how to capture and monitor Fibre
Channel Protocol data.
This lesson explains how to use Wireshark and Switched Port Analyzer (SPAN) ports to
capture Fibre Channel Protocol traffic for analysis and how to use the built-in Cisco Fabric
Analyzer to monitor traffic flow to and from the supervisor. This ability includes being able to
meet these objectives:
Describe how to configure a SPAN session
Explain the capabilities and limitations of RSPAN sessions
Explain the use of the Cisco Fabric Analyzer feature
Describe how to configure Wireshark to capture and view protocol traces
SPAN Overview
This topic describes how to configure a SPAN session to capture traffic for an analyzer for
analysis purposes.
FC
Analyzer
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-4
The Cisco SPAN utility provides a mechanism for performing detailed troubleshooting by
replicating selected traffic from multiple source interfaces for proactive monitoring and
analysis. SPAN is most useful when used with protocol analyzer software such as Wireshark
(formerly Ethereal).
The Cisco MDS 9000 Series switch debug commands only report control traffic. SPAN
sessions capture all traffic, including data in the protocol traces. Traffic through any Fibre
Channel interface can be replicated to a special port called the SPAN destination port (SD
Port). You can attach a Fibre Channel analyzer to the SD Port to monitor SPAN traffic.
You can create up to 16 independent SPAN sessions within the switch. Each session can have
up to four unique sources and one destination port. Filters can be applied to capture specific
ingress or egress traffic, or traffic from a particular virtual SAN (VSAN).
4-34 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Allowed source interfaces include F, FL, E, TE, TL, sup-fc0, FCIP, iSCSI,
and port channels
• VSAN as a source:
- Traffic on all interfaces included in a source VSAN is spanned only in the
ingress direction.
- When a VSAN is specified as a source, you cannot specify interfaces in that
VSAN as SPAN sources.
- If an interface in a VSAN is configured as a SPAN source, that VSAN cannot
be configured as a source.
- Interfaces are included as sources only when the port VSAN matches the
source VSAN.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-5
Source port filter options include receive (Rx), transmit (Tx), and VSAN.
Traffic types are management, initiator, and target.
When configuring a VSAN as a SPAN source, note the following:
When a VSAN source is specified, all physical ports, including trunking expansion ports
(TE Ports) and port channels that are assigned to that VSAN, become SPAN sources.
A TE Port that is assigned to a different VSAN that is configured with the source VSAN in
the allowed VSAN list is excluded.
Configuring source interfaces and source VSANs in the same SPAN session is
unsupported.
4-36 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Up to 16 SPAN sessions are allowed on a Cisco MDS 9000 Series
switch:
- A source can be shared by two sessions:
• Each session must be in a different direction.
- Frames are dropped if traffic exceeds SD port bandwidth.
- SD port characteristics include the following:
• Speed must be explicitly set and autodetection is unsupported.
• The SD port transmits traffic only and the port ignores BB credits.
• The SD port is not supported on SSMs.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-6
A SPAN session consists of a designated SD Port with up to four source interfaces. A given
VSAN can also serve as a SPAN session source. In this circumstance, traffic is replicated from
all interfaces that are assigned to the VSAN. When specifying a VSAN as a SPAN source, no
additional source ports are allowed. The SPAN configuration sequence requires that the
destination port is configured before specifying any SPAN sources. The minimum
configuration requirements for a SPAN session include the following:
Specify a SPAN session number.
Designate the SD Port.
Configure source ports and optional filters. Source filters include Rx, Tx, VSAN, and
traffic type (management, initiator, or target).
Activate the SPAN session. The session is activated by default.
The SD Port and at least one source port must be up and enabled for the SPAN session to
function. To temporarily deactivate or suspend a SPAN session, use the suspend command in
SPAN configuration submode. Issue the no suspend command to reactivate the session.
SD Port Characteristics
Any Fibre Channel port can be configured as an SD Port. SD Ports cannot be used for normal
data traffic because SD Ports do not behave as standard Fibre Channel interfaces. The
minimum SD Port configuration requires specifying the mode and speed. SD Ports ignore
buffer-to-buffer credits (BB_credits) because traffic is allowed in the egress direction only.
Speed autodetection is not supported. The port speed may be set to match the Analyzer setting.
The SD Port does not require a device or analyzer to be physically connected to become active.
Support for Enhanced Inter-Switch Link (EISL) encapsulation is optional, but is useful if
capturing ingress traffic or any traffic from a TE port.
Other SPAN session rules include the following:
Two sessions can share a source. However, each session must be in a different direction,
that is, one ingress and one egress.
4-38 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
switch# show span session
Session 1 (active)
Destination is fc1/16
No session filters configured
Ingress (rx) sources are
fc1/5, sup-fc0,
Egress (tx) sources are
fc1/5, sup-fc0,
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-7
To show a detailed display of SPAN session status, use the show span session command.
The figure shows two configured sessions, with SPAN session 2 suspended. The displayed
information includes the following:
Session ID
State (active or suspended)
Destination interface
Session filters
Ingress and egress sources
ST RSPAN Tunnel SD
ST
ISL
FC
Host Storage
Analyzer
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-9
RSPAN allows you to remotely monitor traffic for one or more SPAN sources that are
distributed in one or more source switches in a Fibre Channel fabric. Like SPAN, the RSPAN
feature is nonintrusive. Traffic that is captured on the remote source switch is tunneled across
TE Ports using a Fibre Channel tunnel.
The Fibre Channel tunnel is a logical data path between the source switch, where the traffic is
captured, and the destination switch. The Fibre Channel tunnel originates at a designated SPAN
tunnel port (ST Port) on the source switch and terminates at the SD Port on the destination
switch. The configuration process involves binding the ST and SD Ports to the same Fibre
Channel tunnel, creating the RSPAN tunnel.
4-40 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Cisco Fabric Analyzer
This topic explains how to use the Cisco Fabric Analyzer to capture control traffic for analysis
purposes.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-11
Fibre Channel protocol analyzers capture, decode, and analyze frames and ordered sets on a
link. With the Cisco Fabric Analyzer, you can capture Fibre Channel control traffic from a
switch and decode the traffic without having to disrupt any connectivity, and without having to
be local to the point of analysis. Unlike Port Analyzer Adapter (PAA), Cisco Fabric Analyzer is
a software application that runs on the Cisco MDS 9000 Series switch.
The Cisco Fabric Analyzer captures and decodes control traffic, not data traffic. Cisco Fabric
Analyzer is suitable for control path captures and is not intended for high-speed data path
captures. The Cisco Fabric Analyzer runs on the Cisco MDS 9000 Series switch and supports
two methods of capture:
Text-based analyzer: This method supports local capture and decodes captured frames.
Daemon: This method, which supports remote capture, is a GUI-based client. Daemon
runs on a host that supports libpcap (a packet capture library program), such as Windows or
Linux, and communicates with the remote capture daemon in a Cisco MDS 9000 Series
switch.
• Display parameters:
switch# fcanalyzer local interface mgmt ?
<CR>
> Redirect it to a file
>> Redirect it to a file in append mode
brief Display only protocol summary
capture-filter Filter on packet-analyzer capture
display-filter Filter frames displayed
dump-pkt Hex(Ascii) dump the packet, troubleshoot
packet-analyzer
limit-captured-frames Maximum number of frames to be captured (default is 10)
limit-frame-size Capture only a subset of a frame
write Filename to save capture to
| Pipe command output to filter
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-12
You can configure the Cisco Fabric Analyzer by issuing the fcanalyzer local or fcanalyzer
remote commands in configuration mode:
Use the local setting to enable local console display that cannot be saved to persistent
storage or synchronized to standby.
Use the remote setting to enable remote capture.
The command setting can be saved to persistent storage with the copy command.
To use the Cisco Fabric Analyzer feature, traffic should be flowing to or from the supervisor
module.
4-42 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Send captured frames to a remote host:
switch(config)# fcanalyzer remote 10.0.16.1
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-13
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-15
4-44 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Mac OS X (although GTK+ only works with X11 on Mac OS X, so the user must run an X
server such as X11.app)
Windows
Wireshark can recognize the structure of different network protocols. Wireshark can therefore
display encapsulation and single fields, and interpret their meaning. Wireshark uses pcap to
capture packets, so Wireshark can only capture on networks that pcap supports.
Wireshark includes the following rich feature set:
Standard three-pane packet browser
Multiplatform application that runs on Windows, Linux, OS X, Solaris, FreeBSD, NetBSD,
and many others
Multi-interface and, along with a standard GUI, Wireshark includes TShark, a text-mode
analyzer that is useful for remote capture, analysis, and scripting
The most powerful display filters in the industry
VoIP analysis
Live capture and offline analysis supported
Ability to read and write many different capture file formats, including the following:
— tcpdump (libpcap)
— NAI Sniffer (compressed and uncompressed)
— Sniffer Pro
— NetXray
— Sun snoop and atmsnoop
— Shomiti/Finisar Surveyor
— AIX iptrace
— Microsoft Network Monitor
— Novell LANalyzer
— RADCOM WAN/LAN Analyzer
— HP-UX nettl
— i4btrace from the ISDN4BSD project
— Cisco Secure IDS iplog
— pppd log (pppdump-format)
— AG Group/WildPacket EtherPeek/TokenPeek/AiroPeek
— Visual Networks Visual UpTime
Captured files that are compressed with gzip can be decompressed in real time
Hundreds of protocols are supported, with more being added
Coloring rules can be applied to the packet list, which simplifies analysis
4-46 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-17
The Wireshark Filter window lets you filter the displayed protocol trace to display frames from
a specific source and destination, from a specific VSAN, or frames of a specific type.
You can use the logical “AND” and “OR” expressions. You can use “&&” in place of “AND.”
You can also use “||” in place of “OR.”
A list of specific filter expressions can be found at http://www.wireshark.org. Examples include
the following:
Use this filter to view packets in a specified VSAN:
mdshdr.vsan == 2 || brdwlk.vsan == 2
Use this filter to view Switch Fabric Internal Link Services (SW_ILS) frames:
fcswils
Use this filter to view Class F frames:
mdshdr.sof == SOFf || brdwlk.sof == SOFf
Use this filter to view Fabric Shortest Path First (FSPF) frames:
swils.opcode == JLO || swils.opcode == LSU || swils.opcode ==
LSA
Use this filter to view fabric login (FLOGI) frames:
fcels.opcode == FLOGI
Use this filter to view FLOGI frames in VSAN 2:
fcels.opcode == FLOGI && (mdshdr.vsan == 2 || brdwlk.vsan ==
2)
Use this filter to view all name server frames:
dNS
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-18
4-48 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Module Summary
This topic summarizes the key points that were discussed in this module.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—4-1
4-52 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Self-Check Answer Key
Q1) D
Q2) A, D, E
Q3) C
Q4) B
Q5) B
Q6) A
Q7) B
FCoE Implementation
Overview
In this module, you will learn how to implement Fibre Channel over Ethernet (FCoE).
Module Objectives
Upon completing this module, you will be able to implement FCoE. You will be able to meet
these objectives:
Describe FCoE and its advantages
Configure FCoE on the Cisco MDS 9500 Series Multilayer Directors
5-2 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Lesson 1
Describing FCoE
Overview
This lesson explains Fibre Channel over Ethernet (FCoE) and its advantages. This lesson also
describes how the Data Center Bridging Exchange (DCBX) protocol eases the discovery and
configuration of Data Center Bridging (DCB)-capable devices. The features that a DCB-
capable device can provide are explained.
Objectives
Upon completing this lesson, you will be able to describe the FCoE, DCBX, and DCB features
of the Cisco MDS 9000 Series switch. This ability includes being able to meet these objectives:
Describe the consolidation benefits of Unified I/O and the Cisco Data Center Ethernet
enhancements that provide a lossless fabric
Explain the FCoE protocol and how Fibre Channel frames are encapsulated in Ethernet
frames
Describe the FCoE adapters and software stack, and explain their features and benefits
Explain the FCoE addressing scheme and how an FCoE node can acquire a unique MAC
address from the Fibre Channel Forwarder (FCF)
Describe FCoE Initialization Protocol (FIP)
I/O Consolidation
This topic introduces I/O consolidation and describes the data center Ethernet enhancements
that enable Fibre Channel frames to be carried over a lossless Ethernet network.
Aggregation
SAN A SAN B
Access
Lossless
Ethernet
Ten Gigabit Ethernet is the basis for a new Unified Fabric with enhanced features that provide
a common platform for loss and lossless protocols carrying LAN and SAN.
In the future, a converged network with a unified fabric will not require the customer to
sacrifice any of the best features of current network technologies.
The domination of Ethernet means that FCoE can leverage the installed Ethernet base and
therefore reduce the number of I/O adapters, cables, and switches. This ability has important
ramifications on space, power, and cooling costs. You will be able to wire once with a media
with which all network operators are familiar.
5-4 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• SAN • LAN
- Traditionally - Traditionally
Fibre Channel Ethernet
- High bandwidth - Low Bandwidth –
– 8Gb Gigabit Ethernet
- Low latency – - High latency –
20uS 350uS
- Lossless - Lossy delivery
delivery SAN A SAN B
SAN Ethernet
Infrastructure Infrastructure
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-5
Modern data centers usually have two very different networks, which are LAN and SAN. The
LAN consists of three layers, which are core, aggregation, and access. Traditionally, Gigabit
Ethernet was defined by low bandwidth and relatively high latency. Ethernet frames are
dropped if there is congestion and Ethernet is regarded as a network subject to frame loss.
SAN consists of two layers, which are core and edge. Fibre Channel SANs are used to carry the
Small Computer Systems Interface (SCSI) protocol between servers and storage devices within
the payload of Fibre Channel frames. Fibre Channel is relatively high bandwidth with 8-Gb
links and low latency at around 20uS for Cisco MDS switch store and forward latency. Fibre
Channel has a lossless delivery that is provided by the credit-based flow control mechanism.
This mechanism ensures that frames are never transmitted unless the receiving port provides a
credit guaranteeing that the port has a buffer available. This guarantee ensures that frames are
never dropped, removing the need for recovery and keeping latency very low.
Nexus 5K
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-6
A server that is deployed in a data center today has many discrete I/O interfaces to support
specific application requirements:
Ethernet network interface cards (NICs) (LAN): Used for client-to-server connectivity,
server-to-server connectivity, and out-of-band (OOB) management (typically 10/100/1000-
Mbps Ethernet NICs).
Fibre Channel host bus adapters (HBAs) (SAN): Used for server-to-storage connectivity
and unique in their ability to combine lossless operation with the highest levels of network
resiliency and availability in the data center (typically 1/2/4-Gb/s Fibre Channel HBAs).
Typical servers in data centers have five to seven I/O interfaces. A unified I/O adapter that
adequately supports the unique and varied traffic requirements of data center applications can
reduce the number of network devices, server-network interfaces, and cables that are used to
interconnect them. Unified I/O can also lead to a major reduction in data center power
requirements. Power is the most limited resource that is available to data center managers
currently.
5-6 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
FC Traffic
FC Traffic FCoE SAN A
FCoE
FCoE
Enet Traffic FCoE SAN B
Enet Traffic
FCoE SAN
Display
FC FCoE FCoE
HBA Adapter Adapter
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-7
FC-2 Framing and Flow Control FC-2 Framing and Flow Control
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-9
The FCoE logical endpoint (FCoE_LEP) is responsible for the encapsulation and de-
encapsulation that is necessary to transport Fibre Channel frames over Ethernet. The figure
shows that FCoE_LEP has the standard Fibre Channel layers starting with FC-2 and continuing
up the Fibre Channel Protocol stack. This arrangement gives the appearance to higher-level
system functions that the FCoE network is, in fact, a standard Fibre Channel network. This
allows all of the same tools that are used in native Fibre Channel to be used in an FCoE
environment. Below the FCoE_LEP are the standard Ethernet media and physical layers for 10
Gigabit Ethernet with enhancements that allow Ethernet to be lossless. Using the Ethernet
standards allows FCoE to leverage a significant amount of existing technology.
5-8 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• DCB is a collection of new IEEE standards that provide a Converged
Enhanced Ethernet.
- Priority Flow Control (PFC) IEEE 802.1Qbb
• Provides lossless delivery for selected CoSs
- Enhanced Transmission Selection (ETS) IEEE 802.1Qaz
• Bandwidth management and priority selection
- QCN IEEE 802.1au
• Congestion awareness and avoidance (optional)
- DCBX IEEE 802.1AB
• Protocol for exchanging parameters between DCB devices
• Leverages functions provided by LLDP
- FIP T11 BB-5 standard
• Enables the establishment of point-to-point virtual Fibre Channel links
over a multiaccess network such as Ethernet
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-10
Cisco DCB architecture is based on a collection of open standards, Ethernet extensions that are
developed through the IEEE 802.1 working group. These standards are designed to improve
and expand Ethernet networking and management capabilities in the data center. DCB helps
ensure delivery over lossless fabrics and I/O convergence onto a unified fabric. Each element of
this architecture enhances the DCB implementation and creates a robust Ethernet infrastructure
to meet data center requirements now and in the future.
IEEE DCB builds on the strengths of classical Ethernet, adds several crucial extensions to
provide the next-generation infrastructure necessary for data center networks, and delivers
unified fabric. The main features of the DCB architecture contribute to a robust Ethernet
network capable of meeting the current growing application requirements and responding to
future data center network needs.
Different organizations created different names to identify the collection of the specifications,
all based on the same core specifications. IEEE has used the term “Data Center Bridging
(DCB).” IEEE typically calls a standard specification by a number, for example, IEEE 802.1az.
IEEE did not have a way to identify the group of specifications with a standard number, so the
organization grouped the specifications into DCB.
The term “Converged Enhanced Ethernet (CEE)” was coined by IBM, again to reflect the core
group of specifications, to gain consensus among industry vendors (including Cisco) as to what
a Version 0 list of the specifications would be, before they all become standards.
Cisco uses the term “Data Center Ethernet (DCE)” to refer to its architecture for a next-
generation Ethernet for the data center. Cisco Data Center Ethernet is a superset of the CEE and
DCB proposals, using the same three specifications. Those specifications are Priority-based
Flow Control (PFC), Enhanced Transmission Selection (ETS), and DCBX. In addition, Cisco
includes Layer 2 multipoint processor (L2MP), lossless fabric, and congestion notification.
The DCE designation will be used when a Cisco product or Cisco partner product includes
those specifications and meets the requirements as defined by the Cisco Data Center Ethernet
architecture.
Transmit Frame
STOP PAUSE
R_RDY
Transmit Frame
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-11
With traditional Link Level Flow Control, a PAUSE capability exists that allows the receiving
port to send a PAUSE when its buffers start to fill. However, the PAUSE pauses the whole link
so all frames are stopped. Unfortunately, the pause may arrive too late and some frames may
arrive after all buffer space has run out. These frames will then be dropped, so even though
Ethernet has a basic flow control capability, Ethernet is not guaranteed to be lossless.
Fibre Channel has a different flow control mechanism. The receiving port is always in control
and sends a buffer credit with a receiver ready (R_RDY) to signal that the port has a frame
buffer available. When the transmitting port receives a buffer credit, the port can then send a
frame to the receiving port. When the transmitting port runs out of credits, the port must stop
transmitting.
This credit-based flow control mechanism ensures that Fibre Channel never loses a frame and
therefore is a lossless protocol.
5-10 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Enables lossless OR lossy fabrics for each CoS
• PAUSE sent per virtual lane when the limit of the buffers is exceeded
Four Four
Eight
Virtual
Five Five
Lanes
Six STOP PAUSE Six
Seven Seven
Eight Eight
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-12
PFC is an enhancement to the existing pause mechanism in Ethernet. The current Ethernet
pause option stops all traffic on a link and works, essentially, as a link pause for the entire link.
PFC creates eight separate virtual links on the physical link and allows any of these links to be
paused and restarted independently. This capability enables the network to create a no-drop
class of service (CoS) for an individual virtual link. PFC also allows differentiated QoS policies
for the eight unique virtual links.
When Converged Enhanced Ethernet is used to carry multiple protocols across the same 10
Gigabit Ethernet link, the traditional pause mechanism cannot be used. This process is because
the pause mechanism would pause all the traffic flows and still would not guarantee a lossless
delivery. So, PFC creates eight channels or CoSs all sharing the same 10 Gigabit Ethernet link.
This capability lets individual channels pause and regulate the flow of each traffic flow.
Note that not all upper-level protocols require or desire a lossless fabric. TCP for example
requires packet loss for congestion management.
t1 t2 t3 t1 t2 t3
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-13
ETS is also called priority grouping. Eight distinct virtual link types and CoSs can be created
by implementing PFC. ETS also has the advantage of having different traffic classes that are
defined within the different PFC traffic types.
ETS enables these differentiated treatments within the same priority classes of PFC.
ETS provides prioritized processing that is based on bandwidth allocation, low latency, or best
effort, resulting in per-group traffic class allocation.
For example, an Ethernet class of traffic may have a high-priority designation and a best effort
within that same class. ETS allows differentiation between traffic of the same priority class,
thus creating priority groups.
5-12 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Autonegotiation of capabilities between DCB devices
- Class-based Flow Control (PFC)
- Bandwidth Management (ETS)
- Congestion Notification (BCN/QCN)
- Logical Link Down
- Network Interface Virtualization
(NIV) Enhanced
Ethernet Links
DCBCXP
Legacy
Ethernet
Links
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-14
DCBX is a discovery and capability exchange protocol that is used by devices that are enabled
for Cisco Data Center Ethernet to exchange configuration information. The following
parameters of the Data Center Ethernet features can be exchanged:
Priority groups in ETS
PFC
Congestion notification (Backward Congestion Notification [BCN]/Quantized Congestion
Notification [QCN])
Application types and capabilities
Logical link down to signify the loss of a logical connection between devices even though
the physical link is still up
Network interface virtualization (NIV)
Requirements:
• Encapsulation of full Fibre Channel
frame into Jumbo Ethernet frame FCoE Traffic
10 Gigabit • SCSI
• Mapping of Fibre Channel pWWN • FICON
address to Ethernet MAC address Ethernet Link
Other
• FIP Networking
Traffic
• Lossless delivery of Fibre Channel • TCP/IP
frames • CIFS
• NFS
• iSCSI
Normal Ethernet Frame, EtherType = FCoE
Control Information: Version, Ordered Sets (SOF, EOF)
Same As a Physical Fibre Channel Frame
Ethernet
Channel
Header
Header
Header
CRC
EOF
FCS
FCoE
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-16
FCoE is a new protocol that is based upon the Fibre Channel layers defined by the ANSI T11
committee. This protocol replaces the lower layers of the Fibre Channel with CEE.
Minimum requirements for FCoE are as follows:
Lossless delivery of Fibre Channel frames
Support for jumbo frames, so that an entire Fibre Channel frame (length 2180 bytes) can be
carried in the payload of a single Ethernet frame
The mapping of Fibre Channel port WWN (pWWN) addresses to Ethernet MAC addresses
A minimum 10-Gb/s Ethernet platform
FCoE traffic consists of a Fibre Channel frame that is encapsulated within an Ethernet frame
with EtherType 0x8906. The Fibre Channel frame payload may in turn carry SCSI messages
and data, or in the future, fiber connectivity (FICON) for mainframe traffic.
5-14 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Before After
SAN HBA
CNA with 10 Gigabit Ethernet
Enhanced Ethernet
PCIe
Link
4-Gb FC
Fibre Channel
4-Gb FC
Fibre Channel
PCIe
Link
10 GEE
10 GEE Ethernet
PCIe
Link
1 GE Ethernet
1 GE
LAN NIC
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-17
A converged network adapter (CNA) combines a NIC and Fibre Channel HBA into one card.
The traditional HBA manufacturers, QLogic and Emulex, also provide CNAs. First-generation
CNAs had three ASICs, which were 10 Gigabit Ethernet, Fibre Channel, and a convergence
ASIC provided by Cisco.
Second-generation CNAs were built using one custom ASIC to reduce power consumption and
reduce unit costs.
FC
Port
Fibre Channel Switch SAN
Traffic
FC
FCoE_LEP Port
FC
Port
Ethernet Switch
FC
Port
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-18
An FCoE Forwarder (FCF) is a switch that contains both a Fibre Channel switch and an
Ethernet switch. One or more FCoE_LEPs are used to attach the Fibre Channel switch to the
Ethernet switch. There is one universal MAC address per FCoE_LEP. The FCoE_LEP is
responsible for encapsulating and de-encapsulating Fibre Channel frames for FCoE transport.
Fibre Channel traffic flows into one end of the LEP, while FCoE flows into the other end.
5-16 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Destination MAC Address
Header
Header
CRC
FCS
EOF
Header
FCoE
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-19
FCoE is encapsulated in an Ethernet frame with a dedicated EtherType, 0x8906. That packet
has a 4-bit version field. The other header fields in the frame (the source and destination MAC
addresses, virtual LAN [VLAN] tags, and frame markers) are all standard Ethernet fields.
Reserved bits pad the FCoE frame to the IEEE 802.3 minimum frame length of 64 bytes.
A Fibre Channel frame consists of 36 bytes of headers and up to 2112 bytes of data for a total
maximum size of 2148 bytes. The encapsulated Fibre Channel frame has all the standard
headers, which allow the frame to be passed to the storage network without further
modification. To accommodate the maximum Fibre Channel frame in an FCoE frame, the class
FCoE is defined with a default maximum transmission unit (MTU) of 2240 bytes.
The Ethernet frames that are sent by the switch to the adapter may include the IEEE 802.1Q
tag. This tag includes a field for the CoS value that is used by PFC. The IEEE 802.1Q tag also
includes a VLAN field.
The FCF expects frames from a FIP T-11-compliant CNA to be tagged with the VLAN tag for
the FCoE VLAN. Frames that are not correctly tagged are discarded.
The switch expects frames from a pre-FIP CNA to be a priority that is tagged with the FCoE
CoS value. The switch will still accept untagged frames from the CNA.
24 Bits 24 Bits
FC-MAP FCID
(0E-FC-00) 07-08-09
FPMAs create a direct mapping between the FCID that is assigned by the Fibre Channel Fabric
Services in the FCF and the Ethernet MAC address that is used as the E Node station address.
The 48-bit Ethernet MAC address consists of a fabric-wide FCoE MAC address prefix (FC-
MAP) value in the high-order 24 bits, with the assigned FCID in the low-order 24 bits. Fibre
Channel traffic can be encapsulated directly in FCoE frames with no table lookup. This process
is due to the fact the FC-MAP is a known quantity, and the destination ID (DID) in the Fibre
Channel frame (sent by FCF response during fabric login [FLOGI]) supplies the FCID.
FPMAs can create problems. The FCoE MAC address to be used by the station cannot be
determined until a Fibre Channel FLOGI is sent. The FCoE MAC address is therefore not
available for use as the source MAC address in the FLOGI itself. Furthermore, a mechanism
must be identified to determine the MAC address of the FCF so that the destination MAC
address for the FLOGI is known.
This mechanism is FIP, which is defined in the FCoE standards.
5-18 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
FCID: 03:01:01
FCID: 05:01:01
FCID: 01:01:02
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-22
Currently, FCoE standards support the use of FCoE between an E Node and a directly attached
FCF that is deployed as an access switch.
The figure shows a Fibre Channel network (in green) that has been extended over an Ethernet
network (in blue) by using FCoE. The host with an FCoE node is attached directly to a switch
acting as an FCF, which is diagrammed as separate Ethernet and Fibre Channel switches
connected by the FCoE_LEP. Notice that the FCF and the E Node both have Ethernet and Fibre
Channel characteristics. You can see this function through the Fibre Channel addressing that is
associated with each device.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-24
5-20 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• A device directly connected to an FCF needs to obtain its dynamic
address.
- Sends a Discovery Solicitation message
- Obtains an FPMA from the attached switch, using FIP
- FIP creates Ethernet tunnels for FCoE logical links such as the following:
• VN-VF between CNA and FCF
• VE-VE between FCFs
FIP FIP
Obtain VN VF VE VE
FPMA
FCF FCF
VN-VF = Virtual node port to virtual fabric port
VE-VE = Virtual expansion port to virtual expansion port
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-25
FIP allows the switch to discover and initialize FCoE-capable entities that are connected to an
Ethernet LAN. Two versions of FIP are supported by the FCF:
FIP: The CEE-DCBX protocol supports T11-compliant second-generation CNAs.
Pre-FIP: The Cisco, Intel, Nuova Data Center Bridging Exchange (CIN-DCBX) protocol
supports first-generation CNAs. Pre-FIP is not supported by Cisco Nexus 7000 or MDS
9000 Series switches.
Domain ID: 10
Host Solicitation: FC-MAP: 0E:FC:00
To: All FCFs SAN
From: MAC(H2) FIP
FP=1
H2
F=0
FCF1 Classic
S=0 Ethernet
LAN
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-26
FIP starts with a multicast solicitation from the host. The solicitation includes bits that indicate
if the host can use FPMAs or server-provided MAC addresses (SPMAs). The EtherType of this
frame is FIP. This frame originates from a host, so the F bit is set to 0. This frame is not a
solicitation response, so the S bit is set to 0. The FP bit is set to 1, because this device is
capable of using FPMAs.
The most predominant role for MDS specific to FCoE will be single hop, as described by end
node – 5K – MDS – FC LUN.
Multihop is realistically relevant only when connecting MDS to FCoE-enabled storage devices.
5-22 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Switch provides the fabric-unique FC-MAP (used for the first 3 bytes of
the FPMA)
- FP = 1 indicates FPMA-capable
- F = 1 indicates the frame was generated by an FCF
- EtherType = FIP
Domain ID: 10
FCF Advertisement: FC-MAP: 0E:FC:00
To: MAC(H2) SAN
From: MAC(FCF1) FIP reply
FP=1
H2
F=1
FCF1 Classic
S=1 H2 FCF List: Ethernet
MAC(FCF1) – 0E:FC:00 LAN
FC-MAP=0E:FC:00
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-27
The FCF replies by sending an advertisement. The F bit is set to 0, indicating the FIP frame is
from an FCF. The S bit is set to 1, indicating that this reply is a response to a solicitation.
FLOGI to FF:FF:FE H2
From 00:00:00
FCF1 Classic
H2 FCF List: Ethernet
MAC(FCF1) – 0E:FC:00 LAN
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-28
Now that the host has an FC-MAP (a unique per-fabric MAC address prefix), the host can
continue with the FLOGI to finalize its FPMA. FLOGI frames are sent to the FCID FF.FF.FE,
which is the well-known address for fabric login.
Domain ID: 10
FLOGI Accept frame: FCID: 01:00:01 FC-MAP: 0E:FC:00
To: MAC(H2) SAN
Accept
From: MAC(FCF1)
ACC to 10:00:01 H2
From FF:FF:FE Classic
FCF1
H2 FCF List: Ethernet
MAC(FCF1) – 0E:FC:00 LAN
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-29
The switch assigns an FCID and responds with this ID. This FCID is appended to the
previously acquired FC-MAP to create the FPMA. The FPMA is used for future
communication.
Domain ID: 10
Advertisement: FC-MAP: 0E:FC:00
To: MAC(FCF1) SAN
From: OE:FC:00 10:00:01 FLOGI
FC Frame……..
H2
FCF1 Classic
H2 FCF List: Ethernet
MAC(FCF1) – 0E:FC:00 LAN
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-30
Now that the device has a complete FPMA (FC-MAP + FCID), the device can communicate on
the fabric using FCoE frames.
5-24 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
• Some of the consolidation benefits of using Unified I/O and FCoE are
reduced cabling, reduced number of switches at the access layer, lower
cost of ownership, and easier management.
• To support FCoE, the server requires either a CNA or an Intel Oplin 10
Gigabit Ethernet NIC and the FCoE software stack.
• Enhancements to the Ethernet QoS support Fibre Channel traffic
requirements.
• The ENode acquires a unique MAC address from the FCF and
incorporates its FCID.
• FIP is used to initialize the link and identify the FCF.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-31
Objectives
Upon completing this lesson, you will be able to configure the Cisco MDS 9500 and 9700
Series Directors for FCoE. This ability includes being able to meet these objectives:
Describe the use of FCoE modules on the Cisco MDS 9500 and 9700 Series Directors
Describe the support of virtual expansion (VE) interfaces
Describe how FCoE can be configured to enable FCoE frames to traverse a unified fabric
Fibre Channel over Ethernet
This topic describes how FCoE frames are forwarded from the FCoE Forwarder (FCF) to
another FCF within a unified fabric.
• FCoE does not require a license on the Cisco MDS 9500 Series.
• You can only enable FCoE on an FCoE module.
• Do not install the FCoE module in the same switch where service
modules are installed
• You cannot enable FCoE on VLAN 1 (default) or the native VLAN.
• Cisco MDS 9500 supports only Generation-2 CNAs.
• Cisco MDS 9500 does not support LAN traffic and only accepts and
processes FCoE frames.
• The QoS policy must be the same on all Cisco FCoE switches in the
network.
• The MDS 9500 FCoE module requires MDS 9500 Supervisor-2A.
• The MDS 9700 FCoE module requires MDS 9710 Supervisor-1.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-4
The figure describes the guidelines and limitations that should be considered when configuring
FCoE on MDS 9500 and MDS 9700 Series Director chassis.
5-28 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Three modules provide support for FCoE.
• MDS 9500 8-Port 10-Gb/s FCoE • MDS 9710 FCoE Module
Module - Supports deployment of FCoE in
- Multihop FCoE module for the the Cisco MDS 9710 Series
core chassis
- 48-Port 10 Gigabit Ethernet FCoE
Module
• Supervisor-2A Module
- Supports deployment of FCoE in
1HCY14
the Cisco MDS 9500 Series
chassis
- Nondisruptive upgrade from
Supervisor-2
- 2 GB of memory
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-5
VN-port
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-6
In the example of multihop FCoE, frames are forwarded hop by hop from the converged
network adapter (CNA) in the server, through the Cisco Nexus 5000 FCF at the access layer,
through the Cisco Nexus 7000 Series switch at the aggregation layer, and on to the FCoE line
card module in the MDS 9500 Series Director. (Both the Cisco Nexus 5000 and 7000 Series do
multihop.)
The configuration of FCoE in and Fibre Channel out equals a Fibre Channel Bridge (FCB).
If the storage connects to the MDS via Fibre Channel, then it does not matter if the connection
coming into the MDS was single-op or multihop FCoE. From the perspective of the MDS, the
configuration is the same. MDS is a FCoE to Fibre Channel bridge.
The access layer Cisco Nexus 5000 Series switches are FCoE FCFs.
The aggregation layer Cisco Nexus 7000 Series switches are FCoE FCFs.
The core MDS Director chassis are not FCoE FCFs.
5-30 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Multi-hop FCoE involving the
MDS MDS Director chassis FCoE
contain FCoE modules Storage
- CNA > Cisco Nexus 5000/7000 > Array
SAN
MDS > a storage device with an FC
FCF
VE-port
FCoE
VE-port
Access Layer
Nexus 5000 FCF
FCoE VF-port
VN-port
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-7
In this multihop FCoE example, frames are forwarded hop-by-hop from the CNA in the server,
through the Cisco Nexus 5000 Series Switch FCF at the access layer and on to the FCoE line
card module in the MDS 9500 Series Director. (The Cisco Nexus 5000 Series Switch and MDS
do multihop.)
Frames are forwarded hop-by-hop from the CNA through the Cisco Nexus 5000 Series Switch
FCF and on to the FCoE line card module in the MDS 9513 Multilayer Director and continue to
the storage with the FCoE software stack. (The MDS is an FCF doing multihop.)
E E VE VE
FC FCoE
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-9
A virtual expansion port (VE Port) is a port that emulates an expansion port (E Port) over a
non-Fibre Channel link. VE Port connectivity between FCFs is supported over point-to-point
links. These links can be individual Ethernet interfaces or members of an Ethernet port channel
interface.
VE Ports have the following guidelines:
Automode on the virtual Fibre Channel (vFC) is not supported.
VE Port trunking is supported over FCoE-enabled virtual LANs (VLANs).
5-32 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• A vFC interface is created after
receiving a unique FIP-FLOGI FC
FCoE
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-10
A vFC interface is created after receiving a unique FCoE Initialization Protocol (FIP)-fabric
login (FLOGI) (VF Port) or FIP-Exchange Link Parameters (ELP) (VE Port). This facility
creates a unique VF to VN or VE to VE link with the FCoE node (E Node) or peer FCF. Each
vFC interface is associated with only one virtual SAN (VSAN).
A vFC interface must be bound to an interface before the interface can be used. The binding is
to a physical Ethernet interface when the CNA is directly connected to the switch.
switch# config
switch(config)# feature lacp
Switch(config)# feature lldp
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-12
To configure FCoE, enable the Link Aggregation Control Protocol (LACP) feature using the
feature lacp global configuration command.
The command feature lldp negotiates Data Center Bridging (DCB) point to point.
The Cisco MDS Director chassis switch automatically enables the FCoE feature when an
FCoE-capable module is present in the chassis. You must enable supporting features and the
appropriate quality of service (QoS) policy for FCoE.
5-34 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
• Default policy and classes:
- default-nq-8e-policy COS 3 (FCoE) is dropped
- default-nq-7e-policy COS 3 is NO DROP (required for FCoE)
- default-nq-6e-policy COS 3 is NO DROP, 4 is PRIORITY NO DROP
- default-nq-4e-policy COS 1-3 is NO DROP 4 is PRIORITY NO DROP
switch# config
switch(config)# system qos
switch(config-sys-qos)# service-policy type network-qos default-nq-7e-policy
switch(config-sys-qos)# end
switch# copy run start
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-13
The system qos command enables the QoS policy that supports FCoE traffic. The policy-name
default is default-nq-6e-policy.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-14
This example shows how to establish a VE-to-VE Inter-Switch Link (ISL) between switches.
Step 1 Create the appropriate VSANs.
Step 2 Create the appropriate VLANs and associate the VLANs with the appropriate
VSAN.
Step 3 Create the DCB port channel that will be used to connect the two switches.
5-36 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
4. Create a VFC interface that will be associated with the port channel.
switch(config)# interface vfc 3
switch(config-if)# bind interface port-channel 777
switch(config-if)# switchport mode E
switch(config-if)# switchport trunk allowed vsan 200
switch(config-if)# no shutdown
switch(config-if)# vsan database
switch(config-vsan-db)# vsan 200 interface vfc 3
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-15
Step 4 Create the vFC interface that will be associated with the port channel, and then
specify the interface as an E Port and allow the appropriate VSANs.
Step 5 Add the Ethernet interfaces to the DCB port channel.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-16
The figure describes the Cisco Data Center Network Manager (DCNM)-SAN Client FCoE
Configuration Wizard.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-17
This example shows how to display the FCoE database and how to display the FCoE settings
for an interface.
5-38 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Summary
This topic summarizes the key points that were discussed in this lesson.
• The MDS 9500 and MDS 9700 Series directors support FCoE modules
and FCoE configuration.
• Multiple FCoE FCFs may be viewed as multihop FCoE.
• The MDS FCoE module behaves as an FCB with FCoE in and Fibre
Channel out. The MDS FCoE module behaves as an FCoE FCF with
FCoE in and FCoE out.
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-18
© 2013 Cisco and/or its affiliates. All rights reserved. DCMDS v2.0—5-1
5-44 Configuring Cisco MDS 9000 Series Switches (DCMDS) v2.0 © 2013 Cisco Systems, Inc.
Self-Check Answer Key
Q1) B, F
Q2) D
Q3) D
Q4) B
Q5) C, D, E
Q6) B, F
Q7) D
Q8) C