Cisco MDS 9000 NX-OS Interface Config Guide
Cisco MDS 9000 NX-OS Interface Config Guide
Cisco MDS 9000 NX-OS Interface Config Guide
c o m
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCBs public
domain version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at
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. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display
output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in
illustrative content is unintentional and coincidental.
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
2009 Cisco Systems, Inc. All rights reserved.
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CONTENTS
New and Changed Information
Preface
xi
xiii
Audience
xiii
Organization
xiii
Document Conventions
xiv
Related Documentation xv
Release Notes xv
Regulatory Compliance and Safety Information xv
Compatibility Information xv
Hardware Installation xv
Software Installation and Upgrade xv
Cisco NX-OS xvi
Cisco Fabric Manager xvi
Command-Line Interface xvi
Intelligent Storage Networking Services Configuration Guides
Troubleshooting and Reference xvii
Obtaining Documentation and Submitting a Service Request
xvi
xvii
xvii
CHAPTER
Interfaces Overview
1-1
1-1
1-2
N Port Virtualization
FlexAttach
CHAPTER
1-2
1-2
1-2
Configuring Interfaces
2-1
2-2
iii
Contents
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
NP Ports 2-4
TL Port 2-5
TE Port 2-5
TF Port 2-5
TNP Port 2-6
SD Port 2-6
ST Port 2-6
Fx Port 2-6
B Port 2-6
Auto Mode 2-7
About Interface States 2-7
Administrative States 2-7
Operational States 2-7
Reason Codes 2-7
Configuring Fibre Channel Interfaces 2-11
Graceful Shutdown 2-12
Setting the Interface Administrative State 2-12
Configuring Interface Modes 2-13
Configuring System Default Port Mode F 2-13
Configuring Port Speeds 2-14
Autosensing 2-15
About Interface Descriptions 2-15
Configuring the Interface Description 2-15
Specifying a Port Owner 2-15
About Frame Encapsulation 2-16
Identifying the Beacon LEDs 2-16
About Speed LEDs 2-17
About Beacon Mode 2-17
Configuring Beacon Mode 2-17
About Bit Error Thresholds 2-18
Switch Port Attribute Default Values 2-18
About SFP Transmitter Types 2-19
Displaying Interface Information 2-20
TL Ports for Private Loops 2-28
About TL Ports 2-28
About TL Port ALPA Caches 2-30
Displaying TL Port Information 2-30
Manually Inserting Entries into ALPA Cache
Displaying the ALPA Cache Contents 2-32
Clearing the ALPA Cache 2-32
2-32
iv
Contents
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Configuring Port Guard
2-32
2-38
CHAPTER
2-47
2-48
2-50
2-50
3-1
3-1
3-7
Contents
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Dynamic Bandwidth Management
Out-of-Service Interfaces 3-8
3-7
3-8
3-35
3-35
3-36
3-37
3-37
3-38
3-39
3-40
vi
Contents
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CHAPTER
4-1
4-2
4-3
CHAPTER
Configuring Trunking
4-13
4-18
4-20
4-20
4-21
5-1
vii
Contents
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Difference Between TE Ports and TF-TNP Ports
5-5
CHAPTER
5-9
5-12
5-12
5-13
5-14
Configuring PortChannels
6-1
6-15
viii
Contents
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
About Channel Group Creation 6-16
About Autocreation 6-18
Enabling and Configuring Autocreation 6-18
About Manually Configured Channel Groups 6-19
Converting to Manually Configured Channel Groups
Example F and TF PortChannel Configurations
Verifying the PortChannel Configuration
Default Settings
CHAPTER
6-19
6-19
6-21
6-25
7-1
7-2
7-9
CHAPTER
7-11
7-14
8-1
8-1
8-2
ix
Contents
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Configuring FlexAttach Virtual pWWN 8-2
Enabling FlexAttach Virtual pWWN 8-2
Automatically Enabling FlexAttach Virtual pWWN 8-2
Manually Enabling FlexAttach Virtual pWWN 8-3
Mapping pWWN to Virtual pWWN 8-3
Verifying FlexAttach Virtual pWWN 8-4
Verifying the End Device 8-4
Debugging FlexAttach Virtual pWWN 8-5
Security Settings for FlexAttach Virtual pWWN 8-5
FlexAttach Virtual pWWN CFS Distribution 8-6
Difference Between San Device Virtualization and FlexAttach Port Virtualization
8-6
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
System management
Interfaces
Fabric
Quality of service
Security
IP services
The information in these new guides previously existed in the Cisco MDS 9000 Family CLI
Configuration Guide and in the Cisco MDS 9000 Family Fabric Manager Configuration Guide. Those
configuration guides remain available on Cisco.com and should be used for all software releases prior
to MDS NX-OS Release 4.2(1). Each guide addresses the features introduced in or available in a
particular release. Select and view the configuration guide that pertains to the software installed in your
switch.
For a complete list of document titles, see the list of Related Documentation in the Preface.
To find additional information about Cisco MDS NX-OS Release 4.2(x), see the Cisco MDS 9000 Family
Release Notes available at the following Cisco Systems website:
http://www.cisco.com/en/US/products/ps5989/prod_release_notes_list.htm
About this Guide
The information in the new Cisco MDS 9000 NX-OS Interfaces Configuration Guide previously existed
in Part 3: Switch Configuration of the Cisco MDS 9000 Family CLI Configuration Guide.
Table 1 lists the New and Changed features for this guide, starting with MDS NX-OS Release 4.2(1).
xi
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 1-1
New and Changed Features for Cisco MDS NX-OS Release 4.2(x)
Feature
Changed
in
Release Where Documented
Chapter 2, Configuring
Interfaces
4.2(1)
Chapter 2, Configuring
Interfaces
Port Guard
4.2(1)
Chapter 2, Configuring
Interfaces
xii
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Preface
This preface describes the audience, organization, and conventions of the Cisco MDS 9000 Family
NX-OS Interfaces Configuration Guide. It also provides information on how to obtain related
documentation.
Audience
This guide is for experienced network administrators who are responsible for configuring and
maintaining the Cisco MDS 9000 Family of multilayer directors and fabric switches.
Organization
The Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide is organized as follows:
Chapter
Title
Description
Chapter 1
Interfaces Overview
Chapter 2
Configuring Interfaces
Chapter 3
Chapter 4
Chapter 5
Configuring Trunking
Chapter 6
Configuring PortChannels
xiii
Preface
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Chapter
Title
Description
Chapter 7
Chapter 8
Document Conventions
Command descriptions use these conventions:
boldface font
italic font
[ ]
[x|y|z]
Terminal sessions and information the switch displays are in screen font.
Arguments for which you supply values are in italic screen font.
< >
[ ]
!, #
An exclamation point (!) or a pound sign (#) at the beginning of a line of code
indicates a comment line.
Note
Caution
Means reader take note. Notes contain helpful suggestions or references to material not covered in the
manual.
Means reader be careful. In this situation, you might do something that could result in equipment
damage or loss of data.
xiv
Preface
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Related Documentation
The documentation set for the Cisco MDS 9000 Family includes the following documents. To find a
document online, use the Cisco MDS NX-OS Documentation Locator at:
http://www.cisco.com/en/US/docs/storage/san_switches/mds9000/roadmaps/doclocater.htm
Release Notes
Cisco MDS 9000 Family Release Notes for Cisco MDS NX-OS Releases
Cisco MDS 9000 Family Release Notes for MDS SAN-OS Releases
Cisco MDS 9000 Family Release Notes for Storage Services Interface Images
Cisco MDS 9000 Family Release Notes for Cisco MDS 9000 EPLD Images
Regulatory Compliance and Safety Information for the Cisco MDS 9000 Family
Compatibility Information
Cisco MDS 9000 NX-OS Hardware and Software Compatibility Information and Feature Lists
Cisco MDS NX-OS Release Compatibility Matrix for Storage Service Interface Images
Cisco MDS NX-OS Release Compatibility Matrix for IBM SAN Volume Controller Software for
Cisco MDS 9000
Cisco MDS SAN-OS Release Compatibility Matrix for VERITAS Storage Foundation for Networks
Software
Hardware Installation
Cisco MDS 9124 and Cisco MDS 9134 Multilayer Fabric Switch Quick Start Guide
Cisco MDS 9000 NX-OS Release 4.1(x) and SAN-OS 3(x) Software Upgrade and Downgrade Guide
Cisco MDS 9000 Family Storage Services Interface Image Install and Upgrade Guide
xv
Preface
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Cisco MDS 9000 Family Storage Services Module Software Installation and Upgrade Guide
Cisco MDS 9000 Family NX-OS Intelligent Storage Services Configuration Guide
Cisco MDS 9000 Family NX-OS High Availability and Redundancy Configuration Guide
Cisco NX-OS
Command-Line Interface
xvi
Preface
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
xvii
Preface
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
xviii
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
Interfaces Overview
This chapter describes the basic interfaces that are used with Fabric Manager. These interfaces include
Gigabit Ethernet interfaces, Fiber Channel interfaces, virtual interfaces on Nexus hardware, buffer
credits, management interfaces, VSAN interfaces, shared interface resources, trunking, PortChanneling,
N port virtualization (NPV), and FlexAttach virtual pWWN.
This chapter includes the following topics:
1-1
Chapter 1
Interfaces Overview
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Extended Credits
Full line-rate Fibre Channel ports provide at least 255 buffer credits standard. Adding credits lengthens
distances for Fibre Channel SAN extension. Using extended credits, up to 4095 buffer credits from a
pool of more than 6000 buffer credits for a module can be allocated to ports as needed to greatly extend
the distance for Fibre Channel SANs.
N Port Virtualization
Cisco NX-OS software supports industry-standard N port identifier virtualization (NPIV), which allows
multiple N port fabric logins concurrently on a single physical Fibre Channel link. HBAs that support
NPIV can help improve SAN security by enabling zoning and port security to be configured
independently for each virtual machine (OS partition) on a host. In addition to being useful for server
connections, NPIV is beneficial for connectivity between core and edge SAN switches.
N port virtualizer (NPV) is a complementary feature that reduces the number of Fibre Channel domain
IDs in core-edge SANs. Cisco MDS 9000 family fabric switches operating in the NPV mode do not join
a fabric; they only pass traffic between core switch links and end devices, which eliminates the domain
IDs for these switches. NPIV is used by edge switches in the NPV mode to log in to multiple end devices
that share a link to the core switch. This feature is available only for Cisco MDS Blade Switch Series,
the Cisco MDS 9124 Multilayer Fabric Switch, and the Cisco MDS 9134 Multilayer Fabric Switch.
FlexAttach
Cisco NX-OS supports the FlexAttach feature. One of the main problems in a SAN environment is the
time and effort required to install and replace servers. The process involves both SAN and server
administrators, and the interaction and coordination between them can make the process time
consuming. To alleviate the need for interaction between SAN and server administrators, the SAN
configuration should not be changed when a new server is installed or an existing server is replaced.
FlexAttach addresses these problems, reducing configuration changes and the time and coordination
required by SAN and server administrators when installing and replacing servers. This feature is
available only for Cisco MDS 9000 Blade Switch Series, the Cisco MDS 9124, and the Cisco MDS 9134
when NPV mode is enabled.
1-2
Chapter 1
Interfaces Overview
FlexAttach
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
1-3
Chapter 1
Interfaces Overview
FlexAttach
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
1-4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
Configuring Interfaces
The main function of a switch is to relay frames from one data link to another. To relay the frames, the
characteristics of the interfaces through which the frames are received and sent must be defined. The
configured interfaces can be Fibre Channel interfaces, Gigabit Ethernet interfaces, the management
interface (mgmt0), or VSAN interfaces.
This chapter describes the basic interface configuration to get your switch up and running. It includes
the following sections:
Configuring Slow Drain Device Detection and Congestion Avoidance, page 2-44
For more information on configuring mgmt0 interfaces, refer to the Cisco MDS 9000 Family NX-OS
Fundamentals Configuration Guide and Cisco MDS 9000 Family NX-OS IP Services Configuration
Guide.
See the Cisco MDS 9000 Family NX-OS IP Services Configuration Guide for more information on
configuring Gigabit Ethernet interfaces.
Tip
Before you begin configuring the switch, ensure that the modules in the chassis are functioning as
designed. To verify the status of a module at any time, enter the show module command in EXEC mode
(for information about verifying the module status, refer to the Cisco NX-OS Fundamentals
Configuration Guide).
2-1
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
Due to the hardware design of the MDS 9134 switch, we do not support interface
out-of-service action on either of its two 10-Gigabit ports. This is because no internal port
hardware resource is released when an out-of-service action is performed on these
10-Gigabit ports.
When configuring these host-optimized ports, the following port mode guidelines apply:
You can configure only the first port in each 4-port group (for example, the first port in ports 1-4,
the fifth port in ports 5-8, and so on) as an E port. If the first port in the group is configured as an E
port, the other three ports in each group (ports 2-4, 6-8, and so on) are not usable and remain
shutdown.
If you execute the write erase command on a 32-port switching module, and then copy a saved
configuration to the switch from a text file that contains the no system default switchport
shutdown command, you need to copy the text file to the switch again for the E ports to come up
without manual configuration.
If any of the other three ports are enabled, you cannot configure the first port as an E port. The other
three ports continue to remain enabled.
2-2
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
The auto mode is not allowed in a 32-port switching module or the host-optimized ports in the Cisco
9100 Series (16 host-optimized ports in the Cisco MDS 9120 switch and 32 host-optimized ports in
the Cisco MDS 9140 switch).
The default port mode is Fx (Fx negotiates to F or FL) for 32-port switching modules.
Note
We recommend that you configure your E ports on a 16-port switching module. If you must configure
an E port on a 32-port host-optimized switching module, the other three ports in that 4-port group cannot
be used.
Note
In the Cisco MDS 9100 Series, the groups of ports that are located on the left and outlined in white are
full line rate. The other ports are host-optimized. Each group of 4 host-optimized ports have the same
features as for the 32-port switching module.
NL port
p
N port
Private
loop
ISL lin k
F port
FL port
E port
NL port
E port
TL port
Public
loop
NL port
79528
NL port
Note
Interfaces are created in VSAN 1 by default. See the Cisco MDS 9000 Family NX-OS Fabric
Configuration Guide.
Each interface has an associated administrative configuration and an operational status:
2-3
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
The administrative configuration does not change unless you modify it. This configuration has
various attributes that you can configure in administrative mode.
The operational status represents the current status of a specified attribute like the interface speed.
This status cannot be changed and is read-only. Some values may not be valid when the interface is
down (for example, the operational speed).
When a module is removed and replaced with the same type of module, the configuration is retained. If
a different type of module is inserted, then the original configuration is no longer retained.
Each interface is briefly described in the sections that follow.
E Port
In expansion port (E port) mode, an interface functions as a fabric expansion port. This port may be
connected to another E port to create an Inter-Switch Link (ISL) between two switches. E ports carry
frames between switches for configuration and fabric management. They serve as a conduit between
switches for frames destined to remote N ports and NL ports. E ports support class 2, class 3, and class
F service.
An E port connected to another switch may also be configured to form a PortChannel (see Chapter 6,
Configuring PortChannels).
Note
We recommend that you configure E ports on 16-port modules. If you must configure an E port on a
32-port oversubscribed module, then you can only use the first port in a group of four ports (for example,
ports 1 through 4, 5 through 8, and so forth). The other three ports cannot be used.
F Port
In fabric port (F port) mode, an interface functions as a fabric port. This port may be connected to a
peripheral device (host or disk) operating as an 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 port (FL port) mode, an interface functions as a fabric loop port. This port may be
connected to one or more NL ports (including 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.
Note
NP Ports
An NP port is a port on a device that is in 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, they also function as
proxies for multiple, physical N ports.
2-4
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
For more details about NP ports and NPV, see Chapter 7, Configuring N Port Virtualization.
TL Port
In translative loop port (TL port) mode, an interface functions as a translative loop port. It may be
connected to one or more private loop devices (NL ports). TL ports are specific to Cisco MDS 9000
Family switches and have similar properties as FL ports. TL ports enable communication between a
private loop device and one of the following devices:
Tip
We recommend configuring devices attached to TL ports in zones that have up to 64 zone members.
Note
TE Port
In trunking E port (TE port) mode, an interface functions as a trunking expansion port. It may be
connected to another TE port to create an extended ISL (EISL) between two switches. TE ports are
specific to Cisco MDS 9000 Family switches. They expand the functionality of E ports to support the
following:
VSAN trunking
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 Cisco MDS 9000 Family (see Chapter 5,
Configuring Trunking). TE ports support class 2, class 3, and class F service.
TF Port
In trunking F port (TF port) mode, an interface functions as a trunking expansion port. It may be
connected to another trunked N port (TN port) or trunked NP port (TNP port) to create a link between a
core switch and an NPV switch or an HBA to carry tagged frames. TF ports are specific to Cisco MDS
9000 Family switches. They expand the functionality of F ports to support VSAN trunking.
2-5
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
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. This feature is referred to as trunking in the Cisco MDS 9000 Family (see Chapter 5,
Configuring Trunking). TF ports support class 2, class 3, and class F service.
TNP Port
In trunking NP port (TNP port) mode, an interface functions as a trunking expansion port. It may be
connected to a trunked F port (TF port) to create a link to a core NPIV switch from an NPV switch to
carry tagged frames.
SD Port
In SPAN destination port (SD port) mode, an interface functions as a switched port analyzer (SPAN).
The SPAN feature is specific to switches in the Cisco MDS 9000 Family. It monitors network traffic that
passes though 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, they
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 (see the Cisco MDS 9000 Family NX-OS System
Management Configuration Guide).
ST Port
In the SPAN tunnel port (ST port) mode, an interface functions as an entry point port in the source switch
for the RSPAN Fibre Channel tunnel. The ST port mode and the remote SPAN (RSPAN) feature are
specific to switches in the Cisco MDS 9000 Family. When configured in ST port mode, the interface
cannot be attached to any device, and thus cannot be used for normal Fibre Channel traffic (see the Cisco
MDS 9000 Family NX-OS System Management Configuration Guide).
Note
ST port mode is not supported on the Cisco MDS 9124 Fabric Switch, the Cisco Fabric Switch for HP
c-Class BladeSystem, and the Cisco Fabric Switch for IBM BladeCenter.
Fx Port
Interfaces 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 modefor example, preventing
an interface to connect to another switch.
B Port
While E ports typically interconnect Fibre Channel switches, some SAN extender devices, such as the
Cisco PA-FC-1G Fibre Channel port adapter, implement a bridge port (B port) model to connect
geographically dispersed fabrics. This model uses B ports as described in the T11 Standard FC-BB-2.
If an FCIP peer is a SAN extender device that only supports Fibre Channel B ports, you need to enable
the B port mode for the FCIP link. When a B port is enabled, the E port functionality is also enabled and
they coexist. If the B port is disabled, the E port functionality remains enabled (see the Cisco MDS 9000
Family NX-OS IP Services Configuration Guide).
2-6
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Auto Mode
Interfaces configured in auto mode can operate in one of the following modes: F port, FL port, E port,
TE port, or TF port. The port mode is determined during interface initialization. For example, if the
interface is connected to a node (host or disk), it 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, it operates in E port mode. If
the interface is attached to another switch in the Cisco MDS 9000 Family, it may become operational in
TE port mode (see Chapter 5, Configuring Trunking).
TL ports and SD ports are not determined during initialization and are administratively configured.
Note
Fibre Channel interfaces on Storage Services Modules (SSMs) cannot be configured in auto mode.
Administrative States
The administrative state refers to the administrative configuration of the interface as described in
Table 2-1.
Table 2-1
Administrative States
Administrative State
Description
Up
Interface is enabled.
Down
Operational States
The operational state indicates the current operational state of the interface as described in Table 2-2.
Table 2-2
Operational States
Operational State
Description
Up
Down
Trunking
Reason Codes
Reason codes are dependent on the operational state of the interface as described in Table 2-3.
2-7
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 2-3
Note
Administrative
Configuration
Operational
Status
Reason Code
Up
Up
None.
Down
Down
Up
Down
2-8
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 2-4
Description
Applicable
Modes
All
Initializing
Offline
Inactive
Hardware failure
Error disabled
Configuration failure.
SDM failure
2-9
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 2-4
Applicable
Modes
Description
Nonparticipating
Only E ports
and TE ports
Only FL
ports and TL
ports
PortChannel administratively
down
2-10
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
Step 2
Purpose
Step 1
switch# config t
Step 2
For the Cisco Fabric Switch for HP c-Class BladeSystem and the Cisco Fabric Switch for IBM
BladeCenter, you can configure a range of interfaces among internal ports or external ports, but you
cannot mix both interface types within the same range. For example, bay 1-10, bay 12 or ext 0, ext
15-18 are valid ranges, but bay 1-5, ext 15-17 is not.
2-11
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Graceful Shutdown
Interfaces on a port are shut down by default (unless you modified the initial configuration).
The Cisco NX-OS software implicitly performs a graceful shutdown in response to either of the
following actions for interfaces operating in the E port mode:
If a Cisco NX-OS software application executes a port shutdown as part of its function.
A graceful shutdown ensures that no frames are lost when the interface is shutting down. When a
shutdown is triggered either by you or the Cisco NX-OS software, the switches connected to the
shutdown link coordinate with each other 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.
A graceful shutdown is not possible in the following situations:
Note
If in-order delivery (IOD) is enabled (for information about IOD, refer to the Cisco MDS 9000
Family NX-OS Fabric Configuration Guide).
If the Min_LS_interval interval is higher than 10 seconds (for information about FSPF global
configuration, refer to the Cisco MDS 9000 Family NX-OS Fabric Configuration Guide).
This feature is only triggered if both switches at either end of this E port interface are MDS switches and
are running Cisco SAN-OS Release 2.0(1b) or later, or MDS NX-OS Release 4.1(1a) or later.
Purpose
Step 1
switch# config t
Step 2
Step 3
switch(config-if)# shutdown
Purpose
Step 1
switch# config t
Step 2
Step 3
switch(config-if)# no shutdown
2-12
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
Step 2
Step 3
Note
All ports that are down and that are not out-of-service.
All F ports that are up, whose operational mode is F, and whose administrative mode is not F.
This command does not affect the configuration of the following ports:
All non-F ports that are up; however, if non-F ports are down, this command changes the
administrative mode of those ports.
Example 2-1 shows the command in the setup utility, and Example 2-2 shows the command from the
command line.
Example 2-1
Setup Utility
Example 2-2
Command Line
2-13
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
To ensure that ports that are part of ISLs do not get changed to port mode F, configure the ports in port
mode E, rather than in Auto mode.
Note
When the command is executed from the command line, switch operation remains graceful. No ports are
flapped.
To set the administrative mode of Fibre Channel ports to mode F in the CLI, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
Note
For detailed information about the switch setup utility see the Cisco MDS 9000 Family NX-OS
Fundamentals Configuration Guide.
Caution
Purpose
Step 1
switch# config t
Step 2
Step 3
2-14
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
For internal ports on the Cisco Fabric Switch for HP c_Class BladeSystem and Cisco Fabric Switch for
IBM BladeCenter, a port speed of 1 Gbps is not supported. Auto-negotiation is supported between 2
Gbps and 4 Gbps only. Also, if the BladeCenter is a T chassis, then port speeds are fixed at 2 Gbps and
auto-negotiation is not enabled.
Autosensing
Autosensing speed is enabled on all 4-Gbps and 8-Gbps switching module interfaces by default. This
configuration enables the interfaces to operate at speeds of 1 Gbps, 2 Gbps, or 4 Gbps on the 4-Gbps
switching modules, and 8 Gbps on the 8-Gbps switching modules. When autosensing is enabled for an
interface operating in dedicated rate mode, 4 Gbps of bandwidth is reserved, even if the port negotiates
at an operating speed of 1 Gbps or 2 Gbps.
To avoid wasting unused bandwidth on 48-port and 24-port 4-Gbps and 8-Gbps Fibre Channel switching
modules, you can specify that only 2 Gbps of required bandwidth be reserved, not the default of 4 Gbps
or 8 Gbps. This feature shares the unused bandwidth within the port group provided that it does not
exceed the rate limit configuration for the port. You can also use this feature for shared rate ports that
are configured for autosensing.
Tip
When migrating a host that supports up to 2-Gbps traffic (that is, not 4 Gbps with autosensing
capabilities) to the 4-Gbps switching modules, use autosensing with a maximum bandwidth of 2 Gbps.
When migrating a host that supports up to 4-Gbps traffic (that is, not 8 Gbps with autosensing
capabilities) to the 8-Gbps switching modules, use autosensing with a maximum bandwidth of 4 Gbps.
Purpose
Step 1
switch# config t
Step 2
Step 3
2-15
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
To specify or remove the port owner, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
Step 3
Note
The port guard and port owner features are available for all ports regardless of the operational mode.
To display the owner description specified for a port, use the following commands:
switch# show running interface fc module-number/interface-number
switch# show port internal info interface fc module-number/interface-number
77686
Status LED 1
Asset tag4
1. See the Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide.
2-16
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
2. See the About Speed LEDs section on page 2-17.
3. See the Generation 1 Interfaces Configuration Guidelines section on page 2-2.
4. Refer to the Cisco MDS 9000 Family hardware installation guide for your platform.
On (solid green)The interface attached to that port is functioning at 2000 Mbps (for 2 Gbps
interfaces).
The speed LED also displays if the beacon mode is enabled or disabled:
Note
Flashing greenThe beacon mode is enabled. The LED flashes at one-second intervals.
Generation 2 and Generation 3 modules and fabric switches do not have speed LEDs.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
Note
The flashing green light turns on automatically when an external loopback is detected that causes the
interfaces to be isolated. The flashing green light overrides the beacon mode configuration. The state of
the LED is restored to reflect the beacon mode configuration after the external loopback is removed.
2-17
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Short haul cable is used for long haul or long haul cable is used for short haul.
A bit error rate threshold is detected when 15 error bursts occur in a 5-minute period. By default, the
switch disables the interface when the threshold is reached. You can enter a shutdown and no shutdown
command sequence to reenable the interface.
You can configure the switch to not disable an interface when the threshold is crossed. By default, the
threshold disables the interface.
To disable the bit error threshold for an interface, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
Step 3
Note
Regardless of the setting of the switchport ignore bit-errors command, the switch generates a syslog
message when bit-error threshold events are detected.
2-18
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
To configure switch port attributes, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
Definition
Acronym
swl
lwl
lwcr
electrical
elec
c1470
CWDM-1490
c1490
CWDM-1510
c1510
CWDM-1530
c1530
CWDM-1550
c1550
CWDM-1570
c1570
CWDM-1590
c1590
CWDM-1610
c1610
2-19
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
2-20
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
fc1/13 is up
Hardware is Fibre Channel, SFP is short wave laser
Port WWN is 20:0d:00:05:30:00:97:9e
Admin port mode is auto, trunk mode is on
Port mode is F, FCID is 0x650100
Port vsan is 100
Speed is 2 Gbps
Transmit B2B Credit is 3
Receive B2B Credit is 16
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
8696 frames input, 3227212 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
16799 frames output, 6782444 bytes
0 discards, 0 errors
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
1 output OLS, 1 LRR, 0 NOS, 1 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
. . .
sup-fc0 is up
Hardware is Fibre Channel
Speed is 1 Gbps
139597 packets input, 13852970 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
139516 packets output, 16759004 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
0 carrier errors
You can also specify arguments (a range of interfaces or multiple, specified interfaces) to display
interface information. You can specify a range of interfaces by issuing a command with the following
example format:
interface fc1/1 - 5 , fc2/5 - 7
Note
The spaces are required before and after the dash ( - ) and before and after the comma ( , ).
Example 2-4
2-21
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
1886 frames output, 887712 bytes
0 discards, 0 errors
0 input OLS, 0 LRR, 0 NOS, 1 loop inits
1 output OLS, 1 LRR, 0 NOS, 1 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
fc3/16 is up
Hardware is Fibre Channel, SFP is short wave laser
Port WWN is 20:90:00:05:30:00:97:9e
Admin port mode is FX
Port mode is F, FCID is 0x7d0100
Port vsan is 3000
Speed is 2 Gbps
Transmit B2B Credit is 3
Receive B2B Credit is 12
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 504 bits/sec, 63 bytes/sec, 0 frames/sec
5 minutes output rate 520 bits/sec, 65 bytes/sec, 0 frames/sec
47050 frames input, 10311824 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
62659 frames output, 10676988 bytes
0 discards, 0 errors
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
1 output OLS, 1 LRR, 0 NOS, 1 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
Example 2-5
2-22
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
3 transmit B2B credit remaining.
Example 2-6
Example 2-7
2-23
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
iscsi4/1
down
-...
------------------------------------------------------------------------------Interface
Status
Speed
(Gbps)
------------------------------------------------------------------------------sup-fc0
up
1
------------------------------------------------------------------------------Interface
Status
IP Address
Speed
MTU
------------------------------------------------------------------------------mgmt0
up
172.19.48.96/25
100 Mbps
1500
------------------------------------------------------------------------------Interface
Vsan
Admin
Status
Oper
Oper
Trunk
Mode
Speed
Mode
(Gbps)
------------------------------------------------------------------------------port-channel 1
1
on
trunking
TE
4
port-channel 2
1
on
trunking
TE
4
------------------------------------------------------------------------------Interface Vsan
Admin Admin
Status
Oper Profile Port-channel
Mode
Trunk
Mode
Mode
------------------------------------------------------------------------------fcip10
1
auto
on
notConnected -10
--
Example 2-8
2-24
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
3 transmit B2B credit remaining.
. . .
sup-fc0
114000 packets input, 11585632 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
113997 packets output, 10969672 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
0 carrier errors
mgmt0
31557 packets input, 2230860 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
26618 packets output, 16824342 bytes, 0 underruns
0 output errors, 0 collisions, 7 fifo
0 carrier errors
vsan1
0 packets input, 0 bytes, 0 errors, 0 multicast
0 packets output, 0 bytes, 0 errors, 0 dropped
.
.
.
port-channel 1
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
0 frames input, 0 bytes
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards, 0 CRC, 0 unknown class
0 too long, 0 too short
0 frames output, 0 bytes
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
0 output OLS, 0 LRR, 0 NOS, 0 loop inits
0 link failures, 0 sync losses, 0 signal losses
Note
Interfaces 9/8 and 9/9 are not trunking ports and display class 2, 3, and F information as well.
Example 2-9
2-25
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
fc9/10
fc9/11
0
0
4186
4331
0
0
4182
4315
------------------------------------------------------------------------------Interface
Input (rate is 5 min avg)
Output (rate is 5 min avg)
----------------------------- ----------------------------Rate
Total
Rate
Total
Mbits/s Frames
Mbits/s Frames
------------------------------------------------------------------------------port-channel 1
0
0
0
0
port-channel 2
0
3946
0
3946
Note
The show interface transceiver command can only be issued on a switch in the Cisco MDS 9100 Series
if the SFP is present (see Example 2-10).
Example 2-10 Displays Transceiver Information
switch# show interface transceiver
fc1/1 SFP is present
name is CISCO-AGILENT
part number is QFBR-5796L
revision is
serial number is A00162193
fc-transmitter type is short wave laser
cisco extended id is unknown (0x0)
...
fc1/9 SFP is present
name is FINISAR CORP.
part number is FTRJ-1319-7D-CSC
revision is
serial number is H11A6ER
fc-transmitter type is long wave laser cost reduced
cisco extended id is unknown (0x0)
...
Example 2-11 displays the entire running configuration with information for all interfaces. The
interfaces have multiple entries in the configuration files to ensure that the interface configuration
commands execute in the correct order when the switch reloads.
Example 2-11 Displays the Running Configuration for All Interfaces
switch# show running-config
...
interface fc9/1
switchport speed 2000
...
interface fc9/1
switchport mode E
...
interface fc9/1
channel-group 11 force
no shutdown
Example 2-12 displays the running configuration information for a specified interface. The interface
configuration commands are grouped together.
2-26
Chapter 2
Configuring Interfaces
Fibre Channel Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Example 2-12 Displays the Running Configuration for a Specified Interface
switch# show running-config interface fc1/1
interface fc9/1
switchport speed 2000
switchport mode E
channel-group 11 force
no shutdown
Example 2-13 displays the running configuration after the system default switchport mode F command
is executed. Example 2-14 displays the running configuration after two interfaces are individually
configured for mode FL.
Example 2-13 Displays the Running Configuration After the System Default Switchport Mode F
Command is Executed
switch# show running-config
version 3.1(3)
system default switchport mode F
interface fc4/1
interface fc4/2
interface fc4/3
interface fc4/4
interface fc4/5
interface fc4/6
interface fc4/7
interface fc4/8
interface fc4/9
interface fc4/10
Example 2-14 Displays the Running Configuration After Two Interfaces Are Individually Configured for
Mode FL
switch# show running-config
version 3.1(3)
system default switchport mode F
interface fc4/1
switchport mode FL
interface fc4/2
interface fc4/3
switchport mode FL
interface fc4/4
interface fc4/5
interface fc4/6
interface fc4/7
interface fc4/8
interface fc4/9
interface fc4/1
Example 2-15 displays interface information in a brief format after the system default switchport mode
F command is executed. Example 2-16 displays interface information in a brief format after two
interfaces are individually configured for mode FL.
Example 2-15 Displays Interface Information in a Brief Format After the System Default Switchport
Mode F Command is Executed
switch# show interface brief
------------------------------------------------------------------------------Interface Vsan
Admin Admin
Status
SFP
Oper Oper
Port
Mode
Trunk
Mode Speed Channel
2-27
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Mode
(Gbps)
------------------------------------------------------------------------------fc4/1
1
F
-notConnected
swl
--fc4/2
1
F
-notConnected
swl
--fc4/3
1
F
-notConnected
swl
--fc4/4
1
F
-notConnected
swl
--fc4/5
1
F
-sfpAbsent
---fc4/6
1
F
-sfpAbsent
---fc4/7
1
F
-sfpAbsent
---fc4/8
1
F
-sfpAbsent
---fc4/9
1
F
-sfpAbsent
----
Example 2-16 Displays Interface Information in a Brief Format After Two Interfaces Are Individually
Configured for Mode FL
switch# show interface brief
------------------------------------------------------------------------------Interface Vsan
Admin Admin
Status
SFP
Oper Oper
Port
Mode
Trunk
Mode Speed Channel
Mode
(Gbps)
------------------------------------------------------------------------------fc4/1
1
FL
-notConnected
swl
--fc4/2
1
F
-notConnected
swl
--fc4/3
1
FL
-notConnected
swl
--fc4/4
1
F
-notConnected
swl
--fc4/5
1
F
-sfpAbsent
---fc4/6
1
F
-sfpAbsent
---fc4/7
1
F
-sfpAbsent
---fc4/8
1
F
-sfpAbsent
---fc4/9
1
F
-sfpAbsent
---fc4/10
1
F
-sfpAbsent
----
About TL Ports
TL port mode is not supported on the following:
2-28
Chapter 2
Configuring Interfaces
TL Ports for Private Loops
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Private loop devices refer to legacy devices that reside on arbitrated loops. These devices are not aware
of a switch fabric because they only communicate with devices on the same physical loop.
The legacy devices are used in Fibre Channel networks and devices outside the loop may need to
communicate with them. The communication functionality is provided through TL ports. See the About
Interface Modes section on page 2-3.
Follow these guidelines when configuring private loops:
Fabric devices must be in the same zone as private loop devices to be proxied to the private loop.
All devices on the loop are treated as private loops. You cannot mix private and public devices on
the loop if the configured port mode is TL.
Communication between a private initiator to a private target on the same private loop does not
invoke TL port services.
Table 2-6 lists the TL port translations supported in Cisco MDS 9000 Family switches. Figure 2-3 shows
examples of TL port translation support.
Table 2-6
Translation from
Translation to
Example
Private initiator
Private target
Private initiator
Private initiator
Private target
Private target
2-29
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 2-3
Private
target (T1)
NL port
N port
NL port
Private
loop
F port
Private
loop
Public
initiator (I2)
TL port
TL port
N port
F port
FL port
Public
target (3)
NL port
Public
loop
Public
initiator (I3)
91699
NL port
2-30
Chapter 2
Configuring Interfaces
TL Ports for Private Loops
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
The show tlport command displays the TL port interface configurations. This command provides a list
of all TL ports configured in a switch and shows the associated VSAN, the FC ID for the port (only
domain and area are valid), and the current operational state of the TL port (up or initializing). See
Example 2-17 through Example 2-20.
Example 2-17 Displays the TL Ports in All VSANs
switch# show tlport list
------------------------------Interface Vsan FC-ID
State
------------------------- -----fc1/16
1
0x420000 Init
fc2/26
1
0x150000 Up
TL ports allow a private device (devices that physically reside on the loop) to see a fabric device and
vice-versa by proxying fabric devices on the loop. Fabric devices are proxied by allocating each fabric
device an ALPA on this loop.
In addition to these proxied devices, other virtual devices (local or remote domain controller addresses)
are also allocated ALPAs on the loop. A switch reserves the ALPA for its own communication with
private devices, and the switch acts as a SCSI initiator.
The first column in the output of the show tlport interface command is the ALPA identity of the device
on the loop. The columns that follow include the port WWNs, the node WWNs for each device, the
device as a SCSI initiator or target, and the real FC ID of the device.
Example 2-18 Displays the Detailed Information for a Specific TL Port
switch# show tlport interface fc1/16 all
fc1/16 is up, vsan 1, FCID 0x420000
-------------------------------------------------------------------------------alpa pWWN
nWWN
SCSI Type Device FC-ID
-------------------------------------------------------------------------------0x01 20:10:00:05:30:00:4a:de 20:00:00:05:30:00:4a:de Initiator Proxied 0xfffc42
0x73 22:00:00:20:37:39:ae:54 20:00:00:20:37:39:ae:54 Target
Private 0x420073
0xef 20:10:00:05:30:00:4a:de 20:00:00:05:30:00:4a:de Initiator Switch 0x0000ef
2-31
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
Step 2
Step 3
The first entry indicates that if a device with a pWWN of 22:00:00:20:37:46:09:bd is exported on TL
port fc1/2, then the pWWN is allocated an alpa 0x02 (if available).
ESP trustsec-violation
2-32
Chapter 2
Configuring Interfaces
Configuring Port Guard
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Bit-errors
Signal loss
Sync loss
Link reset
Credit loss
To enable or disable the port guard for a port, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
Step 3
Step 4
Link down is the superset of all other causes. A port is brought to down state if the total number of other
causes equals to the number of allowed link-down failures.
This example shows how to configure port guard to bring a port to down state if the link flaps 5 times
within 120 seconds based on multiple causes:
Switch# config t
Switch (config)# interface fc1/1
Switch (config-if)# errdisable detect cause link-down num-times 5 duration 120
Switch (config-if)# errdisable detect cause bit-errors num-times 5 duration 120
2-33
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Switch (config-if)# errdisable detect cause credit-loss num-times 5 duration 120
Note
The port will be error-disabled due to bit errors if the port suffers link failure due to bit errors 5 times
in 120 seconds.
The port will be error-disabled due to credit loss if the port suffers link failure due to credit loss 5
times in 120 seconds.
The port will be error-disabled due to link down if the port suffers link failure due to bit errors 2
times and link-failure due to credit loss 3 times in 120 seconds.
Even if the link does not flap due to failure of the link, and port guard is not enabled, the port goes into
a down state if too many invalid FLOGI requests are received from the same host. Use the shut and the
no shut commands consecutively to bring up the link.
This example shows the internal information about a port in down state because of trustsec violation:
Switch# show port internal info interface fc8/3
fc8/3 is down (Error disabled - port down due to trustsec violation)
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 21:c3:00:0d:ec:10:57:80
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port vsan is 1
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
11274 frames input, 1050732 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
11242 frames output, 971900 bytes
0 discards, 0 errors
11 input OLS, 34 LRR, 10 NOS, 0 loop inits
72 output OLS, 37 LRR, 2 NOS, 0 loop inits
Interface last changed at Sun Nov 27 07:34:05 1988
admin port-down trustsec-violation(3) num_times 0, duration = 0
state reason(Error disabled - port down due to trustsec violation)
Port guard trustsec violation is Enabled
errdisabled on trustsec violation TRUE, oper cnt = 1
port guard first trustsec violation Sun Nov 27 07:34:05 1988
2-34
Chapter 2
Configuring Interfaces
Configuring Port Monitor
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
Step 2
Purpose
Step 1
switch# config t
Step 2
switch(config-port-monitor)# port-type
access-port
switch(config-port-monitor)# port-type
trunks
Step 3
2-35
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Step 4
Step 5
Command
Purpose
switch(config-port-monitor)# counter
{invalid-crc|invalid-words|link-loss|protoco
l-error|rx-performance|signal-loss|state-cha
nge|sync-loss|tx-performance|credit-loss-rec
o|tx-credit-not-available|lr-rx|lr-tx|timeou
t-discards|tx-discards} poll-interval
seconds absolute rising-threshold value1
event event-id1 falling-threshold value2
event event-id2
invalid-crcInvalid CRC
invalid-wordsInvalid words
link-lossLink loss
protocol-errorProtocol error
rx-performanceRx counter
signal-lossSignal loss
state-changeState change
sync-lossSync loss
tx-performanceTx counter
timeout-discardsTimeout discards
tx-discardsTx discards
switch(config-port-monitor)# counter
tx-credit-not-available poll-interval
seconds delta rising-threshold percentage1
event event-id1 falling-threshold
percentage2 event event-id2
switch(config-port-monitor)# no counter
{invalid-crc|invalid-words|link-loss|protoco
l-error|rx-performance|signal-loss|state-cha
nge|sync-loss|tx-performance|credit-loss-rec
o|tx-credit-not-available|lr-rx|lr-tx|timeou
t-discards|tx-discards}
switch(config-port-monitor)# no monitor
counter
{invalid-crc|invalid-words|link-loss|protoco
l-error|rx-performance|signal-loss|state-cha
nge|sync-loss|tx-performance|credit-loss-rec
o|tx-credit-not-available|lr-rx|lr-tx|timeou
t-discards|tx-discards}
tx-credit-not-availableAverage credit
non-available duration
2-36
Chapter 2
Configuring Interfaces
Configuring Port Monitor
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Default Policy
The default policy has the following threshold values:
Counter
Threshold
Type
Interval
(Seconds)
% Rising
Threshold
Event
% Falling
Threshold
Event
Link Loss
Absolute
60
Sync Loss
Absolute
60
Protocol Error
Absolute
60
Signal Loss
Absolute
60
Invalid Words
Absolute
60
Invalid CRCs
Absolute
60
RX Performance
Absolute
60
2147483648 4
524288000
TX Performance
Absolute
60
2147483648 4
524288000
TX Discards
Absolute
60
200
10
LR RX
Absolute
60
LR TX
Absolute
60
60
200
10
Absolute
60
TX Credit Not
Available
Delta
60
20
10
2-37
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
TX Performance
Delta
60
2147483648
4
524288000
4
Not enabled
Yes
TX Discards
Delta
60
200
4
10
4
Not enabled
Yes
LR RX
Delta
60
5
4
1
4
Not enabled
Yes
LR TX
Delta
60
5
4
1
4
Not enabled
Yes
Timeout Discards
Delta
60
200
4
10
4
Not enabled
Yes
Credit Loss Reco
Delta
60
4
4
1
4
Not enabled
Yes
TX Credit Not Available Delta
60
20
4
10
4
Not enabled
Yes
--------------------------------------------------------------------------------------------------
Purpose
Step 1
switch# config t
Step 2
2-38
Chapter 2
Configuring Interfaces
Configuring Port Monitor
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
TX Performance
Delta
60
2147483648
4
524288000
4
Yes
-----------------------------------------------------------------------------------------Policy Name : default
Admin status : Not Active
Oper status : Not Active
Port type
: All Ports
-----------------------------------------------------------------------------------------Counter
Threshold Interval Rising Threshold event Falling Threshold event In
Use
--------------- -------- ---------------- ----- ------------------ ----- ----Link Loss
Delta
60
5
4
1
4
Yes
Sync Loss
Delta
60
5
4
1
4
Yes
Protocol Error
Delta
60
1
4
0
4
Yes
Signal Loss
Delta
60
5
4
1
4
Yes
Invalid Words
Delta
60
1
4
0
4
Yes
Invalid CRC's
Delta
60
5
4
1
4
Yes
RX Performance
Delta
60
2147483648
4
524288000
4
Yes
TX Performance
Delta
60
2147483648
4
524288000
4
Yes
-----------------------------------------------------------------------------------------switch# show port-monitor active
Policy Name : sample
Admin status : Active
Oper status : Active
Port type
: All Access Ports
-----------------------------------------------------------------------------------------Counter
Threshold Interval Rising Threshold event Falling Threshold event In
Use
--------------- -------- ---------------- ----- ------------------ ----- ----Link Loss
Delta
60
5
4
1
4
Yes
Sync Loss
Delta
60
5
4
1
4
Yes
Protocol Error
Delta
60
1
4
0
4
Yes
Signal Loss
Delta
60
5
4
1
4
Yes
Invalid Words
Delta
60
1
4
0
4
Yes
Invalid CRC's
Delta
60
5
4
1
4
Yes
RX Performance
Delta
60
2147483648
4
524288000
4
Yes
TX Performance
Delta
60
2147483648
4
524288000
4
Yes
-----------------------------------------------------------------------------------------switch# show port-monitor sample
Policy Name : sample
Admin status : Active
Oper status : Active
Port type
: All Access Ports
-----------------------------------------------------------------------------------------Counter
Threshold Interval Rising Threshold event Falling Threshold event In
Use
--------------- -------- ---------------- ----- ------------------ ----- ----Link Loss
Delta
60
5
4
1
4
Yes
Sync Loss
Delta
60
5
4
1
4
Yes
Protocol Error
Delta
60
1
4
0
4
Yes
Signal Loss
Delta
60
5
4
1
4
Yes
Invalid Words
Delta
60
1
4
0
4
Yes
Invalid CRC's
Delta
60
5
4
1
4
Yes
RX Performance
Delta
60
2147483648
4
524288000
4
Yes
TX Performance
Delta
60
2147483648
4
524288000
4
Yes
------------------------------------------------------------------------------------------
2-39
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
Step 2
Purpose
Step 1
switch# config t
Step 2
switch(config-port-group-monitor)# counter
rx-performance poll-interval seconds delta
rising-threshold percentage1
falling-threshold percentage2
switch(config-port-group-monitor)# counter
tx-performance poll-interval seconds delta
rising-threshold percentage1
falling-threshold percentage2
switch(config-port-group-monitor)# no
counter tx-performance
Step 3
2-40
Chapter 2
Configuring Interfaces
Configuring Port Group Monitor
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Step 4
Command
Purpose
switch(config-port-group-monitor)# monitor
counter rx-performance
switch(config-port-group-monitor)# monitor
counter tx-performance
switch(config-port-group-monitor)# no
monitor counter tx-performance
1. See Reverting to the Default Policy for a Specific Counter, page 2-41.
2. See Default Policy, page 2-41
3. See Turning Off the Monitoring of a Specific Counter, page 2-42.
Default Policy
The default policy has the following threshold values:
Counter
Threshold Type
% Falling Threshold
RX Performance
Delta
60
80
20
TX Performance
Delta
60
80
20
2-41
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
Step 2
switch(config)# no port-group-monitor
activate policyname
2-42
Chapter 2
Configuring Interfaces
Configuring Port Group Monitor
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
2-43
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
About Slow Drain Device Detection and Congestion Avoidance, page 2-44
Configuring Average Credit Non-Available Duration Threshold and Action, page 2-47
Note
This feature is used mainly for edge ports that are connected to slow edge devices. Even though this
feature can be applied to ISLs as well, we recommend that you apply this feature only for edge F ports
and retain the default configuration for ISLs as E and TE ports. This feature is not supported on
Generation 1 modules.
2-44
Chapter 2
Configuring Interfaces
Configuring Slow Drain Device Detection and Congestion Avoidance
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
To configure the stuck frame timeout value, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
Note
The no-credit timeout value and stuck frame timeout value are interlinked. The no-credit timeout value
must always be greater than the stuck frame timeout value.
To configure the no-credit timeout value, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
2-45
Chapter 2
Configuring Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
To configure credit loss recovery threshold and action, refer to the Configuring Port Monitor section
on page 2-34.
The following example shows the credit loss recovery threshold and action configuration:
switch# show port-monitor
Policy Name : Cisco
Admin status : Active
Oper status : Active
Port type
: All Ports
--------------------------------------------------------------------------------------------------Counter
Threshold Interval Rising Threshold event Falling Threshold
event Portguard
In Use
--------------- -------- ---------------- ----- ---------------------- -------------Link Loss
Delta
60
5
4
1
4
Not enabled
Yes
Sync Loss
Delta
60
5
4
1
4
Not enabled
Yes
Protocol Error
Delta
60
1
4
0
4
Not enabled
Yes
Signal Loss
Delta
60
5
4
1
4
Not enabled
Yes
Invalid Words
Delta
60
1
4
0
4
Not enabled
Yes
Invalid CRC's
Delta
60
5
4
1
4
Not enabled
Yes
RX Performance
Delta
60
2147483648
4
524288000
4
Not enabled
Yes
TX Performance
Delta
60
2147483648
4
524288000
4
Not enabled
Yes
TX Discards
Delta
60
200
4
10
4
Not enabled
Yes
LR RX
Delta
60
5
4
1
4
Not enabled
Yes
LR TX
Delta
60
5
4
1
4
Not enabled
Yes
Timeout Discards
Delta
60
200
4
10
4
Not enabled
Yes
Credit Loss Reco
Delta
60
1
4
0
4
Not enabled
Yes
TX Credit Not Available Delta
60
10
4
0
4
Not enabled
Yes
--------------------------------------------------------------------------------------------------
The following default port monitor policy will be active when the switch comes up:
Policy Name : slowdrain
Admin status : Not Active
Oper status : Not Active
Port type
: All Ports
--------------------------------------------------------------------------------------------------Counter
Threshold Interval Rising Threshold event Falling Threshold
event Portguard
In Use
--------------- -------- ---------------- ----- ---------------------- -------------Credit Loss Reco
Delta
5
4
4
1
4
Not enabled
Yes
TX Credit Not Available Delta
1
20
4
10
4
Not enabled
Yes
2-46
Chapter 2
Configuring Interfaces
Management Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
--------------------------------------------------------------------------------------------------
Note
Management Interfaces
You can remotely configure the switch through the management interface (mgmt0). To configure a
connection on the mgmt0 interface, you must configure either the IP version 4 (IPv4) parameters (IP
address, subnet mask, and default gateway) or the IP version 6 (IPv6) parameters so that the switch is
reachable.
This section describes the management interfaces and includes the following topics:
Note
You need to explicitly configure a default gateway to connect to the switch and send IP packets or add a
route for each subnet.
2-47
Chapter 2
Configuring Interfaces
Management Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
Step 2
Step 3
Step 4
switch(config-if)# no shutdown
Step 5
switch(config-if)# exit
switch(config)#
Step 6
Step 7
switch(config)# exit
switch#
Step 8
To configure the mgmt0 Ethernet interface to connect over IPv6, follow these steps:
Command
Purpose
Step 1
Step 2
Step 3
Step 4
Step 5
switch(config-if)# no shutdown
Step 6
switch(config-if)# end
switch#
Step 7
2-48
Chapter 2
Configuring Interfaces
VSAN Interfaces
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Address is 000c.30d9.fdbc
Internet address is 10.16.1.2/24
MTU 1500 bytes, BW 100 Mbps full Duplex
26388 packets input, 6101647 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
10247 packets output, 2389196 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
0 carrier errors
VSAN Interfaces
VSANs apply to Fibre Channel fabrics and enable you to configure multiple isolated SAN topologies
within the same physical infrastructure. You can create an IP interface on top of a VSAN and then use
this interface to send frames to this VSAN. To use this feature, you must configure the IP address for
this VSAN. VSAN interfaces cannot be created for nonexisting VSANs.
This section describes VSAN interfaces and includes the following topics:
Tip
Create a VSAN before creating the interface for that VSAN. If a VSAN does not exist, the interface
cannot be created.
After configuring the VSAN interface, you can configure an IP address or Virtual Router Redundancy
Protocol (VRRP) feature (see the Cisco MDS 9000 Family NX-OS IP Services Configuration Guide).
Purpose
Step 1
switch# config t
Step 2
Step 3
switch(config-if)# no shutdown
2-49
Chapter 2
Configuring Interfaces
Default Settings
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Default Settings
Table 2-7 lists the default settings for interface parameters.
Table 2-7
Parameters
Default
Interface mode
Auto
Interface speed
Auto
Administrative state
Trunk mode
1 to 4093
Interface VSAN
Beacon mode
Off (disabled)
EISL encapsulation
Disabled
2112 bytes
2-50
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
This chapter describes how to configure these Fibre Channel interfaces, including the following sections:
Disabling ACL Adjacency Sharing for System Image Downgrade, page 3-35
3-1
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 3-1 identifies the Generation 2 and Generation 3 modules, as well as the Fabric switches.
Table 3-1
Part Number
Product Name/Description
Generation 3 Modules
DS-X9248-96K9
DS-X9224-96K9
DS-X9248-48K9
DS-13SLT-FAB2
Fabric 2 module that enables the 24-port and the 48-port 8-Gbps Fibre Channel
switching module to use the full 96-Gbps backplane bandwidth with
any-to-any connectivity.
Generation 2 Modules
DS-X9148
DS-X9124
DS-X9304-18K9
18-port 4-Gbps Fibre Channel switching module with 4-Gigabit Ethernet ports
DS-X9112
DS-X9704
DS-X9530-SF2-K9
DS-C9124
DS-C9222i-K9
Note
Generation 2 Fibre Channel switching modules are not supported on the Cisco MDS 9216 switch;
however, they are supported by both the Supervisor-1 module and the Supervisor-2 module.
For detailed information about the installation and specifications for these modules and switches, refer
to the hardware installation guide for your switch.
Dedicated Rate Mode Configurations for the 8-Gbps Modules, page 3-7
3-2
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Port Groups
Each module or switch can have one or more ports in port groups that share common resources such as
bandwidth and buffer credits. Port groups are defined by the hardware consisting of sequential ports. For
example, ports 1 through 12, ports 13 through 24, ports 25 through 36, and ports 37 through 48 are the
port groups on the 48-port 4-Gbps Fibre Channel switching modules.
Table 3-2 shows the port groups for the Generation 2 and Generation 3 Fibre Channel modules, and
Generation 2 Fabric switches.
Table 3-2
Bandwidth and Port Groups for the Fibre Channel Modules and Fabric Switches
Part Number
Product Name/
Description
Number of Ports
Per Port Group
Bandwidth Per
Port Group
(Gbps)
Maximum
Bandwidth Per Port
(Gbps)
Generation 3 Modules
DS-X9248-96K9
48-port 8-Gbps
Fibre Channel
switching module
12.8
8 Gbps
DS-X9224-96K9
24-port 8-Gbps
Fibre Channel
switching module
12.8
8 Gbps
DS-X9248-48K9
4/44-port 8-Gbps
Host-Optimized
Fibre Channel
switching module
12
12.8
8/4 Gbps 1
Generation 2 Modules
DS-X9148
48-port 4-Gbps
Fibre Channel
switching module
12
12.8
4 Gbps
DS-X9124
24-port 4-Gbps
Fibre Channel
switching module
12.8
4 Gbps
DS-X9304-18K9
18-port 4-Gbps
Fibre Channel
switching module
with 4-Gigabit
Ethernet ports
12.8
4 Gbps
DS-X9112
12-port 4-Gbps
Fibre Channel
switching module
12.8
4 Gbps
DS-X9704
4-port 10-Gbps
Fibre Channel
switching module
10
10 Gbps
(MSM-18/4
Multiservice
module)
3-3
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 3-2
Bandwidth and Port Groups for the Fibre Channel Modules and Fabric Switches
Part Number
DS-C9134-K9
(Cisco MDS 9134
Fabric switch)
DS-C9124K9
(Cisco MDS 9124
Fabric switch)
Product Name/
Description
Number of Ports
Per Port Group
Bandwidth Per
Port Group
(Gbps)
Maximum
Bandwidth Per Port
(Gbps)
32-port 4-Gbps
Fabric switch
16
4 Gbps
2-port 10-Gbps
Fabric switch
10
10 Gbps
24-port 4-Gbps
Fabric switch
16
4 Gbps
12.8
4 Gbps
DS-C9222i-K9
18-port 4-Gbps, 4
6
Gigabit Ethernet
(Cisco MDS 9222i
ports and a modular
Multiservice
expansion slot.
Modular switch)
1. A maximum of 4 ports (one per port group) in a 4/44-port 8-Gbps switching module can operate at 8 Gbps bandwidth in
dedicated or shared mode. All the other ports can operate at a maximum of 4 Gbps in shared mode or dedicated mode.
Dedicated Rate ModeA port is allocated required fabric bandwidth to sustain line traffic at the
maximum operating speed configured on the port. For more information, see the Dedicated Rate
Mode section on page 3-6.
Shared Rate ModeMultiple ports in a port group share data paths to the switch fabric and share
bandwidth. For more information, see the Shared Rate Mode section on page 3-7.
Note
In Generation 1 modules, you cannot configure the port rate modes. The mode is determined implicitly
based on the port mode and line card type.
Note
Port rate modes are not supported on the Cisco Fabric Switch for HP c-Class BladeSystem, and the Cisco
Fabric Switch for IBM BladeCenter.
3-4
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 3-3 shows the modules that support dedicated, shared, and the default rate modes.
Table 3-3
Port Rate Mode Support on Generation 2 and Generation 3 Modules and Switches
Part Number
Supports
Supports
Default Speed
Dedicated Rate Shared Rate Mode and Rate
Mode
Mode
Mode on All Ports
Product Name/
Description
Generation 3 Modules
DS-X9248-96K9
Yes
Yes1
Auto, Shared
DS-X9224-96K9
Yes
Yes1
Auto, Shared
DS-X9248-48K9
4/44-Port 8-Gbps
Host-Optimized Fibre
Channel switching module
Yes
Yes1
Generation 2 Modules
DS-X9148
Yes
Auto, Shared
DS-X9124
Yes
Yes
Auto, Shared
DS-X9304-18K9
Yes
Yes
Auto, Shared
DS-X9112
Yes
No
Auto, Dedicated
DS-X9704
Yes
No
Auto, Dedicated
Yes
Yes
Auto, Shared
Yes
No
Auto, Dedicated
Yes
No
Auto, Dedicated
Yes
18-port 4-Gbps Fibre
Channel switch with
4-Gigabit Ethernet IP
storage services ports, and
a modular expansion slot to
host Cisco MDS 9000
Family Switching and
Services Modules
Yes
Auto, Shared
(MSM-18/4
Multiservice
module)
Generation 2 Switches
DS-C9134-K9
(Cisco MDS 9134
Fabric switch)
DS-C9124
(Cisco MDS 9124
Fabric switch)
DS-C9222i-K9
(Cisco MDS 9222i
Multiservice
Modular switch)
3-5
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
2. All ports in a 48-port 4-Gbps switching module can operate in dedicated rate mode with a 1-Gbps operating speed. However,
if you configure one or more ports to operate in 2-Gbps or 4-Gbps dedicated rate mode, some of the other ports in the port
group would have to operate in shared mode.
3. All ports in a 24-port 4-Gbps switching module can operate in dedicated rate mode with a 2-Gbps operating speed. However,
if you configure one or more ports to operate in 4-Gbps dedicated rate mode, some of the other ports in the port group would
have to operate in shared mode
Configured Speed
Reserved Bandwidth
Auto
8 Gbps
8-Gbps
Auto with 4-Gbps maximum
4 Gbps
4-Gbps
Auto with 2-Gbps maximum
2 Gbps
2-Gbps
1-Gbps
1 Gbps
Table 3-5 show the amount of bandwidth reserved for a configured port speed on 4-Gbps switching
modules.
Table 3-5
Configured Speed
Reserved Bandwidth
Auto
4 Gbps
4-Gbps
Auto with 2-Gbps maximum
2 Gbps
2-Gbps
1-Gbps
Note
1 Gbps
The 4-Port 10-Gbps Fibre Channel module ports in auto mode only support auto speed mode at 10 Gbps.
3-6
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Part Number
DS-X9248-96K9
DS-X9224-96K9
DS-X9248-48K9
Dedicated
Bandwidth
per Port
Maximum
Allowed Ports
that can come up Ports in Shared Mode
8 Gbps
8 Ports
4 Gbps
24 Ports
2 Gbps
48 Ports
24-port 8-Gbps
Fibre Channel
switching module
8 Gbps
8 Ports
4 Gbps
24 Ports
4/44-port 8-Gbps
Host-Optimized
Fibre Channel
switching module
8 Gbps
4 Ports
4 Gbps
12 Ports
2 Gbps
24 Ports
1 Gbps
48 Ports
Product Name/
Description
48-port 8-Gbps
Fibre Channel
switching module
3-7
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Ports configured in dedicated rate mode are allocated the required bandwidth to sustain a line rate of
traffic at the maximum configured operating speed, and ports configured in shared mode share the
available remaining bandwidth within the port group. Bandwidth allocation among the shared mode
ports is based on the operational speed of the ports. For example, if four ports operating at speeds 1 Gbps,
1 Gbps, 2 Gbps, and 4 Gbps share bandwidth of 8 Gbps, the ratio of allocation would be 1:1:2:4.
Unutilized bandwidth from the dedicated ports is shared among only the shared ports in a port group as
per the ratio of the configured operating speed. A port cannot be brought up unless the reserved
bandwidth is quaranteed for the shared ports (see Table 3-9). For dedicated ports, configured bandwidth
is taken into consideration while calculating available bandwidth for the port group. This behavior can
be changed using bandwidth fairness by using the rate-mode bandwidth-fairness module number
command.
For example, consider a 48-port 8-Gbps module. This module has 6 ports per port group with 12.8 Gbps
bandwidth. Ports three to six are configured at 4 Gbps. If the first port is configured at 8 Gbps dedicated
rate mode, and the second port is configured at 4-Gbps dedicated rate mode, then no other ports can be
configured at 4 Gbps or 8 Gbps because the left over bandwidth of 0.8 Gbps (12.8-(8+4)) cannot meet
the required 0.96 Gbps for the remaining four ports. A minmum of 0.24 Gbps reserved bandwidth is
required for the for the rest of the four ports. However, if the two ports (for example, 5 and 6) are taken
out of service (note that it is not same as shut-down), required reserved bandwidth for the two ports (3
and 4) is 0.48 and port 2 can be configured at 4 Gbps in dedicated rate mode. Note this behavior can be
overridden by bandwidth fairness command in which case reserved bandwidth is not enforced. Once the
port is up, ports 3 and 4 can share the unutilized bandwidth from ports 1 and 2.
Out-of-Service Interfaces
On supported modules and fabric switches, you might need to allocate all the shared resources for one
or more interfaces to another interface in the port group or module. You can take interfaces out of service
to release shared resources that are needed for dedicated bandwidth. When an interface is taken out of
service, all shared resources are released and made available to the other interface in the port group or
module. These shared resources include bandwidth for the shared mode port, rate mode, BB_credits, and
extended BB_credits. All shared resource configurations are returned to their default values when the
interface is brought back into service. Corresponding resources must be made available in order for the
port to be successfully returned to service.
Caution
If you need to bring an interface back into service, you might disrupt traffic if you need to release shared
resources from other interfaces in the same port group.
MDS NX-OS Release 4.1(1) and later features are not supported on Generation 1 switches and
modules.
3-8
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
4-Port IP Storage Services module
8-Port IP Storage Services module
MDS 9216 Switch
MDS 9216A switch
MDS 9020 switch
MDS 9120 switch
MDS 9140 swtich
Note
Supervisor-1 modules must be upgraded to Supervisor-2 modules on the MDS 9506 and MDS 9509
Directors.
IPS-4 and IPS-8 modules must be upgraded to the MSM-18/4 Multiservice modules.
Fabric 1 modules must be upgraded to Fabric 2 modules on the MDS 9513 Director to use the
48-port or the 24-port 8-Gbps module.
When a Cisco or a other vendor switch port is connected to a Generation 1 module port (ISL
connection), the receive buffer-to-buffer credits of the port connected to the Generation 1 module port
must not exceed 255.
Port Indexes
Cisco MDS 9000 switches allocate index identifiers for the ports on the modules. These port indexes
cannot be configured. You can combine Generation 1, Generation 2, and Generation 3 switching
modules, with either Supervisor-1 modules or Supervisor-2 modules. However, combining switching
modules and supervisor modules has the following port index limitations:
Note
Supervisor-1 modules only support a maximum of 252 port indexes, regardless of the type of
switching modules.
Supervisor-2 modules support a maximum of 1020 port indexes when all switching modules in the
chassis are Generation 2 or Generation 3.
Supervisor-2 modules only support a maximum of 252 port indexes when only Generation 1
switching modules, or a combination of Generation 1, Generation 2, or Generation 3 switching
modules, are installed in the chassis.
On a switch with the maximum limit of 252 port index maximum limit, any new module that exceeds the
limit when installed does not power up.
You can use the show port index-allocation command to display the allocation of port indexes on the
switch.
switch# show port index-allocation
Module index distribution:
------------------------------------------------------+
Slot | Allowed |
Alloted indices info
|
| range | Total |
Index values
|
-----|---------|-------|------------------------------|
1
|
0- 255|
16 | 32-47
|
2
|
0- 255|
12 | 0-11
|
3
|
0- 255|
| (None)
|
3-9
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
4
7
8
9
SUP
|
|
|
|
|
0- 255|
0- 255|
0- 255|
0- 255|
----- |
|
|
|
|
|
(None)
(None)
(None)
(None)
253-255
|
|
|
|
|
Generation 1 switching modules have specific numbering requirements. If these requirements are not
met, the module does not power up. The port index numbering requirements include the following:
Note
If port indexes in the range of 256 to 1020 are assigned to operational ports, Generation 1 switching
modules do not power up.
A block of contiguous port indexes is available. If this block of port indexes is not available,
Generation 1 modules do not power up. Table 3-7 shows the port index requirements for the
Generation 1 modules.
If the switch has Supervisor-1 modules, the block of 32 contiguous port indexes must begin on the slot
boundary. The slot boundary for slot 1 is 0, for slot 2 is 32, and so on. For Supervisor-2 modules, the
contiguous block can start anywhere.
Table 3-7
Supervisor-1 Module
Supervisor-2 Module
16
16
32
32
32
32
32
16
32
32
32
22
The allowed mix of Generation 1 and Generation 2 switching modules in a chassis is determined at
run-time, either when booting up the switch or when installing the modules. In some cases, the sequence
in which switching modules are inserted into the chassis determines if one or more modules is powered
up. When a module does not power up because of a resource limitation, you can display the reason by
using the show module command.
switch# show module
Mod Ports Module-Type
--- ----- -------------------------------1
16
1/2 Gbps FC Module
2
12
1/2/4 Gbps FC Module
5
0
Supervisor/Fabric-2
Model
Status
------------------ -----------DS-X9016
ok
powered-dn
DS-X9530-SF2-K9
active *
MAC-Address(es)
--------------------------------------
Serial-Num
----------
3-10
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
1
2
5
00-0b-be-f7-4c-24 to 00-0b-be-f7-4c-28
00-05-30-01-a8-b2 to 00-05-30-01-a8-b6
00-05-30-01-aa-7e to 00-05-30-01-aa-82
JAB07030723
JAB090401AA
JAB091100TF
The running configuration is updated when modules are installed. If you save the running configuration
to the startup configuration (using the copy running-config startup-config command), during reboot
the switch powers up the same set of modules as before the reboot regardless of the sequence in which
the modules initialize. You can use the show port index-allocation startup command to display the
index allocation the switch uses at startup.
switch# show port index-allocation startup
Startup module index distribution:
------------------------------------------------------+
Slot | Allowed |
Alloted indices info
|
| range | Total |
Index values
|
-----|---------|-------|------------------------------|
1
| ----- |
34 | 0-31,80-81
|
2
| ----- |
32 | 32-63
|
3
| ----- |
16 | 64-79
|(Slot 1 shares 80-81)
4
| ----- |
48 | 96-127,224-239
|
SUP | 253-255 |
3
| 253-255
|
Note
The output of the show port index-allocation startup command does not display anything in the
Allowed range column because the command extracts the indices from the persistent storage service
(PSS) and displaying an allowed range for startup indices is meaningless.
If a module fails to power up, you can use the show module slot recovery-steps command to display
the reason. For information on recovering a module powered-down because port indexes are not
available, refer to the Cisco MDS 9000 Family Troubleshooting Guide, Release 3.x.
Tip
Whenever using mixed Generation 1 and Generation 2 modules, power up the Generation 1 modules
first. During a reboot of the entire switch, the Generation 1 modules power up first (default behavior).
PortChannels
PortChannels have the following restrictions:
Note
The maximum number of PortChannels allowed is 256 if all switching modules are Generation 2 or
Generation 3, or both.
The maximum number of PortChannels allowed is 128 whenever there is a Generation 1 switching
module in use with a Generation 2 or Generation 3 switching module.
Ports need to be configured in dedicated rate mode on the Generation 2 and Generation 3 switching
module interfaces to be used in the PortChannel.
The number of PortChannels allowed does not depend on the type of supervisor module. However,
Generation 3 modules require the Supervisor 2 module on the MDS 9506 and 9509 switches.
3-11
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
The Generation1, Generation 2, and Generation 3 modules have the following restrictions for
PortChannel configuration:
Note
Generation 1 switching module interfaces do not support auto speed with a maximum of 2 Gbps.
Generation 1 and Generation 2 module interfaces do not support auto speed with maximum of 4
Gbps.
Before adding a Generation 2 or Generation 3 interface to a PortChannel, use the show port-resources
module command to check for resource availability.
When configuring PortChannels on switches with Generation 1, Generation 2, and Generation 3
switching modules, follow one of these procedures:
Configure the PortChannel, and then configure the Generation 2 and Generation 3 interfaces to auto
with a maximum of 2 Gbps.
Configure the Generation 1 switching modules followed by the Generation 2 switching modules, and
then the Generation 3 switching modules, and then configure the PortChannel.
When configuring PortChannels on switches with only Generation 2 and Generation 3 switching
modules, follow one of these procedures:
Configure the PortChannel, and then configure the Generation 3 interfaces to auto with a maximum
of 4 Gbps.
Configure the Generation 2 switching modules, followed by the Generation 3 switching modules,
and then configure the PortChannel.
Table 3-8 describes the results of adding a member to a PortChannel for various configurations.
3-12
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 3-8
PortChannel
Members
Configured Speed
PortChannel
New Member
No members
Any
Any
Generation 1 or Force
Generation 2 or
Generation 3
Pass
Auto
Auto
Pass
Auto
Generation 1
interfaces
Generation 2
interfaces
New Member
Type
Auto
Auto
Addition Type
Generation 2 or Normal
Generation 3
Force
Auto
Auto
Auto
Result
Fail
Pass or
fail 1
Fail
Pass
Generation 2 or
Generation 3
Generation 2 or Normal
Generation 3
Force
Pass
Pass
Auto
Generation 1
Normal or force
Auto
Generation 2 or Normal
Generation 3
Force
Fail
Fail
Pass or
fail 1
Auto
Generation 1 or
Generation 2
Auto
Generation 3
Auto
Auto
Generation 1
Normal or force
Fail
Auto
Generation 1
Normal or force
Pass
Auto
Generation 2 or Normal
Generation 3
Force
Auto
Fail
Pass
Fail
Pass
3-13
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 3-8
PortChannel
Members
Configured Speed
PortChannel
New Member
New Member
Type
Addition Type
Result
Generation 3
interfaces
Auto
Auto
Generation 1
Normal or force
Fail
Auto
Generation 1
Normal or force
Pass
Auto
Generation 2
Normal
Fail
Force
Pass
Normal
Fail
Force
Pass
Normal
Fail
Force
Pass
Normal
Fail
Force
Pass
Auto
Auto max 2000
Auto
Generation 3
Use the show port-channel compatibility parameters command to obtain information about
PortChannel addition errors.
Configuration Guidelines for 48-Port, 24-Port, and 4/44-Port 8-Gbps Fibre Channel Switching
Modules, page 3-15
Configuration Guidelines for 48-Port and 24-Port 4-Gbps Fibre Channel Switching Modules,
page 3-17
Configuration Guidelines for 12-Port 4-Gbps Switching Module Interfaces, page 3-18
Configuration Guidelines for 4-Port 10-Gbps Switching Module Interfaces, page 3-18
3-14
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
This example shows the capabilities of a Generation 2 Fibre Channel interface:
switch# show interface fc 9/1 capabilities
Min Speed is 1 Gbps
Max Speed is 4 Gbps
FC-PH Version (high, low)
Receive data field size (max/min)
Transmit data field size (max/min)
Classes of Service supported are
Class 2 sequential delivery
Class 3 sequential delivery
Hold time (max/min)
BB state change notification
Maximum BB state change notifications
Rate Mode change
Rate Mode Capabilities
Receive BB Credit modification supported
FX mode Receive BB Credit (min/max/default)
ISL mode Receive BB Credit (min/max/default)
Performace buffer modification supported
Out of Service capable
Beacon mode configurable
(0,6)
(2112/256) bytes
(2112/128) bytes
Class 2, Class 3, Class F
supported
supported
(100/1) micro sec
supported
14
supported
Shared
yes
(1/16/16)
-no
Dedicated
yes
(1/250/16)
(2/250/250)
no
yes
yes
This example shows the capabilities of an interface on the 48-port 8-Gbps Fibre Channel switching
module:
switch# show interface fc 4/1 capabilities
Min Speed is 1 Gbps
Max Speed is 8 Gbps
FC-PH Version (high, low)
Receive data field size (max/min)
Transmit data field size (max/min)
Classes of Service supported are
Class 2 sequential delivery
Class 3 sequential delivery
Hold time (max/min)
BB state change notification
Maximum BB state change notifications
Rate Mode change
Rate Mode Capabilities
Receive BB Credit modification supported
FX mode Receive BB Credit (min/max/default)
ISL mode Receive BB Credit (min/max/default)
Performance buffer modification supported
Out of Service capable
Beacon mode configurable
Extended B2B credit capable
(0,6)
(2112/256) bytes
(2112/128) bytes
Class 2, Class 3, Class F
supported
supported
(100000/1) micro sec
supported
14
supported
Shared
yes
(1/32/32)
-no
Dedicated
yes
(1/500/32)
(2/500/250)
no
yes
yes
yes
3-15
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Extended BB_credits
Take unused interfaces out of service to release resources for other interfaces, if necessary.
See the Taking Interfaces Out of Service section on page 3-33.
2.
Configure the traffic speed to use (1 Gbps, 2 Gbps, 4 Gbps, 8 Gbps, or autosensing with a maximum
of 2 Gbps or 4 Gbps).
See the Configuring Port Speed section on page 3-19.
3.
4.
Note
5.
Take unused interfaces out of service to release resources for other interfaces, if necessary.
See the Taking Interfaces Out of Service section on page 3-33.
2.
3.
Note
4.
3-16
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
5.
Configure the traffic speed (1 Gbps, 2 Gbps, 4 Gbps, 8 Gbps, or autosensing with a maximum of 2
Gbps or 4 Gbps) to use.
See the Configuring Port Speed section on page 3-19.
Extended BB_credits
Take unused interfaces out of service to release resources for other interfaces, if necessary.
See the Taking Interfaces Out of Service section on page 3-33.
2.
Configure the traffic speed to use (1 Gbps, 2 Gbps, 4 Gbps, or autosensing with a maximum of
2 Gbps or 4 Gbps).
See the Configuring Port Speed section on page 3-19.
3.
4.
Note
5.
Take unused interfaces out of service to release resources for other interfaces, if necessary.
See the Taking Interfaces Out of Service section on page 3-33.
2.
3-17
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
3.
Note
4.
5.
Configure the traffic speed (1 Gbps, 2 Gbps, 4 Gbps, or autosensing with a maximum of 2 Gbps or
4 Gbps) to use.
See the Configuring Port Speed section on page 3-19.
Extended BB_credits
Performance buffers
To configure 4-port 10-Gbps switching modules when starting with the default configuration, follow
these guidelines:
1.
Configure the traffic speed (1 Gbps, 2 Gbps, 4 Gbps, or autosensing with a maximum of 2 Gbps or
4 Gbps) to use.
See the Configuring Port Speed section on page 3-19.
2.
3.
Note
If you change the port bandwidth reservation parameters on a 48-port or 24-port module, the change
affects only the changed port. No other ports in the port group are affected.
Extended BB_credits
Performance buffers
3-18
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Use the following guidelines to configure 4-port 10-Gbps switching modules when starting with the
default configuration:
1.
2.
Note
Caution
The Generation 2, 4-port 10-Gbps switching module supports 10-Gbps traffic only.
On Generation 3, 8-Gbps modules, setting the port speed to auto enables autosensing, which
negotiates to a maximum speed of 8 Gbps.
On Generation 2, 4-Gbps modules, setting the port speed to auto enables autosensing, which
negotiates to a maximum speed of 4 Gbps.
Changing port speed and rate mode disrupts traffic on the port. Traffic on other ports in the port group
is not affected.
To configure the port speed on an interface on a 4-Gbps or 8-Gbps switching module, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
3-19
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Step 3
Command
Purpose
1. The 8000 and auto max 4000 speed configurations are available only for the 8-Gbps modules.
2. The default speed on 48-port and 24-port 4-Gbps modules is 4000. The defualt speed on 48-port and 24-port 8-Gbps modules is 8000.
The default speed on the 4/44-port 8-Gbps module is auto max 4000.
Use the show interface command to verify the port speed configuration for an interface on a 4-Gbps or
8-Gbps Fibre Channel switching module.
switch# show interface fc 9/1
fc9/1 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 22:01:00:05:30:01:9f:02
Admin port mode is F
snmp traps are enabled
Port mode is F, FCID is 0xeb0002
Port vsan is 1
Speed is 2 Gbps
Rate mode is shared
Transmit B2B Credit is 64
Receive B2B Credit is 16
Receive data field Size is 2112
Beacon is turned off
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
226 frames input, 18276 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
326 frames output, 21364 bytes
0 discards, 0 errors
0 input OLS, 0 LRR, 1 NOS, 0 loop inits
3 output OLS, 2 LRR, 0 NOS, 0 loop inits
3-20
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
16 receive B2B credit remaining
64 transmit B2B credit remaining
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
Caution
Changing port speed and rate mode disrupts traffic on the port.
Use show port-resources module command to verify the rate mode configuration for interfaces on a
48-port or 24-port 4-Gbps, or any 8-Gbps Fibre Channel switching module.
This example shows the port rate mode configuration for interfaces on a 4-Gbps module:
switch# show port-resources module 9
Module 9
Available dedicated buffers are 5400
Port-Group 1
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc9/1
16
4.0 shared
fc9/2
16
4.0 shared
fc9/3
16
4.0 shared
fc9/4
16
4.0 shared
fc9/5
16
4.0 shared
fc9/6
16
4.0 shared
3-21
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Port-Group 2
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc9/7
16
4.0 shared
fc9/8
16
4.0 shared
fc9/9
16
4.0 shared
fc9/10
16
4.0 shared
fc9/11
16
4.0 shared
fc9/12
16
4.0 shared
Port-Group 3
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc9/13
16
4.0 shared
fc9/14
16
4.0 shared
fc9/15
16
4.0 shared
fc9/16
16
4.0 shared
fc9/17
16
4.0 shared
fc9/18
16
4.0 shared
Port-Group 4
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc9/19
16
4.0 shared
fc9/20
16
4.0 shared
fc9/21
16
4.0 shared
fc9/22
16
4.0 shared
fc9/23
16
4.0 shared
fc9/24
16
4.0 shared
This example shows the port rate mode configuration for interfaces on a 48-port 8-Gbps module:
switch# show port-resource module 4
Module 4
Available dedicated buffers for global buffer #0 [port-groups 1-4] are 5016
Available dedicated buffers for global buffer #1 [port-groups 5-8] are 5016
Port-Group 1
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/1
32
8.0 shared
fc4/2
32
8.0 shared
fc4/3
32
8.0 shared
3-22
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
fc4/4
fc4/5
fc4/6
32
32
32
8.0
8.0
8.0
shared
shared
shared
Port-Group 2
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/7
32
8.0 shared
fc4/8
32
8.0 shared
fc4/9
32
8.0 shared
fc4/10
32
8.0 shared
fc4/11
32
8.0 shared
fc4/12
32
8.0 shared
Port-Group 3
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/13
32
8.0 shared
fc4/14
32
8.0 shared
fc4/15
32
8.0 shared
fc4/16
32
8.0 shared
fc4/17
32
8.0 shared
fc4/18
32
8.0 shared
Port-Group 4
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/19
32
8.0 shared
fc4/20
32
8.0 shared
fc4/21
32
8.0 shared
fc4/22
32
8.0 shared
fc4/23
32
8.0 shared
fc4/24
32
8.0 shared
Port-Group 5
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/25
32
8.0 shared
fc4/26
32
8.0 shared
fc4/27
32
8.0 shared
fc4/28
32
8.0 shared
fc4/29
32
8.0 shared
fc4/30
32
8.0 shared
3-23
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Port-Group 6
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/31
32
8.0 shared
fc4/32
32
8.0 shared
fc4/33
32
8.0 shared
fc4/34
32
8.0 shared
fc4/35
32
8.0 shared
fc4/36
32
8.0 shared
Port-Group 7
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/37
32
8.0 shared
fc4/38
32
8.0 shared
fc4/39
32
8.0 shared
fc4/40
32
8.0 shared
fc4/41
32
8.0 shared
fc4/42
32
8.0 shared
Port-Group 8
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc4/43
32
8.0 shared
fc4/44
32
8.0 shared
fc4/45
32
8.0 shared
fc4/46
32
8.0 shared
fc4/47
32
8.0 shared
fc4/48
32
8.0 shared
This example shows the port rate mode configuration for interfaces on a 4/44-port 8-Gbps module:
switch# show port-resources module 7
Module 7
Available dedicated buffers are 3888
Port-Group 1
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc7/1
32
4.0 shared
fc7/2
32
4.0 shared
fc7/3
32
4.0 shared
fc7/4
32
4.0 shared
3-24
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
fc7/5
fc7/6
fc7/7
fc7/8
fc7/9
fc7/10
fc7/11
fc7/12
32
32
32
32
32
32
32
32
4.0
4.0
4.0
4.0
4.0
4.0
4.0
4.0
shared
shared
shared
shared
shared
shared
shared
shared
Port-Group 2
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc7/13
32
4.0 shared
fc7/14
32
4.0 shared
fc7/15
32
4.0 shared
fc7/16
32
4.0 shared
fc7/17
32
4.0 shared
fc7/18
32
4.0 shared
fc7/19
32
4.0 shared
fc7/20
32
4.0 shared
fc7/21
32
4.0 shared
fc7/22
32
4.0 shared
fc7/23
32
4.0 shared
fc7/24
32
4.0 shared
Port-Group 3
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc7/25
32
4.0 shared
fc7/26
32
4.0 shared
fc7/27
32
4.0 shared
fc7/28
32
4.0 shared
fc7/29
32
4.0 shared
fc7/30
32
4.0 shared
fc7/31
32
4.0 shared
fc7/32
32
4.0 shared
fc7/33
32
4.0 shared
fc7/34
32
4.0 shared
fc7/35
32
4.0 shared
fc7/36
32
4.0 shared
Port-Group 4
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc7/37
32
4.0 shared
fc7/38
32
4.0 shared
fc7/39
32
4.0 shared
fc7/40
32
4.0 shared
fc7/41
32
4.0 shared
3-25
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
fc7/42
fc7/43
fc7/44
fc7/45
fc7/46
fc7/47
fc7/48
32
32
32
32
32
32
32
4.0
4.0
4.0
4.0
4.0
4.0
4.0
shared
shared
shared
shared
shared
shared
shared
Ratios enabled
Maximum
Bandwidth
Ratios disabled (Gbps)
48-Port 8-Gbps
Fibre Channel
Module
Auto 8 Gbps
0.36
0.2
0.24
0.1
0.12
0.05
24-Port 8-Gbps
Fibre Channel
Module
Auto 8 Gbps
0.8
0.8
0.4
0.4
0.2
0.2
4/44-Port
8-Gbps
Host-Optimized
Fibre Channel
Module
8 Gbps
0.87
0.16
0.436
0.08
0.218
0.04
1 Gbps
0.109
0.02
48-port 4-Gbps
Fibre Channel
switching
module
Auto 4 Gbps
0.8
0.09
0.4
0.045
1 Gbps
0.2
0.0225
24-port 4-Gbps
Fibre Channel
switching
module
Auto 4 Gbps
0.27
0.5
0.135
1 Gbps
0.25
0.067
Switching
Module
All ports in the 48-port and 24-port 4-Gbps modules can be configured to operate at 4 Gbps in shared
mode even if other ports in the port group are configured in dedicated mode, regardless of available
bandwidth. However, when oversubscription ratio restrictions are enabled, you may not have all shared
4-Gbps module ports operating at 4 Gbps.
3-26
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
All ports in the 48-port and 24-port 8-Gbps modules can be configured to operate at 8 Gbps in shared
mode even if other ports in the port group are configured in dedicated mode, regardless of available
bandwidth. However, when oversubscription ratio restrictions are enabled you may not have all shared
8-Gbps module ports operating at 8 Gbps.
On the 48-port and 24-port 8-Gbps modules, if you have configured one 8-Gbps dedicated port in one
port group, no other ports in the same port group can be configured to operate at 8-Gbps dedicated mode.
You can have any number of 8-Gbps shared and 4-Gbps dedicated or shared ports. On the 4/44-port
8-Gbps module, only one port per port group can be configured in 8-Gbps dedicated or shared mode.
In the following example, a 24-port 4-Gbps module has oversubscription ratios enabled and three
dedicated ports in one port group operating at 4-Gbps. No other ports in the same port group can be
configured to operate at 4 Gbps.
switch# show port-resources module 8
Module 8
Available dedicated buffers are 5478
Port-Group 1
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 0.8 Gbps
Allocated dedicated bandwidth is 12.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc8/1
16
4.0 dedicated
fc8/2
16
4.0 dedicated
fc8/3
16
4.0 dedicated
fc8/4 (out-of-service)
fc8/5 (out-of-service)
fc8/6 (out-of-service)
For dedicated ports, oversubscription ratio restrictions do not apply to the shared pool in port groups. So
if oversubscription ratio restrictions are disabled, and you have configured three 4-Gbps dedicated ports
in one port group, then you can configure all other ports in the same port group to operate at a shared
rate of 4 Gbps. In the following example, a 24-port module has a group of six ports, three dedicated ports
are operating at 4 Gbps, and three shared ports operating at 4 Gbps:
switch# show port-resources module 8
Module 8
Available dedicated buffers are 5382
Port-Group 1
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 0.8 Gbps
Allocated dedicated bandwidth is 12.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc8/1
16
4.0 dedicated
fc8/2
16
4.0 dedicated
fc8/3
16
4.0 dedicated
fc8/4
16
4.0 shared
fc8/5
16
4.0 shared
fc8/6
16
4.0 shared
Port-Group 2
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 0.8 Gbps
Allocated dedicated bandwidth is 12.0 Gbps
3-27
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc8/7
16
4.0 dedicated
fc8/8
16
4.0 dedicated
fc8/9
16
4.0 dedicated
fc8/10
16
4.0 shared
fc8/11
16
4.0 shared
fc8/12
16
4.0 shared
...
When disabling restrictions on oversubscription ratios, all ports in shared mode on 48-port and 24-port
4-Gbps or any 8-Gbps Fibre Channel switching modules must be shut down. When applying restrictions
on oversubscription ratios, you must take shared ports out of service.
Note
When restrictions on oversubscription ratios are disabled, the bandwidth allocation among the shared
ports is proportionate to the configured speed. If the configured speed is auto on Generation 2 modules,
then bandwidth is allocated assuming a speed of 4 Gbps. For example, if you have three shared ports
configured at 1, 2, and 4 Gbps, then the allocated bandwidth ratio is 1:2:4.
As of Cisco SAN-OS Release 3.0 and NX-OS Release 4.1(1) or when restrictions on oversubscription
ratios are enabled, the port bandwidths are allocated in equal proportions, regardless of port speed, so,
the bandwidth allocation for the same three ports mentioned in the example would be 1:1:1.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# no rate-mode
oversubscription-limit module 1
Step 3
switch(config)# exit
Step 4
Use the show running-config command to view oversubscription ratios for a module. If
oversubscription ratios are enabled, then no restriction appears in the output.
Example 3-1
3-28
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
no rate-mode oversubscription-limit module 2
interface fc2/1
switchport speed 2000
interface fc2/1
...
To disable restrictions on oversubscription ratios, you must shut down any shared ports. Use the show
port-resources command to view the configuration on a module and to identify shared ports.
switch# show port-resources module 2
Module 2
Available dedicated buffers are 4656
Port-Group 1
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc2/1
16
4.0 shared
fc2/2
16
4.0 shared
fc2/3
16
4.0 dedicated
fc2/4
16
4.0 shared
fc2/5
16
4.0 shared
fc2/6
16
4.0 dedicated
fc2/7
16
4.0 dedicated
fc2/8
16
4.0 shared
fc2/9
16
4.0 shared
fc2/10
16
4.0 shared
fc2/11
16
4.0 shared
fc2/12
16
4.0 shared
...
Port-Group 4
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc2/37
16
4.0 shared
fc2/38
16
4.0 shared
fc2/39
16
4.0 dedicated
fc2/40
16
4.0 dedicated
fc2/41
16
4.0 dedicated
fc2/42
16
4.0 shared
fc2/43
16
4.0 shared
fc2/44
16
4.0 shared
fc2/45
16
4.0 shared
fc2/46
16
4.0 shared
fc2/47
16
4.0 shared
fc2/48
16
4.0 shared
3-29
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Step 2
Shut down all shared ports for which you want to remove restrictions on oversubscription ratios.
switch (config)# interface fc2/1-2, fc2/4-5, fc2/8-38, fc2/43-48
switch (config-if)# shutdown
Step 3
Display the interface status to confirm the shutdown of all shared ports.
switch(config-if)# end
switch# show interface brief
------------------------------------------------------------------------------Interface Vsan
Admin Admin
Status
SFP
Oper Oper
Port
Mode
Trunk
Mode Speed Channel
Mode
(Gbps)
------------------------------------------------------------------------------fc2/1
1
FX
-down
swl
--fc2/2
1
FX
-down
swl
--fc2/3
1
T
-up
swl
--fc2/4
1
FX
-down
swl
--fc2/5
1
FX
-down
swl
--fc2/6
1
TE
-up
swl
--fc2/7
1
TE
-up
swl
--fc2/8
1
FX
-down
swl
--...
fc2/48
1
FX
-down
sw1
---
Step 4
Step 5
Bring up the ports that you shut down in step 2, and display their status to confirm that they are no longer
shut down.
switch(config)# interface fc2/1-2, fc2/4-5, fc2/8-38, fc2/43-48
switch(config-if)# no shutdown
switch(config-if)# end
switch# show interface brief
------------------------------------------------------------------------------Interface Vsan
Admin Admin
Status
SFP
Oper Oper
Port
Mode
Trunk
Mode Speed Channel
Mode
(Gbps)
------------------------------------------------------------------------------fc2/1
1
FX
-up
swl
--fc2/2
1
FX
-up
swl
--fc2/3
1
T
-up
swl
--fc2/4
1
FX
-up
swl
--fc2/5
1
FX
-up
swl
--fc2/6
1
TE
-up
swl
--fc2/7
1
TE
-up
swl
--fc2/8
1
FX
-up
swl
--...
fc2/48
1
FX
-up
sw1
---
Step 6
Confirm that the ports are now operating with no restrictions on oversubscription ratios.
switch# show running-config | include oversubscription-limit
no rate-mode oversubscription-limit module 2 <---indicates no restrictions on
oversubscrption ratios
Step 7
3-30
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
switch# copy running-config startup-config
You must enable restrictions on oversubscription ratios before you can downgrade modules to a previous
release.
Before enabling restrictions on oversubscription ratios, ensure that you have explicitly configured shared
ports to out-of-service mode. To enable restrictions on oversubscription ratios on a 48-port or 24-port
4-Gbps, or any 8-Gbps Fibre Channel switching module, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
switch(config-if)# shutdown
Step 4
switch(config-if)# out-of-service
Step 5
Step 6
switch# config t
switch(config)# interface fc2/1-2,
fc2/4-5, fc2/8-38, fc2/43-48
switch(config-if)# no out-of-service
switch(config-if)# no shutdown
Step 7
switch(config)# exit
Step 8
3-31
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Caution
When you disable or enable bandwidth fairness, the change does not take effect until you reload the
module.
Use the show module bandwidth-fairness command to check whether ports in a module are operating
with bandwidth fairness enabled or disabled.
switch# show module 2 bandwidth-fairness
Module 2 bandwidth-fairness is enabled
Note
This feature is supported only on the 48-port and 24-port 4-Gbps modules, the 8-Gbps modules, and the
18/4-port Multiservice Module (MSM).
Purpose
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# rate-mode
bandwidth-fairness module 1
Step 3
switch(config)# exit
If you disable bandwidth fairness, up to a 20 percent increase in internal bandwidth allocation is possible
for each port group; however, bandwidth fairness is not guaranteed when there is a mix of shared and
full-rate ports in the same port group.
To disable bandwidth fairness on a switching module, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# no rate-mode
bandwidth-fairness module 1
Step 3
switch(config)# exit
3-32
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
After the downgrade, any insertion of a module or module reload will have bandwidth fairness disabled.
Note
Caution
Note
The interface must be disabled using a shutdown command before it can be taken out of service.
Taking interfaces out of service releases all the shared resources to ensure that they are available to other
interfaces. This causes the configuration in the shared resources to revert to default when the interface
is brought back into service. Also, an interface cannot come back into service unless the default shared
resources for the port are available. The operation to free up shared resources from another port is
disruptive.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
switch(config-if)# no channel-group
Step 4
switch(config-if)# shutdown
Step 5
switch(config-if)# out-of-service
Putting an interface into out-of-service will
cause its shared resource configuration to
revert to default
Do you wish to continue(y/n)? [n] y
Use the show port-resources module command to verify the out-of-service configuration for interfaces
on a Generation 2 and Generation 3 switching module.
3-33
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
This example shows a 24-port 4-Gbps module:
switch# show port-resources module 9
Module 9
Available dedicated buffers are 5429
Port-Group 1
Total bandwidth is 12.8 Gbps
Total shared bandwidth is 12.8 Gbps
Allocated dedicated bandwidth is 0.0 Gbps
-------------------------------------------------------------------Interfaces in the Port-Group
B2B Credit Bandwidth Rate Mode
Buffers
(Gbps)
-------------------------------------------------------------------fc9/1
16
4.0 shared
fc9/2 (out-of-service)
fc9/3
16
4.0 shared
fc9/4
16
4.0 shared
fc9/5
16
4.0 shared
fc9/6
16
4.0 shared
...
Note
Caution
Releasing shared resources disrupts traffic on the port. Traffic on other ports in the port group is not
affected.
To release the shared resources for a port group, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
switch(config-if)# no channel-group
Step 4
switch(config-if)# shutdown
3-34
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Command
Purpose
Step 5
switch(config-if)# out-of-service
Putting an interface into out-of-service will
cause its shared resource configuration to
revert to default
Do you wish to continue(y/n)? [n] y
Step 6
switch(config-if)# no out-of-service
To reenable Fibre Channel ACL adjacency sharing on your switch, enter the following command in
EXEC mode:
switch# system acl-adjacency-sharing
low-warning
3-35
Chapter 3
Example Configurations
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
...
Example Configurations
This section describes example configurations and includes the following sections:
Configuring a 48-Port 8-Gbps Fibre Channel Switching Module Example, page 3-36
Configuring a 24-Port 8-Gbps Fibre Channel Switching Module Example, page 3-37
Configuring a 4/44-Port 8-Gbps Fibre Channel Switching Module Example, page 3-37
Configuring a 24-Port 4-Gbps Fibre Channel Switching Module Example, page 3-38
Configuring a 48-Port 4-Gbps Fibre Channel Switching Module Example, page 3-39
Step 2
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed 8000
switch(config-if)# switchport rate-mode shared
switch(config-if)# switchport mode f
Step 3
Step 4
Step 5
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed auto max 4000
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport mode f
Step 6
Step 7
Step 8
Configure the port speed, rate mode, and port mode on the interfaces.
3-36
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
switch(config-if)# switchport speed auto max 4000
switch(config-if)# switchport rate-mode shared
switch(config-if)# switchport mode f
Step 9
Step 2
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed 8000
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport mode f
Step 3
Step 4
Step 5
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed 8000
switch(config-if)# switchport rate-mode shared
switch(config-if)# switchport mode f
Step 6
3-37
Chapter 3
Example Configurations
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
switch(config)# interface fc 4/11 - 12
Step 2
Step 3
Step 4
Step 5
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed 8000
switch(config-if)# switchport rate-mode shared
switch(config-if)# switchport mode f
Step 6
Step 7
Step 8
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed auto max 4000
switch(config-if)# switchport rate-mode shared
switch(config-if)# switchport mode f
Step 9
Step 2
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed 4000
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport mode e
3-38
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Step 3
Step 4
Step 5
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed 1000
switch(config-if)# switchport rate-mode shared
switch(config-if)# switchport mode f
Step 6
Step 2
Step 3
Step 4
Step 5
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed auto max 2000
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport mode e
Step 6
Step 7
3-39
Chapter 3
Default Settings
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
switch# config t
switch(config)# interface fc 4/7 - 10
Step 8
Configure the port speed, rate mode, and port mode on the interfaces.
switch(config-if)# switchport speed 1000
switch(config-if)# switchport rate-mode shared
switch(config-if)# switchport mode f
Step 9
Default Settings
Table 3-10 lists the default settings for Generation 2 interface parameters.
Table 3-10
Default
Parameter
48-Port 4-Gbps
Switching Module
24-Port 4-Gbps
Switching Module
12-Port 4-Gbps
Switching Module
4-Port 10-Gbps
Switching Module
Speed mode
auto
auto 1
auto 1
auto 1
Rate mode
shared
shared
dedicated
dedicated
auto 3
Port mode
Fx
Fx
auto
BB_credit
buffers
16
16
250
250
Performance
buffers
145 4
145 5
Table 3-11 lists the default settings for Generation 3 interface parameters.
Table 3-11
Default
Parameter
48-Port 8-Gbps
Switching Module
24-Port 8-Gbps
Switching Module
4/44-Port 8-Gbps
Host-Optimized Switching
Module
Speed mode
auto
auto 1
auto_max_4G 1
Rate mode
shared
shared
shared
3-40
Chapter 3
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 3-11
Default
Parameter
48-Port 8-Gbps
Switching Module
24-Port 8-Gbps
Switching Module
4/44-Port 8-Gbps
Host-Optimized Switching
Module
Port mode
Fx
Fx
Fx
BB_credit buffers
32
32
32
1. Auto_max_4G speed mode on the 4/44-port 8-Gbps switching module negotiates to a maximum speed of
4 Gbps.
3-41
Chapter 3
Default Settings
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
3-42
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
For 16-port switching modules and full rate ports, the default value is 16 for Fx mode and 255 for
E or TE modes. The maximum value is 255 in all modes. This value can be changed as required.
For 32-port switching modules and host-optimized ports, the default value is 12 for Fx, E, and TE
modes. These values cannot be changed.
For Generation 2 and Generation 3 switching modules, see the Buffer Pools section on page 4-3.
4-1
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
In the Cisco MDS 9100 Series, the groups of ports on the left outlined in white are in dedicated rate
mode. The other ports are host-optimized. Each group of 4 host-optimized ports have the same features
as for the 32-port switching module.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
Step 4
Note
This example shows the output of the show int fc1/1 command:
intfc1/1 is up
...
16 receive B2B credit remaining
3 transmit B2B credit remaining
Performance buffers are not supported on the Cisco MDS 9124 Fabric Switch, the Cisco Fabric Switch
for HP c-Class BladeSystem, and the Cisco Fabric Switch for IBM BladeCenter.
4-2
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Regardless of the configured receive BB_credit value, additional buffers (called performance buffers)
improve switch port performance. Instead of relying on the built-in switch algorithm, you can manually
configure the performance buffer value for specific applications (for example, forwarding frames over
FCIP interfaces).
For each physical Fibre Channel interface in any switch in the Cisco MDS 9000 Family, you can specify
the amount of performance buffers allocated in addition to the configured receive BB_credit value.
The default performance buffer value is 0. If you use the default option, the built-in algorithm is used.
If you do not specify this command, the default option is automatically used.
Purpose
Step 1
switch# config t
Step 2
Step 3
switch(config-if)# switchport
fcrxbbcredit performance-buffers 45
switch(config-if)# switchport
fcrxbbcredit performance-buffers default
Note
Use the show interface bbcredit command to display performance buffer values and other BB_credit
information.
Buffer Pools
In the architecture of Generation 2 and Generation 3 modules, receive buffers shared by a set of ports
are called buffer groups. The receive buffer groups are organized into global and local buffer pools.
The receive buffers allocated from the global buffer pool to be shared by a port group are called a global
recieve buffer pool. Global receive buffer pools include the following buffer groups:
Note
Allocated BB_credit buffers for each Fibre Channel interface (user configured or assigned by
default)
Common unallocated buffer pool for BB_credits, if any, to be used for additional BB_credits as
needed
Performance buffers (only used on 12-port 4-Gbps and 4-port 10-Gbps switching modules)
The 48-port and 24-port 8-Gbps modules have dual global buffer pools. Each buffer pool in the 48-port
modules support 24 ports and in the 24-port modules each buffer pool supports 12 ports.
4-3
Chapter 4
Buffer Pools
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 4-1 shows the allocation of BB_credit buffers on line cards (24-port and 48-port 4-Gbps line
cards).
Figure 4-1
Maximim Receive
buffers
185164
Total BB_credit
buffers
Figure 4-2 shows the default BB_credit buffer allocation model for 48-port 8-Gbps switching modules.
The minimum BB_credits required to bring up a port is two buffers.
Figure 4-2
48-port module
Mixed
Dedicated
1 Gbps
250 BB credits
All ports
dedicated (2 Gbps)
250 BB credits
2 Gbps
250 BB credits
Shared
32 BB credits
4 Gbps
250 BB credits
8 Gbps
250 BB credits
189048
All ports
shared (8 Gpbs)
32 BB credits
4-4
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 4-3 shows the default BB_credit buffer allocation model for 24-port 8-Gbps switching modules.
The minimum BB_credits required to bring up a port is two buffers.
Figure 4-3
24-port module
All ports
shared (8 Gpbs)
32 BB credits
All ports
dedicated (2 Gbps)
500 BB credits
Mixed
1 Gbps
500 BB credits
2 Gbps
500 BB credits
8 Gbps
500 BB credits
4 Gbps
500 BB credits
189047
Shared
32 BB credits
Dedicated
Figure 4-4 shows the default BB_credit buffer allocation model for 4/44-port 8-Gbps host-optimized
switching modules. The minimum BB_credits required to bring up a port is two buffers.
Figure 4-4
4/44-port module
All ports
shared (8 Gpbs)
32 BB credits
Mixed
2 Gbps
250 BB credits
4 Gbps
250 BB credits
8 Gbps
125 BB credits
189049
Shared
32 BB credits
Dedicated
1 Gbps
250 BB credits
All ports
dedicated (2 Gbps)
125 BB credits
4-5
Chapter 4
Buffer Pools
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 4-5 shows the default BB_credit buffer allocation model for 24-port 4-Gbps switching modules.
The minimum BB_credits required to bring up a port is two buffers.
Figure 4-5
24-port module
Dedicated
1 Gbps
250 BB credits
Note
All ports
dedicated (2 Gbps)
250 BB credits
Mixed
2 Gbps
250 BB credits
Shared
16 BB credits
4 Gbps
250 BB credits
144856
All ports
shared (4 Gpbs)
16 BB credits
The default BB_credit buffer allocation is the same for all port speeds.
4/44-Port 8-Gbps Host-Optimized Fibre Channel Module BB_Credit Buffers, page 4-9
18-Port Fibre Channel/4-Port Gigabit Ethernet Multiservice Module BB_Credit Buffers, page 4-13
When you configure port mode to auto or E on a Generation 3 module, one or two of the ports will not
come up for the following configuration:
4-6
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Port Mode: auto or E for the first half of the ports, the second half of the ports or for all of the ports
When you configure port mode to auto or E for all ports in the global buffer pool, you need to reconfigure
buffer credits on one or more of the ports. The total number of buffer credits configured for all the ports
in the global buffer pool should be reduced by 64.
ISL
Fx Port
Fx Port
250
32
32
500
500
32
6000
Ports 25 through 48
6000
The following guidelines apply to BB_credit buffers on 48-port 8-Gbps Fibre Channel switching
modules:
BB_credit buffers allocated for ports 1 through 24 and 25 through 48 can be a maximum of 6000
each so that the load is distributed.
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 500 buffers for dedicated rate mode.
BB_credit buffers for Fx port mode connections can be configured. The minimum is 2 buffers and
the maximum of 500 buffers for dedicated rate mode or 32 buffers for shared rate mode.
Each port group on the 48-port 8-Gbps Fibre Channel switching module consists of six ports. The ports
in shared rate mode in a port group can have a maximum bandwidth oversubscription of 10:1 considering
that each port group has 12.8-Gbps bandwidth.
The following example configurations are supported by the 48-port 8-Gbps Fibre Channel switching
modules:
Six ports with shared rate mode and 8-Gbps speed (4:1 oversubscription) (default)
One port with dedicated rate mode and 8-Gbps speed plus
five ports with shared rate mode and 8-Gbps speed (10:1 oversubscription)
Two ports with dedicated rate mode and 4-Gbps speed plus
four ports with shared rate mode and 4-Gbps speed (4:1 oversubscription)
4-7
Chapter 4
Buffer Pools
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
One port with dedicated rate mode and 4-Gbps speed plus
three ports with dedicated rate mode and 2-Gbps speed plus
two ports with shared rate mode and 4-Gbps speed (4:1 oversubscription)
ISL
500
500
Fx Port
Fx Port
32
32
500
32
6000
Ports 13 through 24
6000
1. When connected to Generation 1 modules, reduce the maximum BB_credit allocation to 250.
The following guidelines apply to BB_credit buffers on 24-port 8-Gbps Fibre Channel switching
modules:
BB_credit buffers allocated for ports 1 through 12 and 13 through 24 can be a maximum of 6000
each so that the load is distributed.
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 500 buffers for dedicated rate mode.
BB_credit buffers for Fx port mode connections can be configured. The minimum is 2 buffers and
the maximum of 500 buffers for dedicated rate mode or 32 buffers for shared rate mode.
Each port group on the 24-port 8-Gbps Fibre Channel switching module consists of three ports. The ports
in shared rate mode in a port group can have a maximum bandwidth oversubscription of 10:1 considering
that each port group has 12.8-Gbps bandwidth.
The following example configurations are supported by the 24-port 8-Gbps Fibre Channel switching
modules:
Three ports with shared rate mode and 8-Gbps speed (2:1 oversubscription) (default)
One port with dedicated rate mode and 8-Gbps speed plus
two ports with shared rate mode and 8-Gbps speed (4:1 oversubscription)
One port with dedicated rate mode and 8-Gbps speed plus
one port with dedicated rate mode and 4-Gbps speed plus
one port with shared rate mode and 8-Gbps speed (10:1 oversubscription)
Two ports with dedicated rate mode and 4-Gbps speed plus
one port with shared rate mode and 8-Gbps speed (2:1 oversubscription)
4-8
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
ISL
Fx Port
Fx Port
125
32
32
250
250
32
6000
The following guidelines apply to BB_credit buffers on 4/44-port 8-Gbps Fibre Channel switching
modules:
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 500 buffers for dedicated rate mode.
BB_credit buffers for Fx port mode connections can be configured. The minimum is 2 buffers and
the maximum of 250 buffers for dedicated rate mode or 32 buffers for shared rate mode.
Each port group on the 24-port 8-Gbps Fibre Channel switching module consists of 12 ports. The ports
in shared rate mode in a port group can have a maximum bandwidth oversubscription of 10:1 considering
that each port group has 12.8-Gbps bandwidth.
The following example configurations are supported by the 4/44-port 8-Gbps Fibre Channel switching
modules:
Twelve ports with shared rate mode and 4-Gbps speed (5:1 oversubscription) (default)
One port with dedicated rate mode and 8-Gbps speed plus
eleven ports with shared rate mode and 4-Gbps speed (10:1 oversubscription)
One port with dedicated rate mode and 4-Gbps speed plus
three ports with dedicated rate mode and 3-Gbps speed plus
eight ports with shared rate mode and 4-Gbps speed (2:1 oversubscription)
4-9
Chapter 4
Buffer Pools
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
ISL1
Fx Port
Fx Port
125
16
16
250
250
16
6000
The following considerations apply to BB_credit buffers on 48-port 4-Gbps Fibre Channel switching
modules:
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 250 buffers for dedicated rate mode or 16 buffers for shared rate mode.
BB_credit buffers for Fx port mode connections can be configured. The minimum is 2 buffers and
the maximum of 250 buffers for dedicated rate mode or 16 buffers for shared rate mode.
Each port group on the 48-port 4-Gbps Fibre Channel switching module consists of 12 ports. The ports
in shared rate mode have bandwidth oversubscription of 2:1 by default. However, some configurations
of the shared ports in a port group can have maximum bandwidth oversubscription of 4:1 (considering
that each port group has 12.8-Gbps bandwidth).
The following example configurations are supported by the 48-port 4-Gbps Fibre Channel switching
modules:
Twelve ports with shared rate mode and 4-Gbps speed (4:1 oversubscription) (default)
One port with dedicated rate mode and 4-Gbps speed plus
11 ports with shared rate mode and 4-Gbps speed (5:1 oversubscription)
One port with dedicated rate mode and 4-Gbps speed plus
11 ports with shared rate mode and 2-Gbps speed (2.5:1 oversubscription)
Two ports with dedicated rate mode and 2-Gbps speed plus
10 ports with shared rate mode and 4-Gbps speed (5:1 oversubscription)
Two ports with dedicated rate mode and 2-Gbps speed plus
10 ports with shared rate mode and 2-Gbps speed (2.5:1 oversubscription)
Three ports with dedicated rate mode and 4-Gbps speed plus
four ports with shared rate mode and 1-Gbps speed plus
five ports put out-of-service (see Figure 4-6)
4-10
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
11
4-Gbps
4-Gbps
1-Gbps
1-Gbps
Dedicated
Dedicated
Shared
Shared
Out of
Service
Out of
Service
10
12
4-Gbps
1-Gbps
1-Gbps
Dedicated
Shared
Shared
Out of
Service
Out of
Service
Out of
Service
Six ports with dedicated rate mode and 2-Gbps speed plus
four ports with shared rate mode and 1-Gbps speed plus
two ports put out-of-service (see Figure 4-7)
For detailed configuration steps of this example, see Configuring a 48-Port 4-Gbps Fibre Channel
Switching Module Example section on page 3-39.
Figure 4-7
2-Gbps
2-Gbps
2-Gbps
1-Gbps
1-Gbps
Dedicated
Dedicated
Dedicated
Shared
Shared
10
2-Gbps
2-Gbps
2-Gbps
1-Gbps
1-Gbps
Dedicated
Dedicated
Dedicated
Shared
Shared
11
Out of
Service
12
Out of
Service
144859
Note
144858
Figure 4-6
4-11
Chapter 4
Buffer Pools
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
ISL1
Fx Port
Fx Port
250
16
16
250
250
16
6000
The following considerations apply to BB_credit buffers on 24-port 4-Gbps Fibre Channel switching
modules:
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 250 buffers for dedicated rate mode or 16 buffers for shared rate mode.
BB_credit buffers for Fx port mode connections can be configured. The minimum is 2 buffers and
the maximum of 250 buffers for dedicated rate mode or 16 buffers for shared rate mode.
Each port group on the 24-port 4-Gbps Fibre Channel switching module consists of six ports. The ports
in shared rate mode have a bandwidth oversubscription of 2:1 by default. However, some configurations
of the shared ports in a port group can have a maximum bandwidth oversubscription of 4:1 (considering
that each port group has 12.8-Gbps bandwidth).
The following example configurations are supported by the 24-port 4-Gbps Fibre Channel switching
modules:
Note
Six ports with shared rate mode and 4-Gbps speed (2:1 oversubscription) (default)
Two ports with dedicated rate mode and 4-Gbps speed plus
four ports with shared rate mode and 4-Gbps speed (with 4:1 oversubscription)
One port with dedicated rate mode and 4-Gbps speed plus
three ports with dedicated rate mode and 2-Gbps speed plus
two ports with shared rate mode and 4-Gbps speed (4:1 oversubscription)
Three ports with dedicated rate mode and 4-Gbps speed plus
three ports with shared rate mode and 1-Gbps speed (see Figure 4-8)
For detailed configuration steps of this example, see the Configuring a 24-Port 4-Gbps Fibre Channel
Switching Module Example section on page 3-38.
4-12
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Example Speed and Rate Configuration on a 24-Port 4-Gbps Switching Module
4-Gbps
4-Gbps
4-Gbps
1-Gbps
1-Gbps
1-Gbps
Dedicated
Dedicated
Dedicated
Shared
Shared
Shared
144857
Figure 4-8
ISL1
Fx Port
ISL1
Fx Port
250
16
16
16
250
250
16
16
4509
The following considerations apply to BB_credit buffers on18-port 4-Gbps Fibre Channel switching
modules:
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 250 buffers for dedicated rate mode or 16 buffers for shared rate mode.
BB_credit buffers for Fx port mode connections can be configured. The minimum is 2 buffers and
the maximum of 250 buffers for dedicated rate mode or 16 buffers for shared rate mode.
ISL 1
Fx Port
250
16
250
16
145
12
4-13
Chapter 4
Buffer Pools
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 4-7
ISL 1
5488
512 (shared)
Fx Port
The following considerations apply to BB_credit buffers on 12-port 4-Gbps switching modules:
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 250 buffers.
BB_credit buffers for Fx port mode connections can be configured from a minimum of 2 buffers to
a maximum of 250 buffers.
By default, 512 performance buffers are preallocated and are shared by all the ports. These buffers
are configurable and the buffers are assigned to the port based on the availability of the buffers in
the shared pool.
There are 2488 extra buffers available as extended BB_credit buffers after allocating all the default
BB_credit buffers for all the ports in ISL mode (5488 - (250 * 12)).
Note
Note
Extended BB_credits are allocated across all ports on the switch. That is, they are not allocated
by port group.
By default, the ports in the 12-port 4-Gbps switching modules come up in 4-Gbps dedicated rate mode
but can be configured as 1-Gbps and 2-Gbps dedicated rate mode. Shared mode is not supported.
4-14
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
ISL1
F port 2
250
16
750
16
4095
5488
145
512 (shared)
12
Note
The ports in the 4-port 10-Gbps switching module only support 10-Gbps dedicated rate mode. FL port
mode and shared rate mode are not supported.
The following considerations apply to BB_credit buffers on 4-port 10-Gbps switching modules:
BB_credit buffers for ISL connections can be configured from a minimum of 2 buffers to a
maximum of 750 buffers.
BB_credit buffers for Fx port mode connections can be configured from a minimum of 2 buffers to
a maximum of 750 buffers.
By default, 512 performance buffers are preallocated and are shared by all the ports. These buffers
are configurable and the buffers are assigned to the port based on the availability of the buffers in
the shared pool.
There are 2488 extra buffers available as extended BB_credits after allocating all the default
BB_credit buffers for all the ports in ISL mode (5488 - (750 * 4)).
Note
Extended BB_credits are allocated across all ports on the switch. That is, they are not allocated
by port group.
4-15
Chapter 4
Buffer Pools
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Cisco MDS 9222i Multiservice Modular Switch BB_Credit Buffers, page 4-16
BB_Credit
Buffers Per
Port Group
64
Fx Port
61
61
64
64
64
64
16
16
BB_Credit
Buffers Per
Port Group
64
64
Fx Port
61
61
16
16
4-16
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 4-11
BB_Credit
Buffers Per
Port Group
4509
Fx Port
250
16
Extended BB_credits are not supported on the Cisco MDS 9124 Fabric Switch, Cisco MDS 9134 Fabric
Switch, the Cisco Fabric Switch for HP c-Class BladeSystem, and the Cisco Fabric Switch for IBM
BladeCenter.
To facilitate BB_credits for long-haul links, the extended BB_credits feature allows you to configure the
receive buffers above the maximum value on all Generation 2 and Generation 3 switching modules.
When necessary, you can reduce the buffers on one port and assign them to another port, exceeding the
default maximum. The minimum extended BB_credits per port is 256 and the maximum is 4095.
In general, you can configure any port in a port group to dedicated rate mode. To do this, you must first
release the buffers from the other ports before configuring larger extended BB_credits for a port.
Note
The ENTERPRISE_PKG license is required to use extended BB_credits on Generation 2 and Generation
3 switching modules. Also, extended BB_credits are not supported by ports in shared rate mode.
All ports on the Generation 2 and Generation 3 switching modules support extended BB_credits. There
are no limitations for how many extended BB_credits you can assign to a port (except for the maximum
and minimum limits). If necessary, you can take interfaces out of service to make more extended
BB_credits available to other ports.
You can use the extended BB_credits flow control mechanism in addition to BB_credits for long-haul
links.
This section includes the following topics:
Obtain the ENTERPRISE_PKG license (see the Cisco MDS 9000 Family NX-OS Licensing Guide).
4-17
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Configure this feature in any port of the full-rate 4-port group in either the Cisco MDS 9216i Switch
or in the MPS-14/2 module (see Figure 4-9).
Figure 4-9
10
11
12
13
2
LINK-
14
GIGABIT E THERNET
STATUS
LINK
SPEED
Group 1
LINK
SPEED
Group 2
LINK
SPEED
Group 3
Extended credits
not supported
120479
The port groups that support extended credit configurations are as follows:
Any one port in ports 1 to 4 (identified as Group 1).
Any one port in ports 5 to 8 (identified as Group 2).
Any one port in ports 9 to 12 (identified as Group 3).
Note
The last two Fibre Channel ports (port 13 and port 14) and the two Gigabit Ethernet ports
do not support the extended BB_credits feature.
Disable the remaining three ports in the 4-port group if you need to assign more than 2,400
BB_credits to the first port in the port group.
If you assign less than 2,400 extended BB_credits to any one port in a port group, the remaining
three ports in that port group can retain up to 255 BB_credits based on the port mode.
Note
The receive BB_credit value for the remaining three ports depends on the port mode.
The default value is 16 for the Fx mode and 255 for E or TE modes. The maximum value
is 255 in all modes. This value can be changed as required without exceeding the
maximum value of 255 BB_credits.
If you assign more than 2,400 (up to a maximum of 3,500) extended BB_credits to the port in
Note
Be aware that changing the BB_credit value results in the port being disabled and then reenabled.
Disable (explicitly) this feature if you need to nondisruptively downgrade to Cisco SAN-OS Release
1.3 or earlier. When you disable this feature, the existing extended BB_credit configuration is
completely erased.
The extended BB_credit configuration takes precedence over the receive BB_credit and performance
buffer configurations.
Obtain the Enterprise package (ENTERPRISE_PKG) license (see the NX-OS Family Licensing
Guide).
4-18
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
Configure this feature in any port on a Generation 2 switch module. See the About Extended
BB_Credits section on page 4-17 for more information on extended BB_credits on Generation 2
switching modules.
Extended BB_credits are not supported on the Cisco MDS 9124 Fabric Switch, Cisco MDS 9134 Fabric
Switch, the Cisco Fabric Switch for HP c-Class BladeSystem, and the Cisco Fabric Switch for IBM
BladeCenter.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
Step 4
switch(config-if)# no switchport
fcrxbbcredit extended 1500
Step 5
4-19
Chapter 4
To use the BB_SC_N field during PLOGI or FLOGI, follow these steps:
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
For Generation 2 and Generation 3 modules, the BB_SCN on ISLs (E or TE ports) is enabled by default.
This can fail the ISLs if used with optical equipment using distance extension (DE), also known as
buffer-to-buffer credit spoofing.
On Gen-2 module, one port will not come up for the following configuration for all ports:
On Gen-3 module, one or two ports will not come up for the following configuration for first half of the
ports, the second half of the ports or all ports:
Port Mode: auto or E for the first half of the ports, the second half of the ports, or for all of the ports
When you configure port mode to auto or E and rate-mode to dedicated for all ports in the global buffer
pool, you need to reconfigure buffer credits on one or more ports (other than default).
Note
If you use distance extension (buffer-to-buffer credit spoofing) on ISLs between switches, the BB_SCN
parameter on both sides of the ISL needs to be disabled.
To use the BB_SC_N field during PLOGI or FLOGI, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
4-20
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
To configure the receive data field size, follow these steps:
Command
Purpose
Step 1
switch# config t
Step 2
Step 3
Example 4-2
4-21
Chapter 4
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
4-22
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
Configuring Trunking
This chapter describes the trunking feature provided in Cisco MDS 9000 switches. It includes the
following sections:
About Trunking
Trunking, also known as VSAN trunking, is a feature specific to switches in the Cisco MDS 9000
Family. Trunking enables interconnect ports to transmit and receive frames in more than one VSAN, over
the same physical link. Trunking is supported on E ports and F ports. (See Figure 5-1 and Figure 5-2).
This section includes the following topics:
5-1
Chapter 5
Configuring Trunking
About Trunking
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Trunking E Ports
Trunking the E ports enables interconnect ports to transmit and receive frames in more than one VSAN,
over the same physical link, using enhanced ISL (EISL) frame format.
Trunking E Ports
Any other
switch
Switch 1
ISL
E port
Switch 1
Switch 2
EISL
E port
TE port
TE port
79938
Figure 5-1
Trunking
Note
Trunking is not supported by internal ports on both the Cisco Fabric Switch for HP c_Class BladeSystem
and the Cisco Fabric Switch for IBM BladeCenter.
Trunking F Ports
Trunking F ports allows interconnected ports to transmit and receive tagged frames in more than one
VSAN, over the same physical link. Figure 5-2 represents the possible trunking scenarios in a SAN with
MDS core switches, NPV switches, third-party core switches, and HBAs.
Figure 5-2
Trunking F Ports
MDS Core
Switch
TF
EPP
NP
TN
4
EPP
EVFP
1a
TF
EVFP
HB A
EPP
TNP
TNP
NPV Switch
TNP
F
TF
1b
N
TN
HB A
HB A
192090
EVFP
5-2
Chapter 5
Configuring Trunking
Trunking Guidelines and Restrictions
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Link Number
Link Description
1a and 1b
Key Concepts
The trunking feature includes the following key concepts:
TE portIf trunk mode is enabled in an E port and that port becomes operational as a trunking E
port, it is referred to as a TE port.
TF portIf trunk mode is enabled in an F port (see the link 2 in Figure 5-2) and that port becomes
operational as a trunking F port, it is referred to as a TF port.
TN portIf trunk mode is enabled (not currently supported) in an N port (see the link 1b in
Figure 5-2) and that port becomes operational as a trunking N port, it is referred to as a TN port.
TNP portIf trunk mode is enabled in an NP port (see the link 2 in Figure 5-2) and that port
becomes operational as a trunking NP port, it is referred to as a TNP port.
TF PortChannelIf trunk mode is enabled in an F PortChannel (see the link 4 in Figure 5-2) and
that PortChannel becomes operational as a trunking F PortChannel, it is referred to as TF
PortChannel. Cisco Port Trunking Protocol (PTP) is used to carry tagged frames.
TF-TN port linkA single link can be established to connect an F port to an HBA to carry tagged
frames (see the link 1a and 1b in Figure 5-2) using Exchange Virtual Fabrics Protocol (EVFP). A
server can reach multiple VSANs through a TF port without inter-VSAN routing (IVR).
TF-TNP port linkA single link can be established to connect an TF port to an TNP port using the
PTP protocol to carry tagged frames (see the link 2 in Figure 5-2). PTP is used because PTP also
supports trunking PortChannels.
Note
The TF-TNP port link between a third-party NPV core and a Cisco NPV switch is
established using the EVFP protocol.
A Fibre Channel VSAN is called Virtual Fabric and uses a VF_ID in place of the VSAN ID. By
default, the VF_ID is 1 for all ports. When an N port supports trunking, a PWWN is defined for each
VSAN and called as logical PWWN. In the case of MDS core switches, the PWWNs for which the
N port requests additional FC_IDs are called virtual PWWNs.
5-3
Chapter 5
Configuring Trunking
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
The trunk-allowed VSANs configured for TE, TF, and TNP links are used by the trunking protocol
to determine the allowed active VSANs in which frames can be received or transmitted.
If a trunking enabled E port is connected to a third-party switch, the trunking protocol ensures
seamless operation as an E port.
Trunking F ports and trunking F PortChannels are not supported on the following hardware:
91x4 switches, if NPIV is enabled and used as the NPIV core switch.
Generation 1 2-Gbps Fibre Channel switching modules.
On core switches, the FC-SP authentication will be supported only for the physical FLOGI from the
physical PWWN.
MDS does not enforce the uniqueness of logical PWWNs across VSANs.
The DPVM feature is limited to the control of the port VSAN, since the EVFP protocol does not
allow changing the VSAN on which a logical PWWN has done FLOGI.
The port security configuration will be applied to both the first physical FLOGI and the per VSAN
FLOGIs.
On MDS 91x4 core switches, hard zoning can be done only on F ports that are doing either NPIV
or trunking. However, in NPV mode, this restriction does not apply since zoning is enforced on the
core F port.
VSAN Mismatch
Switch 1
Switch 2
Isolated
E port
VSAN 3
VSAN mismatch
85471
E port
VSAN 2
In this example, the trunking protocol detects potential VSAN merging and isolates the ports involved.
The trunking protocol cannot detect merging of VSANs when a third-party switch is placed in between
two Cisco MDS 9000 Family switches (see Figure 5-4).
5-4
Chapter 5
Configuring Trunking
Trunking Guidelines and Restrictions
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 5-4
Switch 1
VSAN 3
E port
Switch 2
Switch 3
85472
Third-party switches
VSAN 2
E port
VSAN 2 and VSAN 3 are effectively merged with overlapping entries in the name server and the zone
applications. The Cisco MDS 9000 Fabric Manager helps detect such topologies. Refer to the Cisco MDS
9000 Family Fabric Manager Configuration Guide.
When F port trunking or channeling is configured on a link, the switch cannot be downgraded to
Cisco MDS SAN-OS Release 3.x and NX-OS Release 4.1(1b), or earlier.
Affect of an Upgrade on the EVFP Isolated VSANIf you are upgrading from a SAN-OS Release
3.x to NX-OS Release 4.1(3a), and you have not created VSAN 4079, the NX-OS software will
automatically create VSAN 4079 and reserve it for EVFP use.
If VSAN 4079 is reserved for EVFP use, the switchport trunk allowed vsan command will filter
out VSAN 4079 from the allowed list, as shown in the following example:
switch(config-if)# switchport trunk allowed vsan 1-4080
1-4078,4080
switch(config-if)#
If you have created VSAN 4079, the upgrade to NX-OS Release 4.1(3a) will have no affect onVSAN
4079.
If you downgrade after NX-OS Release 4.1(3a) creates VSAN 4079 and reserves it for EVFP use,
the VSAN will no longer be reserved.
5-5
Chapter 5
Configuring Trunking
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
B2B State Change Number is 14
Receive data field Size is 2112
Beacon is turned off
Trunk vsans (admin allowed and active)
Trunk vsans (up)
Trunk vsans (isolated)
Trunk vsans (initializing)
(1,100-101,1101,1163-1166,1216,2172,2182-2183)
(1,1101,1163-1166,1216,2172,2182-2183)
(100-101)
()
In case of TF ports, after the handshake, one of the allowed VSAN will be moved to up state. And all
other VSAN will be in initializing state even though the handshake with the peer is completed and
successful. Each VSAN will be moved from initializing state to up state when a server or target logs in
through the trunked F or NP ports in the corresponding VSAN.
Note
In case of TF or TNP ports, the Device Manager will show the port status as amber even after port is up
and there is no failure. It will be changed to green once all the VSAN has successful logins.
This example shows a TF port information after the port is in up state:
sw7# show interface fc1/13
fc1/13 is trunking (Not all VSANs UP on the trunk)
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:0d:00:0d:ec:6d:2b:40
Admin port mode is FX, trunk mode is on
snmp link state traps are enabled
Port mode is TF
Port vsan is 1
Speed is 4 Gbps
Rate mode is shared
Transmit B2B Credit is 16
Receive B2B Credit is 32
Receive data field Size is 2112
Beacon is turned off
Trunk vsans (admin allowed and active) (1,100-101,1101,1163-1166,1216,2172,2182-2183)
Trunk vsans (up)
(1)
Trunk vsans (isolated)
()
Trunk vsans (initializing)
(1101,1163-1166,1216,2172,2182)
This example shows the TF port information when a server logs in on noninternal FLOGI VSAN: VSAN
2183 is moved to up state when server logs in to VSAN 2183.
w7# show interface fc1/13
fc1/13 is trunking (Not all VSANs UP on the trunk)
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:0d:00:0d:ec:6d:2b:40
Admin port mode is FX, trunk mode is on
snmp link state traps are enabled
Port mode is TF
Port vsan is 1
Speed is 4 Gbps
Rate mode is shared
Transmit B2B Credit is 16
Receive B2B Credit is 32
Receive data field Size is 2112
Beacon is turned off
Trunk vsans (admin allowed and active) (1,100-101,1101,1163-1166,1216,2172,2
182-2183)
Trunk vsans (up)
(1,2183)
Trunk vsans (isolated)
()
Trunk vsans (initializing)
(1101,1163-1166,1216,2172,2182)
5-6
Chapter 5
Configuring Trunking
Enabling the Trunking Protocols
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 5-1 specifies the protocols used for trunking and channeling.
Table 5-1
Trunk Link
Default
E or F PortChannel
TF Port Channel
Third-party TF-TNP port link
By default, the trunking protocol is enabled on E ports and disabled on F ports. If the trunking protocol
is disabled on a switch, no port on that switch can apply new trunk configurations. Existing trunk
configurations are not affected. The TE port continues to function in trunk mode, but only supports
traffic in VSANs that it negotiated with previously (when the trunking protocol was enabled). Also, other
switches that are directly connected to this switch are similarly affected on the connected interfaces. In
some cases, you may need to merge traffic from different port VSANs across a non-trunking ISL. If so,
disable the trunking protocol.
Note
We recommend that both ends of a trunking link belong to the same port VSAN. On certain switches or
fabric switches where the port VSANs are different, one end returns an error and the other end is not
connected.
Tip
To avoid inconsistent configurations, disable all ports with a shutdown command before enabling or
disabling the trunking protocols.
5-7
Chapter 5
Configuring Trunking
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
Step 2
Purpose
Step 1
Step 2
Note
The trunking protocols must be enabled to support trunking, and NPIV must be enabled on the core
switch to activate a TF-TNP link. To enable NPIV, use the feature npiv command.
5-8
Chapter 5
Configuring Trunking
Configuring Trunk Mode and VSAN List
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 5-2
Port Type
Switch 1
Switch 2
Trunking State
Port Mode
E ports
On
Auto or on
Trunking (EISL)
TE port
Off
No trunking (ISL)
E port
Auto
Auto
No trunking (ISL)
E port
Port Type
Trunking State
Link Mode
F and NP
ports
On
Auto or on
Trunking
TF-TNP link
Auto
On
Trunking
TF-TNP link
Off
No trunking
F-NP link
Tip
The preferred configuration on the Cisco MDS 9000 Family switches is one side of the trunk set to auto
and the other side set to on.
Note
When connected to a third-party switch, the trunk mode configuration on E ports has no effect. The ISL
is always in a trunking disabled state. In the case of F ports, if the third-party core switch ACC's physical
FLOGI with the EVFP bit is configured, then EVFP protocol enables trunking on the link.
Purpose
Step 1
switch# config t
Step 2
Step 3
5-9
Chapter 5
Configuring Trunking
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
The common set of VSANs that are configured and active in the switch are included in the trunk-allowed
VSAN list for an interface, and they are called allowed-active VSANs. The trunking protocol uses the
list of allowed-active VSANs at the two ends of an ISL to determine the list of operational VSANs in
which traffic is allowed.
In Figure 5-5, switch 1 has VSANs 1 through 5, switch 2 has VSANs 1 through 3, and switch 3 has
VSANs 1, 2, 4, and 5 with a default configuration of trunk-allowed VSANs. All VSANs configured in
all three switches are allowed-active. However, only the common set of allowed-active VSANs at the
ends of the ISL become operational as shown in Figure 5-5.
For all F, N, and NP ports, the default VF_ID is 1 when there is no VF_ID configured. The trunk-allowed
VF_ID list on a port is same as the list of trunk-allowed VSANs. VF_ID 4094 is called the control VF_ID
and it is used to define the list of trunk-allowed VF-IDs when trunking is enabled on the link.
If F port trunking and channeling is enabled, or if switchport trunk mode on is configured in NPV mode
for any interface, or if NP PortChannel is configured, the VSAN and VF-ID ranges available for the
configuration are as described in Table 5-3.
Table 5-3
Note
VSAN or VF-ID
Description
000h
001h(1) to EFFh(3839)
F00h(3840) to FEEh(4078)
FEFh(4079)
FF0h(4080) to FFEh(4094)
FFFh
If the VF_ID of the F port and the N port do not match, then no tagged frames can be exchanged.
5-10
Chapter 5
Configuring Trunking
Configuring Trunk Mode and VSAN List
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Default Allowed-Active VSAN Configuration
AN
Switch 1 VS
VSAN1
VSAN2
VSAN3
VSAN4
VSAN5 VS
AN
s
1, 2
and
, 4,
5a
re o
per
atio
nal
.
Switch 3
VSAN1
VSAN2
VSAN4
VSAN5
79945
2,
s1 ,
l.
ona
rati
e
p
o
are
Switch 2
VSAN1
VSAN2
VSAN3
Figure 5-5
You can configure a select set of VSANs (from the allowed-active list) to control access to the VSANs
specified in a trunking ISL.
Using Figure 5-5 as an example, you can configure the list of allowed VSANs on a per-interface basis
(see Figure 5-6). For example, if VSANs 2 and 4 are removed from the allowed VSAN list of ISLs
connecting to switch 1, the operational allowed list of VSANs for each ISL would be as follows:
The ISL between switch 1 and switch 2 includes VSAN 1 and VSAN 3.
The ISL between switch 2 and switch 3 includes VSAN 1 and VSAN 2.
Consequently, VSAN 2 can only be routed from switch 1 through switch 3 to switch 2.
5-11
Chapter 5
Configuring Trunking
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Operational and Allowed VSAN Configuration
Switch 2
VSAN1
VSAN2
VSAN3
Switch 1
VSAN1
VSAN2
VSAN3
VSAN4
VSAN5
VS VSAN
AN
s1
s1
,
, 2 , 2, 5 a
5a
re o re ope
ra
n th
e a tional
llow
.
ed
list.
Switch 3
VSAN1
VSAN2
VSAN4
VSAN5
79946
list.
ed
w
llo
.
ea
nal
n th eratio
o
e
p
r
3a
re o
and nd 3 a
1
s
a
AN Ns 1
VS
A
S
V
Figure 5-6
Purpose
Step 1
switch# config t
Step 2
Step 3
Enable the F port trunking and channeling protocol on the MDS core switch:
switch(config)# feature fport-channel-trunk
Step 2
5-12
Chapter 5
Configuring Trunking
Displaying Trunking Information
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
switch(config)# feature npiv
Step 3
Step 4
Step 5
Step 6
Step 7
Set the port administrative state on NPIV and NPV switches to ON:
switch(config)# interface fc1/2
switch(config-if)# shut
switch(config-if)# no shut
5-13
Chapter 5
Configuring Trunking
Default Settings
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Example 5-2
Example 5-3
Default Settings
Table 5-4 lists the default settings for trunking parameters.
Table 5-4
Parameters
Default
Enabled.
Disabled.
5-14
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
Configuring PortChannels
This chapter discusses the PortChannel feature provided in the switch and includes the following
sections:
About PortChannels
PortChannels refer to the aggregation of multiple physical interfaces into one logical interface to provide
higher aggregated bandwidth, load balancing, and link redundancy (See Figure 6-1). PortChannels can
connect to interfaces across switching modules, so a failure of a switching module cannot bring down
the PortChannel link.
Figure 6-1
PortChannel Flexibility
Switch 1
Switch 2
PortChannel A
PortChannel C
79529
PortChannel B
6-1
Chapter 6
Configuring PortChannels
About PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
PortChannels on Cisco MDS 9000 Family switches allow flexibility in configuration. Figure 6-1
illustrates three possible PortChannel configurations:
PortChannel A aggregates two links on two interfaces on the same switching module at each end of
a connection.
PortChannel B also aggregates two links, but each link is connected to a different switching module.
If the switching module goes down, traffic is not affected.
PortChannel C aggregates three links. Two links are on the same switching module at each end,
while one is connected to a different switching module on switch 2.
About E PortChannels
An E PortChannel refers to the aggregation of multiple E ports into one logical interface to provide higher
aggregated bandwidth, load balancing, and link redundancy. PortChannels can connect to interfaces across
switching modules, so a failure of a switching module cannot bring down the PortChannel link.
A PortChannel has the following features and restrictions:
Note
Provides a point-to-point connection over ISL (E ports) or EISL (TE ports). Multiple links can be
combined into a PortChannel.
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, destination ID, and exchange ID (OX ID).
Provides high availability on an ISL. If one link fails, traffic previously carried on this link is switched
to the remaining links. If a link goes down in a PortChannel, the upper protocol is not aware of it. To
the upper protocol, the link is still there, although the bandwidth is diminished. The routing tables
are not affected by link failure. PortChannels may contain up to 16 physical links and may span
multiple modules for added high availability.
See the Cisco MDS 9000 Family NX-OS Fabric Configuration Guide for information about failover
scenarios for PortChannels and FSPF links.
6-2
Chapter 6
Configuring PortChannels
About PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
If a Cisco MDS 9124 or 9134 switch is used as a core switch, only a nontrunking F PortChannel is
supported. Trunking is not supported on this platform when NPIV enabled.
PortChanneling enables several physical links to be combined into one aggregated logical link.
Trunking enables a link transmitting frames in the EISL format to carry (trunk) multiple VSAN
traffic. For example, when trunking is operational on an E port, that E port becomes a TE port. A
TE port is specific to switches in the Cisco MDS 9000 Family. An industry standard E port can link
to other vendor switches and is referred to as a nontrunking interface (see Figure 6-2 and
Figure 6-3).
Any other
switch
Switch 1
ISL
E port
Switch 1
Switch 2
EISL
E port
TE port
TE port
79938
Figure 6-2
Trunking
Switch 1
Switch 2
ISL 1
ISL 2
ISL 3
Port channel
Switch 1
Switch 2
EISL 1
EISL 2
EISL 3
Port channel
and trunking
79939
Figure 6-3
6-3
Chapter 6
Configuring PortChannels
About PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
F ports and NP ports
TF ports and TNP ports
Both PortChanneling and trunking can be used between TE ports over EISLs.
Flow basedAll frames between source and destination follow the same links for a given flow. That
is, whichever link is selected for the first exchange of the flow is used for all subsequent exchanges.
Exchange basedThe first frame in an exchange picks a link and subsequent frames in the exchange
follow the same link. However, subsequent exchanges can use a different link. This provides more
granular load balancing while preserving the order of frames for each exchange.
Figure 6-4 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. No frame in SID1 and DID1 utilizes link 2.
6-4
Chapter 6
Configuring PortChannels
About PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 6-4
Frame 1
Frame 2
SID1, DID1,
Exchange 1
Link 1
Link 2
Frame 3
Frame n
Frame 1
Frame 2
SID1, DID1,
Exchange 2
Link 1
Link 2
Frame 3
Frame n
Frame 1
Link 1
Frame 2
Frame 3
Link 2
Frame n
79530
SID2, DID2
Exchange 1
Figure 6-5 illustrates how exchange-based load balancing works. When the first frame in an exchange is
received for forwarding on an interface, 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.
6-5
Chapter 6
Configuring PortChannels
About PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 6-5
Frame 1
Frame 2
SID1, DID1,
Exchange 1
Link 1
Link 2
Frame 3
Frame n
Frame 1
Link 1
Frame 2
Frame 3
Link 2
Frame n
79531
SID1, DID1,
Exchange 2
For more information on configuring load balancing and in-order delivery features, see the Cisco MDS
9000 Family NX-OS Fabric Configuration Guide.
ON (default)The member ports only operate as part of a PortChannel or remain inactive. In this
mode, the PortChannel protocol is not initiated. However, if a PortChannel protocol frame is
received from a peer port, the software indicates its nonnegotiable status. This mode is backward
compatible with the existing implementation of PortChannels in releases prior to 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 PortChannel mode was the ON mode. PortChannels configured in
the ON mode require you to explicitly enable and disable the PortChannel member ports at either
end if you add or remove ports from the PortChannel configuration. You must physically verify that
the local and remote ports are connected to each other.
ACTIVEThe member ports initiate PortChannel protocol negotiation with the peer port(s)
regardless of the channel group mode of the peer port. If the peer port, while configured in a channel
group, does not support the PortChannel protocol, or responds with a nonnegotiable status, it will
default to the ON mode behavior. The ACTIVE PortChannel mode allows automatic recovery
without explicitly enabling and disabling the PortChannel member ports at either end.
6-6
Chapter 6
Configuring PortChannels
About PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Table 6-1 compares ON and ACTIVE modes.
Table 6-1
ON Mode
ACTIVE Mode
No protocol is exchanged.
Transitions misconfigured ports to the suspended Transitions misconfigured ports to the isolated
state. You must explicitly disable (shut) and
state to correct the misconfiguration. Once you
enable (no shut) the member ports at either end. correct the misconfiguration, the protocol ensures
automatic recovery.
This is the default mode.
Switches with only Generation 1 switching modules do not support F and TF PortChannels.
Switches with only Generation 2 switching modules or Generation 2 and Generation 3 modules
support a maximum of 256 PortChannels with 16 interfaces per PortChannel.
A PortChannel number refers to the unique identifier for each channel group. This number ranges
from of 1 to 256.
Autocreation of port-channel in any mode is not supported as of MDS NX-OS Release 4.1(1b) and
later.
The PortChannel interface must be in ACTIVE mode when multiple FCIP interfaces are grouped
with WA.
6-7
Chapter 6
Configuring PortChannels
About PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
When configuring the host-optimized ports on Generation 1 hardware, the following PortChannel
guidelines apply:
If you execute the write erase command on a 32-port switching module, and then copy a saved
configuration to the switch from a text file that contains the no system default switchport
shutdown command, you need to copy the text file to the switch again for the E ports to come up
without manual configuration.
The host-optimized ports in the Cisco MDS 9100 Series are subject to the same PortChannel rules
as 32-port switching modules; only the first port of each group of 4 ports is included in a
PortChannel.
You can configure only the first port in each 4-port group as an E port (for example, the first
port in ports 14, the fifth port in ports 58, and so on). If the first port in the group is configured
as a PortChannel, the other three ports in each group (ports 24, 68, and so on) are not usable
and remain in the shutdown state.
If any of the other three ports are configured in a no shutdown state, you cannot configure the
first port to be a PortChannel. The other three ports continue to remain in a no shutdown state.
ON mode is not supported. Only ACTIVE-ACTIVE mode is supported. By default, the mode is
ACTIVE on the NPV switches.
Devices logged in through F PortChannel on an MDS switch are not supported in IVR non-NAT
configuration. The devices are supported only in IVR NAT configuration.
Port security rules are enforced only on physical PWWNs at the single link level.
FC-SP authenticates only the first physical FLOGI of every PortChannel member.
Since the FLOGI payload carries only the VF bits to trigger the use of a protocol after the FLOGI
exchange, those bits will be overridden. In the case of the NPV switches with core Cisco switch,
PCP protocol will be initiated.
The name server registration of the N ports logging in through an F PortChannel will use the FWWN
of the PortChannel interface.
6-8
Chapter 6
Configuring PortChannels
PortChannel Configuration
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
PortChannel Configuration
PortChannels are created with default values. You can change the default configuration just like any
other physical interface.
Figure 6-6 provides examples of valid PortChannel configurations.
Valid PortChannel Configurations
Channel Group 10
Cisco MDS
Switch A
Channel Group 20
Channel Group 10
Channel Group 20
Cisco MDS
3 Switch B
Cisco MDS
3 Switch B
Cisco MDS
Switch A
Channel Group 1
120480
Figure 6-6
Channel Group 2
Figure 6-7 provides examples of invalid configurations. Assuming that the links are brought up in the 1,
2, 3, 4 sequence, links 3 and 4 will be operationally down as the fabric is misconfigured.
6-9
Chapter 6
Configuring PortChannels
PortChannel Configuration
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Misconfigured Configurations
Channel Group 10
Cisco MDS
Switch A
Channel Group 20
2
Cisco MDS
3 Switch B
3
4
X
X
Channel Group 10
2
Cisco MDS
3 Switch B
3
4
X
X
1
Cisco MDS
Switch B
2
2
3
Cisco MDS
Switch A
Channel Group 20
Channel Group 20
Cisco MDS
Switch A
Channel Group 10
X
X
3
Cisco MDS
Switch C
4
120488
Figure 6-7
This section shows how to configure and modify PortChannels and contains the following topics:
Note
Ensure that one PortChannel is not connected to different sets of switches. PortChannels require
point-to-point connections between the same set of switches.
6-10
Chapter 6
Configuring PortChannels
PortChannel Configuration
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
If you misconfigure PortChannels, you may receive a misconfiguration message. If you receive this
message, the PortChannels physical links are disabled because an error has been detected.
A PortChannel error is detected if the following requirements are not met:
Each switch on either side of a PortChannel must be connected to the same number of interfaces.
Each interface must be connected to a corresponding interface on the other side (see Figure 6-7 for
an example of an invalid configuration).
Links in a PortChannel cannot be changed after the PortChannel is configured. If you change the
links after the PortChannel is configured, be sure to reconnect the links to interfaces within the
PortChannel and reenable the links.
If all three conditions are not met, the faulty link is disabled.
Enter the show interface command for that interface to verify that the PortChannel is functioning as
required.
Creating a PortChannel
To create a PortChannel, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
6-11
Chapter 6
Configuring PortChannels
Interfaces in a PortChannel
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
If you use the default ON mode to avoid inconsistent states across switches and to maintain
consistency across switches, then the ports shut down. You must explicitly enable those ports again.
If you use the ACTIVE mode, then the PortChannel ports automatically recover from the deletion.
Deleting PortChannels
To delete a PortChannel, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Interfaces in a PortChannel
You can add or remove a physical interface (or a range of interfaces) to an existing PortChannel. The
compatible parameters on the configuration are mapped to the PortChannel. Adding an interface to a
PortChannel increases the channel size and bandwidth of the PortChannel. Removing an interface from
a PortChannel decreases the channel size and bandwidth of the PortChannel.
This section describes interface configuration for a PortChannel and includes the following topics:
Note
For information about PortChannel support on Generation 2 switching modules, see the PortChannels
section on page 3-11.
6-12
Chapter 6
Configuring PortChannels
Interfaces in a PortChannel
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Speed
Mode
Rate mode
Port VSAN
Trunking mode
After the members are added, regardless of the mode (ACTIVE and ON) used, the ports at either end are
gracefully brought down, indicating that no frames are lost when the interface is going down (see the
Generation 1 PortChannel Limitations section on page 6-7 and Graceful Shutdown section on
page 2-12).
Compatibility Check
A compatibility check ensures that the same parameter settings are used in all physical ports in the
channel. Otherwise, they cannot become part of a PortChannel. The compatibility check is performed
before a port is added to the PortChannel.
The check ensures that the following parameters and settings match at both ends of a PortChannel:
Capability parameters (type of interface, Gigabit Ethernet at both ends, or Fibre Channel at both
ends).
Administrative compatibility parameters (speed, mode, rate mode, port VSAN, allowed VSAN list,
and port security).
Note
A port addition procedure fails if the capability and administrative parameters in the remote switch are
incompatible with the capability and administrative parameters in the local switch. If the compatibility
check is successful, the interfaces are operational and the corresponding compatibility parameter
settings apply to these interfaces.
An interface enters the suspended state if the interface is configured in the ON mode.
An interface enters the isolated state if the interface is configured in the ACTIVE mode.
6-13
Chapter 6
Configuring PortChannels
Interfaces in a PortChannel
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
switch(config-if)# channel-group 15
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
switch(config-if)# channel-group 2
Note
By default, the CLI adds a interface normally to a PortChannel, while the Fabric Manager adds the
interface by force, unless specified explicitly.
Note
If you use the default ON mode to avoid inconsistent states across switches and to maintain
consistency across switches, then the ports shut down. You must explicitly enable those ports again.
If you use the ACTIVE mode, then the PortChannel ports automatically recover from the addition.
When PortChannels are created from within an interface, the force option cannot be used.
After the members are forcefully added, regardless of the mode (ACTIVE and ON) used, the ports at
either end are gracefully brought down, indicating that no frames are lost when the interface is going
down (see the Graceful Shutdown section on page 2-12).
6-14
Chapter 6
Configuring PortChannels
PortChannel Protocols
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
To force the addition of a port to a PortChannel, follow these steps:
Command
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
If you use the default ON mode to avoid inconsistent states across switches and to maintain
consistency across switches, then the ports shut down. You must explicitly enable those ports again.
If you use the ACTIVE mode, then the PortChannel ports automatically recover from the deletion.
After the members are deleted, regardless of the mode (ACTIVE and ON) used, the ports at either end
are gracefully brought down, indicating that no frames are lost when the interface is going down (see the
Generation 1 PortChannel Limitations section on page 6-7 and Graceful Shutdown section on
page 2-12).
Step 1
Step 2
Command
Purpose
switch(config-if)# no channel-group 2
switch(config-if)#
PortChannel Protocols
In earlier Cisco SAN-OS releases, PortChannels required additional administrative tasks to support
synchronization. The Cisco NX-OS software provides robust error detection and synchronization
capabilities. You can manually configure channel groups or they can be automatically created. In both
cases, the channel groups have the same capability and configurational parameters. Any change in
configuration applied to the associated PortChannel interface is propagated to all members of the
channel group.
6-15
Chapter 6
Configuring PortChannels
PortChannel Protocols
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
A protocol to exchange PortChannel configurations is available in all Cisco MDS switches. This addition
simplifies PortChannel management with incompatible ISLs. An additional autocreation mode enables
ISLs with compatible parameters to automatically form channel groups without manual intervention.
The PortChannel protocol is enabled by default.
The PortChannel protocol expands the PortChannel functional model in Cisco MDS switches. It uses the
exchange peer parameters (EPP) services to communicate across peer ports in an ISL. Each switch uses
the information received from the peer ports along with its local configuration and operational values to
decide if it should be part of a PortChannel. The protocol ensures that a set of ports are eligible to be
part of the same PortChannel. They are only eligible to be part of the same port channel if all the ports
have a compatible partner.
The PortChannel protocol uses two subprotocols:
Bringup protocolAutomatically detects misconfigurations so you can correct them. This protocol
synchronizes the PortChannel at both ends so that all frames for a given flow (as identified by the
source FC ID, destination FC ID and OX_ID) are carried over the same physical link in both
directions. This helps make applications such as write acceleration, work for PortChannels over
FCIP links.
This section describes how to configure the PortChannel protocol and includes the following sections:
Channel groups are not supported on internal ports in the Cisco Fabric Switch for HP c-Class
BladeSystem and the Cisco Fabric Switch for IBM BladeSystem.
Assuming link A1-B1 comes up first in Figure 6-8, that link is operational as an individual link.When
the next link, say A2-B2 comes up, the PortChannel protocol identifies if this link is compatible with
link A1-B1 and automatically creates channel groups 10 and 20 in the respective switches. If link A3-B3
can join the channel groups (the PortChannels), the respective ports have compatible configurations. If
link A4-B4 operates as an individual link, it is because of the incompatible configuration of the two end
ports with the other member ports in this channel group.
6-16
Chapter 6
Configuring PortChannels
PortChannel Protocols
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Autocreating Channel Groups
Channel Group 10
1
po10
Channel Group 20
po20
2
Cisco MDS
Switch B
3
2
Cisco MDS
Switch A
120489
Figure 6-8
The channel group numbers are selected dynamically, and as such, the administrative configuration of
the ports forming the channel group at either end are applicable to the newly created channel group. The
channel group number being chosen dynamically may be different across reboots for the same set of
PortChannels based on the order of ports that are initialized in the switch.
Table 6-2 identifies the differences between user-configured and auto-configured channel groups.
Table 6-2
Note
6-17
Chapter 6
Configuring PortChannels
PortChannel Protocols
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
About Autocreation
The autocreation protocol has the following functionality:
Tip
A port is not allowed to be configured as part of a PortChannel when the autocreation feature is
enabled. These two configurations are mutually exclusive.
Autocreation must be enabled in both the local and peer ports to negotiate a PortChannel.
Newly created PortChannels are allocated from the maximum possible PortChannel (128 for
Generation 1 or a combination of Generation 1 and Generation 2 switches, or 256 for Generation 2
switches) in a decreasing order based on availability. If all 128 (or 256) numbers are used up,
aggregation is not allowed.
When you disable autocreation, all member ports are removed from the autocreated PortChannel.
Once the last member is removed from an autocreated PortChannel, the channel is automatically
deleted and the number is released for reuse.
You can enable or disable the autocreation feature on a per-port basis or for all ports in the switch.
When this configuration is enabled, the channel group mode is assumed to be active. The default for
this task is disabled.
If autocreation of channel groups is enabled for an interface, you must first disable autocreation
before downgrading to earlier software versions or before configuring the interface in a manually
configured channel group.
When enabling autocreation in any switch in the Cisco MDS 9000 Family, we recommend that you retain
at least one interconnected port between the switches without any autocreation configuration. If all ports
between two switches are configured with the autocreation feature at the same time, you may face a
possible traffic disruption between these two switches as the ports are automatically disabled and
reenabled when ports are added to an autocreated PortChannel.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
6-18
Chapter 6
Configuring PortChannels
Example F and TF PortChannel Configurations
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Step 3
Command
Purpose
Tip
Enable the F port trunking and channeling protocol on the MDS core switch.
switch(config)# feature fport-channel-trunk
Step 2
Step 3
Step 4
6-19
Chapter 6
Configuring PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
switch(config-if)#
switch(config-if)#
switch(config-if)#
switch(config-if)#
switch(config-if)#
switch(config-if)#
switch(config-if)#
Step 5
switchport mode F
switchport trunk mode off
switchport speed 4000
switchport rate-mode shared
channel-group 1
no shut
exit
Step 6
Step 7
Set the administrative state of all the PortChannel member interfaces in both NPIV core switch and the
NPV switch to ON:
switch(config)# interface fc1/1-3
switch(config-if)# shut
switch(config-if)# no shut
switch(config)# interface fc2/1-3
switch(config-if)# shut
switch(config-if)# no shut
Note
The speed configuration must be the same for all member interfaces in a PortChannel. While configuring
the channel in dedicated mode, ensure that required bandwidth is available to the ports.
This example shows how to configure channeling in dedicated mode and bring up the TF-TNP
PortChannel link between TF ports in the NPIV core switch, and TNP ports in the NPV switch:
Step 1
Enable the F port trunking and channeling protocol on the MDS core switch:
switch(config)# feature fport-channel-trunk
Step 2
Step 3
6-20
Chapter 6
Configuring PortChannels
Verifying the PortChannel Configuration
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Step 4
Configure the PortChannel member interfaces on the MDS core switch in dedicated mode:
switch(config)# interface fc1/4-6
switch(config-if)# shut
switch(config-if)# switchport mode F
switch(config-if)# switchport speed 4000
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport trunk mode on
switch(config-if)# channel-group 2
switch(config-if)# no shut
switch(config-if)# exit
Step 5
Step 6
Configure the PortChannel member interfaces on the NPV switch in dedicated mode:
switch(config)# interface fc3/1-3
switch(config-if)# shut
switch(config-if)# switchport mode NP
switch(config-if)# switchport speed 4000
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport trunk mode on
switch(config-if)# channel-group 2
switch(config-if)# no shut
switch(config-if)# exit
Step 7
Set the administrative state of all the PortChannel member interfaces in both NPIV core switch and the
NPV switch to ON:
switch(config)# interface fc1/4-6
switch(config-if)# shut
switch(config-if)# no shut
switch(config)# interface fc3/1-3
switch(config-if)# shut
switch(config-if)# no shut
6-21
Chapter 6
Configuring PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Example 6-1
Example 6-2
Example 6-3
6-22
Chapter 6
Configuring PortChannels
Verifying the PortChannel Configuration
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
The show port-channel consistency command has two options: without details and with details.
Example 6-4
Example 6-5
The show port-channel usage command displays details of the used and unused PortChannel numbers.
6-23
Chapter 6
Configuring PortChannels
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Example 6-6
Example 6-7
Use the existing show commands to obtain further details on autocreated channel group attributes.
Autocreated PortChannels are indicated explicitly to help differentiate them from the manually created
PortChannels. See Examples 6-8 to 6-10.
Example 6-8
Example 6-9
6-24
Chapter 6
Configuring PortChannels
Default Settings
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Default Settings
Table 6-3 lists the default settings for PortChannels.
Table 6-3
Parameters
Default
PortChannels
Create PortChannel
Administratively up.
Autocreation
Disabled.
6-25
Chapter 6
Configuring PortChannels
Default Settings
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
6-26
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
Note
NPV is available on these switches only while in NPV mode; if in switch mode, NPV is not available.
This chapter includes the following sections:
7-1
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Application
server
NPIV Example
MDS switch
E-mail
LUN 1
N_Port_ID 1
Web
LUN 2
N_Port_ID 2
LUN 3
N_Port_ID 3
Node
N port
controller
F port
154019
Figure 7-1
You must globally enable NPIV for all VSANs on the MDS switch to allow the NPIV-enabled
applications to use multiple N port identifiers.
Note
Note
Purpose
Step 1
switch# config t
Step 2
Step 3
7-2
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 7-2
NPV-Core Switch
(MDS or 3rd party switch
with NPIV support)
FC
FC
F-port
NP-port
N
SA
20.2.1
VS
AN
Can have
multiple uplinks
on different
VSANs
VSAN 10
10.1.1
15
Up to 100
NPV switches
10.5.2
10.5.7
FC
Target
Blade Server 1
20.5.1
Initiator
(no FL ports)
184639
Blade Server 2
Blade Server n
While NPV is similar to N port identifier virtualization (NPIV), it does not offer exactly the same
functionality. NPIV provides a means to assign multiple FC IDs to a single N port, and allows multiple
applications on the N port to use different identifiers. NPIV also allows access control, zoning, and port
security to be implemented at the application level. NPV makes use of NPIV to get multiple FCIDs
allocated from the core switch on the NP port.
Figure 7-3 shows a more granular view of an NPV configuration at the interface level.
Figure 7-3
Host
N-Port
NPV Core Switch
NPV Device
F-Port
F-Port
NP-Port
184631
NPIV enabled
N-Port
Host
7-3
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
NPV Mode
A switch is in NPV mode after a user has enabled NPV and the switch has successfully rebooted. NPV
mode applies to an entire switch. All end devices connected to a switch that is in NPV mode must log in
as an N port to use this feature (loop-attached devices are not supported). All links from the edge
switches (in NPV mode) to the NPV core switches are established as NP ports (not E ports), which are
used for typical interswitch links. NPIV is used by the switches in NPV mode to log in to multiple end
devices that share a link to the NPV core switch.
Note
In-order data delivery is not required in NPV mode because the exchange between two end devices
always takes the same uplink to the core from the NPV device. For traffic beyond the NPV device, core
switches will enforce in-order delivery if needed and/or configured.
After entering NPV mode, only the following commands are available:
aaa
arp
banner
boot
callhome
cli
clock
do
end
exit
fcanalyzer
fcrxbbcredit
fips
hw-module
interface
ip
ipv6
line
logging
no
npv
ntp
port-track
power
poweroff
radius
radius-server
rate-mode
rmon
role
snmp-server
ssh
switchname
system
tacacs+
telnet
username
wwn
7-4
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
NP Ports
An NP port (proxy N port) is a port on a device that is in NPV mode and connected to the NPV core
switch using an F port. NP ports behave like N ports except that in addition to providing N port behavior,
they also function as proxies for multiple, physical N ports.
NP Links
An NP link is basically an NPIV uplink to a specific end device. NP links are established when the uplink
to the NPV core switch comes up; the links are terminated when the uplink goes down. Once the uplink
is established, the NPV switch performs an internal FLOGI to the NPV core switch, and then (if the
FLOGI is successful) registers itself with the NPV core switchs name server. Subsequent FLOGIs from
end devices in this NP link are converted to FDISCs. For more details refer to the Internal FLOGI
Parameters section on page 7-5.
Server links are uniformly distributed across the NP links. All the end devices behind a server link will
be mapped to only one NP link.
The fWWN (fabric port WWN) of the NP port used as the pWWN in the internal login.
The VSAN-based sWWN (switch WWN) of the NPV device used as nWWN (node WWN) in the
internal FLOGI.
After completing its FLOGI request, the NPV device registers itself with the fabric name server using
the following additional parameters:
Note
Switch name and interface name (for example, fc1/4) of the NP port is embedded in the symbolic
port name in the name server registration of the NPV device itself.
The IP address of the NPV device is registered as the IP address in the name server registration of
the NPV device.
The BB_SCN of internal FLOGIs on NP ports is always set to zero. The BB_SCN is supported at the
F-port of the NPV device.
7-5
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Figure 7-4 shows the internal FLOGI flows between an NPV core switch and an NPV device.
Figure 7-4
fc 5/10
fwwn
fc 1/5
pwwn
184572
nwwn
NPV Device
Table 7-1 identifies the internal FLOGI parameters that appear in Figure 7-4.
Table 7-1
Parameter
Derived From
pWWN
nWWN
fWWN
IP address
Although fWWN-based zoning is supported for NPV devices, it is not recommended because:
Zoning is not enforced at the NPV device (rather, it is enforced on the NPV core switch).
Multiple devices behind an NPV device log in via the same F port on the core (they use same fWWN
and cannot be separated into different zones).
The same device might log in using different fWWNs on the core switch (depending on the NPV
link it uses) and may need to be zoned using different fWWNs.
7-6
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Auto
Before Cisco MDS SAN-OS Release 3.3(1a), NPV supported automatic selection of external links.
When a server interface is brought up, an external interface with the minimum load is selected from the
available links. There is no manual selection on the server interfaces using the external links. Also, when
a new external interface was brought up, the existing load was not distributed automatically to the newly
available external interface. This newly brought up interface is used only by the server interfaces that
come up after this interface.
Traffic Map
As in Cisco MDS SAN-OS Release 3.3(1a) and NX-OS Release 4.1(1a), NPV supports traffic
management by allowing you to select and configure the external interfaces that the server uses to
connect to the core switches.
Note
When the NPV traffic management is configured, the server uses only the configured external interfaces.
Any other available external interface will not be used.
The NPV traffic management feature provides the following benefits:
Facilitates traffic engineering by providing dedicated external interfaces for the servers connected
to NPV.
Uses the shortest path by selecting external interfaces per server interface.
Uses the persistent FC ID feature by providing the same traffic path after a link break, or reboot of
the NPV or core switch.
Balances the load by allowing the user to evenly distribute the load across external interfaces.
7-7
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Disruptive
Disruptive load balance works intependent of automatic selection of interfaces and configured traffic
map of external interfaces. This feature forces reinitialization of the server interfaces to achieve load
balance when this feature is enabled and whenever a new external interface comes up. To avoid flapping
the server interfaces too often undesirably, enable this feature once and then disable it whenever the
needed load balance is achieved.
If disruptive load balance is not enabled, you need to manually flap the server interface to move some
of the load to a new external interface.
Nondisruptive upgrades are supported. See the Cisco MDS 9000 Family NX-OS Fundamentals
Configuration Guide.
Port tracking is supported. See the Cisco MDS 9000 Family NX-OS Security Configuration Guide.
You can configure zoning for end devices that are connected to NPV devices using all available
member types on the NPV core switch. If fWWN, sWWN, domain, or port-based zoning is used,
then fWWN, sWWN or the domain/port of the NPV core switch should be used.
Port security is supported on the NPV core switch for devices logged in via NPV.
NPV uses a load balancing algorithm to automatically assign end devices in a VSAN to one of the
NPV core switch links (in the same VSAN) upon initial login. If there are multiple NPV core switch
links in the same VSAN, then you cannot assign a specific one to an end device.
Local switching is not supported; all traffic is switched using the NPV core switch.
NPV devices can connect to multiple NPV core switches. In other words, different NP ports can be
connected to different NPV core switches.
In the case of servers that are booted over the SAN with NPV, if an NPV link failover occurs, servers
will lose access to their boot LUN temporarily.
NPV switches do not recognize the BB_SCN configuration on the xNP ports because of
interoperability issues with the third-party core switches.
7-8
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Use NPV traffic management only when the automatic traffic engineering by the NPV device is not
sufficient for the network requirements.
Do not configure traffic maps for all the servers. For non-configured servers, NPV will use
automatic traffic engineering.
Configure the Persistent FC ID on the core switch. Traffic engineering directs the associated server
interface to external interfaces that lead to the same core switch. The server will be assigned the
same FC ID for every log in. This guideline is not applicable if a 91x4 switch is used as the core
switch.
Server interfaces configured to a set of external interfaces cannot use any other available external
interfaces, even if the configured interfaces are not available.
Do not configure disruptive load balancing because this involves moving a device from one external
interface to another interface. Moving the device between external interfaces requires NPV relogin
to the core switch through F port leading to traffic disruption.
Link a set of servers to a core switch by configuring the server to a set of external interfaces that are
linked to the core switch.
Configuring NPV
When you enable NPV, the system configuration is erased and the system reboots with the NPV mode
enabled.
Note
We recommend that you save the current configuration either on bootflash or a TFTP server before NPV
(if the configuration is required for later use). Use the following commands to save either your non-NPV
or NPV configuration:
switch# copy running bootflash:filename
SUMMARY STEPS
Note
1.
Enable NPIV on the NPV core switch. Enable NPV on the NPV device.
2.
Configure the interfaces connected to the NPV core switch as NP ports. Configure the port VSAN
for the NP ports.
3.
Configure NPV link as an F port on the NPV core switch. Configure the port VSAN for the F ports.
4.
On the 91x4 platform, before you upgrade to 3.2(2c) or downgrade from 3.2(2c), shut the F ports
connected to NPIV-capable hosts, and then disable the NPIV feature. After the upgrade or
downgrade is complete, enable the NPIV feature and then bringup the F ports.
7-9
Chapter 7
Configuring NPV
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
On the 91x4 platform, before you downgrade from 3.2(2c) to earlier versions, shut the F port, enable
and disable the FC domain persistency for that VSAN and then up the F port.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
switch(config-if)# no shutdown
Step 4
Step 5
Step 3
Note
Step 6
switch(config-if)# no shutdown
Step 7
Step 8
switch(config-if)# exit
Step 9
switch(config-if)# no shutdown
Step 10
Step 11
7-10
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Purpose
Step 1
switch# config t
switch(config)#
Step 2
1. While mapping non-PortChannel interfaces and PortChannel interfaces to the server interfaces, include them separately in two steps.
Purpose
Step 1
switch# config t
switch(config)#
Step 2
Step 3
7-11
Chapter 7
Verifying NPV
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
DPVM Configuration
When NPV is enabled, the following requirements must be met before you configure DPVM on the NPV
core switch:
You must explicitly configure the WWN of the internal FLOGI in DPVM. If DPVM is configured
on the NPV core switch for an end device that is connected to the NPV device, then that end device
must be configured to be in the same VSAN. Logins from a device connected to an NPV device will
fail if the device is configured to be in a different VSAN. To avoid VSAN mismatches, ensure that
the internal FLOGI VSAN matches the port VSAN of the NP port.
The first login from an NP port determines the VSAN of that port. If DPVM is configured for this
first login, which is the internal login of the NPV device, then the NPV core switchs VSAN F port
is located in that VSAN. Otherwise, the port VSAN remains unchanged.
For details about DPVM configuration, see the Cisco MDS 9000 Family NX-OS Fabric Configuration
Guide.
The internal FLOGI must be in the port security database; in this way, the port on the NPV core
switch will allow communications/links.
All the end device pWWNs must also be in the port security database.
Once these requirements are met, you can enable port security as you would in any other context. For
details about enabling port security, see the Cisco MDS 9000 Family NX-OS Security Configuration
Guide.
Verifying NPV
To view all the NPV devices in all the VSANs that the aggregator switch belongs to, enter the show fcns
database command.
switch# show fcns database
VSAN 1:
-------------------------------------------------------------------------FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
-------------------------------------------------------------------------0x010000 N 20:01:00:0d:ec:2f:c1:40 (Cisco) npv
0x010001 N 20:02:00:0d:ec:2f:c1:40 (Cisco) npv
0x010200 N 21:00:00:e0:8b:83:01:a1 (Qlogic) scsi-fcp:init
0x010300 N 21:01:00:e0:8b:32:1a:8b (Qlogic) scsi-fcp:init
Total number of entries = 4
For additional details (such as IP addresses, switch names, interface names) about the NPV devices you
see in the show fcns database output, enter the show fcns database detail command.
switch# show fcns database detail
-----------------------VSAN:1 FCID:0x010000
7-12
Chapter 7
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
-----------------------port-wwn (vendor) :20:01:00:0d:ec:2f:c1:40 (Cisco)
node-wwn :20:00:00:0d:ec:2f:c1:40
class :2,3
node-ip-addr :172.20.150.38
ipa :ff ff ff ff ff ff ff ff
fc4-types:fc4_features :npv
symbolic-port-name :para-3:fc1/1
symbolic-node-name :para-3
port-type :N
port-ip-addr :0.0.0.0
fabric-port-wwn :20:01:00:0d:ec:04:99:40
hard-addr :0x000000
permanent-port-wwn (vendor) :20:01:00:0d:ec:2f:c1:40 (Cisco)
-----------------------VSAN:1 FCID:0x010001
-----------------------port-wwn (vendor) :20:02:00:0d:ec:2f:c1:40 (Cisco)
node-wwn :20:00:00:0d:ec:2f:c1:40
class :2,3
node-ip-addr :172.20.150.38
ipa :ff ff ff ff ff ff ff ff
fc4-types:fc4_features :npv
symbolic-port-name :para-3:fc1/2
symbolic-node-name :para-3
port-type :N
port-ip-addr :0.0.0.0
fabric-port-wwn :20:02:00:0d:ec:04:99:40
hard-addr :0x000000
permanent-port-wwn (vendor) :20:02:00:0d:ec:2f:c1:40 (Cisco)
If you need to contact support, enter the show tech-support NPV command and save the output so that
support can use it to troubleshoot, if necessary.
To display a list of the NPV devices that are logged in, along with VSANs, source information, pWWNs,
and FCIDs, enter the show npv flogi-table command.
switch# show npv flogi-table
-------------------------------------------------------------------------------SERVER
EXTERNAL
INTERFACE VSAN FCID
PORT NAME
NODE NAME
INTERFACE
-------------------------------------------------------------------------------fc1/19
1
0xee0008 10:00:00:00:c9:60:e4:9a 20:00:00:00:c9:60:e4:9a fc1/9
fc1/19
1
0xee0009 20:00:00:00:0a:00:00:01 20:00:00:00:c9:60:e4:9a fc1/1
fc1/19
1
0xee000a 20:00:00:00:0a:00:00:02 20:00:00:00:c9:60:e4:9a fc1/9
fc1/19
1
0xee000b 33:33:33:33:33:33:33:33 20:00:00:00:c9:60:e4:9a fc1/1
Total number of flogi = 4.
To display the status of the different servers and external interfaces, enter the show npv status command.
switch# show npv status
npiv is enabled
External Interfaces:
====================
Interface: fc1/1, VSAN: 2, FCID: 0x1c0000, State: Up
Interface: fc1/2, VSAN: 3, FCID: 0x040000, State: Up
Number of External Interfaces: 2
Server Interfaces:
7-13
Chapter 7
Verifying NPV
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
==================
Interface: fc1/7, VSAN: 2, NPIV: No, State: Up
Interface: fc1/8, VSAN: 3, NPIV: No, State: Up
Number of Server Interfaces: 2
To display the NPV internal traffic details, enter the show npv internal info traffic-map command.
NPV Traffic Map Information:
---------------------------------------Server-If
External-If(s)
---------------------------------------fc1/3
fc1/10,fc1/11
fc1/5
fc1/1,fc1/2
----------------------------------------
7-14
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
CH A P T E R
Difference Between San Device Virtualization and FlexAttach Port Virtualization, page 8-6
Pre-configurePre-configure SAN for new servers that are not available physically yet. For
example, they may be on order. FlexAttach can be enabled on the ports designated for the new
servers and use the virtual WWNs assigned for configuring SAN. The new servers are then plugged
into the fabric without any change needed in the SAN.
Replacement to the same portA failed server can be replaced onto the same port without changing
the SAN. The new server gets a same pWWN as the failed server because the virtual pWWN is
assigned to the port.
Replacement to (spare)A spare server, which is on the same NPV device or a different NPV
device) can be brought online without changes to the SAN. This action is achieved by moving the
virtual port WWN from the current server port to the spare port.
Server MobilityA server can be moved to another port on the same NPV device or another NPV
device without changing the SAN. This is accomplished by moving the virtual pWWN to the new
port. No change is needed if FlexAttach was configured using the physical port WWN of the server
to the virtual port WWN mapping.
8-1
Chapter 8
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
The port must be in a shut state when the virtual pWWN is enabled.
To enable virtual pWWN automatically, perform this task:
Command
Purpose
Step 1
switch# config t
Step 2
Step 3
8-2
Chapter 8
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
When the interface-list value is not included in the command, virtual pWWN is enabled globally.
All the interfaces mentioned in the interface-list value must be in a shut state.
Note
Some ports may be in automode, some in manual mode, and the virtual pWWNs need not be
assigned.
Note
Purpose
Step 1
switch# config t
Step 2
Step 3
Note
8-3
Chapter 8
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Note
The interface must be in a shut state and the specified Virtual pWWN should not be logged in.
To map pWWN to virtual pWWN, perform this task:
Command
Purpose
Step 1
switch# config t
Step 2
Step 3
Note
The specified virtual pWWN and the real pWWN must not be logged in.
8-4
Chapter 8
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
-------------------------------------------------------------------------0x010000 N 20:01:00:0d:ec:2f:c1:40 (Cisco) npv
0x010001 N 20:02:00:0d:ec:2f:c1:40 (Cisco) npv
0x010200 N 21:00:00:e0:8b:83:01:a1 (Qlogic) scsi-fcp:init
0x010300 N 21:01:00:e0:8b:32:1a:8b (Qlogic) scsi-fcp:init
Total number of entries = 4
Error
Description
Workaround
FlexAttach configuration To move the port to the shut state, enable the
FlexAttach configuration, and then move the port
fails because the
to no shut state.
configuration is enabled
for an active interface with
the operation state as up.
The FlexAttach
FlexAttach
configuration on one peer
configuration is not
distributed to the peers NPV is not available to any
other peer NPV.
8-5
Chapter 8
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
For more details on enabling port security, refer to the Cisco MDS 9000 Family NX-OS Security
Configuration Guide.
Note
NPV switches do not have ISL (E or TE ports) and are linked through IPv4.
FlexAttach Virtualization
Facilitates target and disk management, and only Facilitates server management and has no
facilitates disk and data migration.
restriction on the end devices used.
WWN NAT and Fibre Channel ID (FC-ID) are
allocated on the virtual device, both primary and
secondary.
No rewrite requirements.
8-6
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
INDEX
Symbols
bandwidth fairness
* (asterisk)
3-31
configuration guidelines
6-21
default settings
3-40
example configurations
Numerics
12-port 4-Gbps switching modules
BB_credit buffers
default settings
3-40
3-36, 4-7
4-1
4-15
configuration guidelines
2-16
default settings
bandwidth fairness
3-18
3-40
configuration guidelines
3-17
3-40
example configurations
oversubscription
3-26
shared resources
3-8
3-40
4-8
3-35
2-14
administrative states
setting
2-7
2-12
ALPA caches
4-1
example configurations
configuring
description
default settings
3-8
example configurations
3-40
configuring BB_credits
default settings
shared resources
default settings
3-18
default settings
3-26
LEDs
oversubscription
4-13
configuration guidelines
3-17
allocation
clearing
2-31
2-32
description
2-30
displaying contents
4-9
2-32
2-32
IN-1
Index
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
auto mode
identifying LEDs
configuring
bit errors
2-13
reasons
description
2-18
2-7
interface configuration
2-16
2-3
autosensing speed
Generation 2 switching modules
configuring
2-18
description
2-18
B port mode
2-15
description
2-6
interface modes
2-6
bandwidth fairness
disabling
3-32
enabling
3-32
4-3
3-31
BB_credit buffers
12-port 4-Gbps switching module allocations
4-13
C
Cisco MDS 9216i switches
4-12
7-9
4-8
4-7
4-15
3-6
4-2
description
4-1
reason codes
2-9
exchange based
enabling
4-19
3-16, 3-17
6-5
6-4
domain IDs
assignment failures
2-10
domain manager
isolation
BB_SC
2-10
downgrading
disabling ACL adjacency sharing
beacon modes
configuring
2-17
description
2-17
3-16, 3-17
destination IDs
flow based
BB_credits
configuring
4-18
3-35
3-7
IN-2
Index
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
configuring bit error thresholds
configuring descriptions
EISLs
2-15
PortChannel links
6-2
2-18
2-16
2-13
E port mode
configuring speeds
classes of service
description
2-4
disabling
E ports
32-port guidelines
2-14
2-4
2-2
displaying information
configuring
graceful shutdown
enabling
2-13
2-10
modes
2-12
2-3 to 2-7
operational states
performance buffers
extended BB_credits
reason codes
4-19
states
displaying information
4-21
2-20 to 2-27
2-12
configuring
6-15
2-12
4-20
2-7
4-2
2-7
2-7
4-17
4-17
2-9
2-7
FL port mode
classes of service
description
configuring
2-4
2-13
2-10
description
2-1 to 2-12
2-4
configuring
2-13
description
2-4
2-11
2-4
F ports
2-7
4-1
characteristics
description
classes of service
2-50
2-13
F port mode
administrative states
configuring
nonparticipating code
default settings
2-4
FL ports
2-4
2-13
2-17
frame encapsulation
configuring
2-16
IN-3
Index
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
Fx ports
32-port default
2-3
configuring
2-13
description
2-6
interface modes
interfaces
adding to PortChannels
6-13, 6-14
configuring descriptions
2-6
default settings
2-6
2-15
2-50
2-20 to 2-27
3-9
6-14
6-13
suspended states
6-13
2-26
extended BB_credits
6-15
2-47
ISLs
4-3 to 4-15
PortChannel links
6-2
3-14 to 4-19
3-19
3-21
default settings
description
LEDs
beacon mode states
3-40
speed
3-1 to ??
extended BB_credits
description
4-17, 4-18
interface capabilities
3-14
out-of-service interfaces
M
management interfaces
configuring
3-9
2-47, 2-48
default settings
3-4
3-11
3-33
2-50
displaying information
features
3-34
6-2
3-8
3-3
6-4
PortChannels
extended BB_credits
4-17
load balancing
3-7
?? to 3-40
port groups
2-17
licenses
3-33
3-35
2-16
2-48
2-47
mgmt0 interfaces
configuring
2-47, 2-48
default settings
features
2-50
2-47
IN-4
Index
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
MPS-14/2 modules
PortChannel modes
description
4-18
6-6
PortChannel Protocol
autocreation
6-18
configuring autocreation
NL ports
interface modes
2-7
nonparticipating codes
description
description
2-10
enabling
NP links
adding interfaces
7-2
6-13, 6-14
administratively down
7-5
compatibility checks
configuring
7-5
creating
7-9
deleting
6-11
6-25
6-12
deleting interfaces
description
examples
operational states
configuring on Fibre Channel interfaces
description
2-7
out-of-service interfaces
description
3-8
6-15
6-1
6-2
6-14
6-13
load balancing
6-4
oversubscription
disabling restrictions
3-28
enabling restrictions
3-31
2-13
6-10
6-9 to ??
default settings
7-4
6-3
6-13
configuration guidelines
2-10
NL ports
NPV mode
6-18
PortChannels
7-1
NP-ports
6-16
6-15
enabling autocreation
NPIV
description
6-18
3-26
verifying configurations
3-11
6-11
6-21 to 6-24
port groups
3-26
4-18
3-3
3-3
3-7
port indexes
performance buffers
configuring
4-3
description
4-2
description
3-9
port modes
auto
2-7
description
2-3 to 2-7
IN-5
Index
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
port rate modes
transmitter types
configuring
dedicated
description
3-7
3-4
oversubscribed
shared
3-21
3-6
description
3-7
oversubscription
3-7
exchange based
flow based
2-14
3-16, 3-17
3-26
3-20
6-5
6-4
private devices
TL ports
3-16, 3-17
source IDs
port speeds
configuring
2-19
description
2-31
2-6
interface modes
limitations
2-6
2-6
ST ports
interface modes
rate modes
2-6
subnet masks
3-21
2-47
switch ports
configuring attribute default values
2-18
reason codes
description
2-7
classes of service
4-20
description
recovery
from powered-down state
3-11
2-5
2-5
TE ports
trunking restrictions
5-3
TF port mode
classes of service
description
SD port mode
description
classes of service
2-6
description
SD ports
configuring
2-5
TL port mode
2-6
interface modes
2-6
2-5
TL ports
2-13
ALPA caches
SFPs
displaying transmitter types
2-5
2-26
2-30
configuring
2-13
description
2-28
IN-6
Index
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
displaying information
private devices
2-31
virtual devices
2-31
multiplexing traffic
2-30
VSAN interfaces
configuring
creating
description
description
2-5, 2-6
2-49
2-49
2-49
displaying information
5-9 to 5-12
trunking
2-50
VSANs
allowed-active
6-3
5-4
5-8
loop devices
5-14
mismatches
5-1
displaying information
link state
5-13
5-8
merging traffic
restrictions
5-4
5-4
5-12
5-9 to ??
2-31
2-10
TE port mode
2-5
TF port mode
2-5
trunk-allowed
5-4
5-3
5-14
WWNs
5-7
suspended connections
2-10
5-7
5-8
enabling
5-8
5-4
Z
zones
trunk mode
merge failures
administrative default
configuring
2-10
2-19
5-8, 5-9
default settings
status
5-14
5-9
trunk ports
displaying information
5-14
V
virtual devices
TL ports
2-31
VSAN IDs
allowed list
5-14
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
IN-7
Index
Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m
IN-8