Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
Americas Headquarters
Page
N T E N T S
TL Ports
Specifying a Port Owner
Configuring Fibre Channel Interfaces
Information About Interface Buffers
Default Settings
Deleting an Interface from a PortChannel
Verifying NPV
Monitoring Ports in a Vsan
Xii
Three new counters for the port Monitor command
Port Monitor Configuring Port Added information about 22a
Enhancements Monitor Policy Feature Port Monitor Port Guard
About This Guide
Monitoring Monitoring a selected port group
FlexAttach
Enhancements
Organization
Audience
Chapter Title Description
Document Conventions
Boldface font
Related Documentation
Command-Line Interface
Troubleshooting and Reference
Trunks and PortChannels
Fibre Channel Port Rate Limiting
Port Virtualization
Extended Credits
FlexAttach
Interfaces Overview FlexAttach
OL-29284-01, Release
Configuring Interfaces
Information About Interfaces
Interface Description
Interface Modes
FL Port
Port
NP Ports
TE Port
TL Port
TF Port
SD Port
Auto Mode
TNP Port
ST Port
Operational States
Administrative States
Interface States
Reason Codes
None
Administrative Operational Configuration Status Reason Code
Reason Codes for Interface States
Reason Code long version Description Modes
Applicable
Reason Codes for Nonoperational States
Graceful Shutdown
Frame Encapsulation
Port Administrative Speeds
Autosensing
Beacon LEDs
Bit Error Thresholds
Cisco MDS 9000 Family Switch Interface Modes
Speed LEDs
Extended transmitters assigned to Cisco-supported SFPs
SFP Transmitter Types
SFP Transmitter Acronym Definitions
Translation from Translation to Example
TL Ports
CWDM-1590 CWDM-1610 C1590 C1610
Supported TL Port Translations
TL Port Alpa Caches
Port Guard
Port Monitor
Threshold Interval Rising Falling Counter Type Seconds Event
Port Group Monitor
Local Switching
Port Monitor Port Guard
Rising Threshold
Slow Drain Device Detection and Congestion Avoidance
Management Interfaces
Guidelines and Limitations
Generation 1 Interface Configuration Guidelines
Prerequisites for Interfaces
Vsan Interfaces
Private Loop Configuration Guidelines
Vsan Interface Configuration Guidelines
7lists the default settings for interface parameters
Default Settings
Configuring Interfaces
Parameters Default
Configuring Fibre Channel Interfaces
Command Purpose
Setting the Interface Administrative State
Configuring Interface Modes
Mode F if applicable
Configuring System Default Port Mode F
Sets the administrative mode of Fibre Channel ports to
Default unless user configured
Configuring ISL between Two Switches
Configuring 10-Gbps FC Mode
Configuring Port Administrative Speeds
Configuring Port Speed Group
Configuring the Interface Description
Interface configuration submode
Configuring Beacon Mode
Enters configuration mode
Specifying a Port Owner
Disabling Bit Error Threshold
Configuring Switch Port Attribute Default Values
Manually Inserting Entries into the Alpa Cache
Configuring TL Ports
Configures manual entries into the Alpa cache
Clearing the Alpa Cache
Configuring Port Guard
Enables default port monitoring
Configuring Port Monitor
To enable port monitor, follow these steps
Disables port monitoring
Configuring a Port Monitor Policy
Reverts to the default policy for sync loss
Specifies the delta protocol error poll interval
Specifies the delta signal loss poll interval
Reverts to the default policy for Tx performance
Configuring Port Group Monitor
Configuring a Port Monitor Port Guard
Activating a Port Monitor Policy
Configuring a Port Group Monitor Policy
Enabling Port Group Monitor
Reverting to the Default Policy for a Specific Counter
Turning Off the Monitoring of Specific Counter
Configuring Management Interfaces
Activating a Port Group Monitor Policy
Creating Vsan Interfaces
Configuring Stuck Frame Timeout Value
Configuring Congestion Frame Timeout Value
Configuring No-Credit Timeout Value
Mode for the switch
Configuring Credit Loss Recovery Threshold and Action
Specifies the no-credit timeout value and port
Specifies the default no-credit timeout value port
Verifying Interfaces Configuration
Configuring Interfaces Verifying Interfaces Configuration
Displaying Interface Information
Discards, 0 errors
Example 2-3 Displays All Interfaces
Interface fc1/1 5 , fc2/5
Example 2-4 Displays Multiple, Specified Interfaces
Interface fc3/13 , fc3/16
Example 2-5 Displays a Specific Interface
Switch# show interface fc2/2 fc2/2 is trunking
Frames/sec
Switch# show interface brief
Switch# show interface description
Example 2-6 Displays Port Description
Switch# show interface counters fc3/1
Example 2-8 Displays Interface Counters
Switch# show interface counters brief
Example 2-9 Displays Interface Counters in Brief Format
Switch# show running-config
Example 2-10 Displays Transceiver Information
Switch# show running-config interface fc1/1
System default switchport mode F interface fc4/1
Displaying TL Port Information
Switch# show tlport list
Example 2-17 Displays the TL Ports in All VSANs
Displaying the Alpa Cache Contents
Displaying Port Monitor Status and Policies
Switch# show port-monitor
Port-monitor active
Switch# show port-group-monitor status
Displaying Port Group Monitor Status and Policies
Pgm1
Switch# show port-group-monitor
Default
Pgm2
Switch# show interface mgmt 0 mgmt0 is up
Displaying Management Interface Configuration
Displaying Vsan Interface Information
OL-29284-01, Release
Generations of Modules and Switches
Information About Fibre Channel Interfaces
Backplane crossbar bandwidth
Generation 3 Fabric Switch
Part Number Product Name and Description
Any-to-any connectivity
Maximum
Generation 2 Fabric Switches
Port Groups
Product Name
Part Number Description Per Port Group Gbps
Generation 3 Fabric Switches
DS-C9148-K9 Port 8-Gbps Cisco MDS Fabric switch
Generation 3 Modules
Port Rate Modes
Mode and Rate
Supports Default Speed Product Name
Switches
Configured Speed Reserved Bandwidth
Dedicated Rate Mode
Part Number Description Mode Mode on All Ports
Auto Gbps Auto with 4-Gbps maximum
Shared Rate Mode
Auto Gbps Auto with 2-Gbps maximum
Dedicated Rate Mode Configurations for the 8-Gbps Modules
Modules
Negotiates to a maximum speed of 4 Gbps
Port Speed
Dynamic Bandwidth Management
Negotiates to a maximum speed of 8 Gbps
Out-of-Service Interfaces
Oversubscription Ratio Restrictions
Switch# show port-resources module 8 Module
Bandwidth Allocation for Oversubscribed Interfaces
Switch# show port-resources module
Fc5/12 Shared Port-Group Total bandwidth is 32.4 Gbps
Fc5/31
Buffers Gbps
Switch# show module 2 bandwidth-fairness
Upgrade or Downgrade Scenario
Bandwidth Fairness
Guidelines and Limitations
Switch# show port index-allocation
Local Switching Limitations
Port Index Limitations
Generation 1 Module Supervisor-1 Module Supervisor-2 Module
Switch# show module
Number of Port Indexes Required
Port Index Requirements for Generation 1 Modules
PortChannels have the following restrictions
PortChannel Limitations
Show port index-allocation startup
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
PortChannel
PortChannel Configuration and Addition Results
New Member Members PortChannel Type Addition Type Result
If resources are not available
Auto
Default Port 4-Gbps Port 10-Gbps Parameter Switching Module
Speed mode Auto Auto1 Rate mode Shared
Shared Dedicated
Port mode BBcredit buffers
Configuring Fibre Channel Interfaces
14 Default Generation 4 Interface Parameters
Configure the port mode
Configure the rate mode dedicated or shared
Configure the rate mode dedicated or shared to use
Task Flow for Configuring 12-Port 4-Gbps Module Interfaces
Task Flow for Configuring 4-Port 10-Gbps Module Interfaces
Configuring Port Speed
Configuring Rate Mode
Switch# show interface fc 9/1 fc9/1 is up
Displaying the Rate Mode Configuration for Interfaces
Port-resources command to
Switch# show port-resource module 4 Module
Fc4/1232 8.0 shared Port-Group Total bandwidth is 12.8 Gbps
Switch# show port-resources module 7 Module
Fc7/13
Configuring Local Switching
Disabling Restrictions on Oversubscription Ratios
Buffers Gbps Fc2/1 Shared Fc2/2 Fc2/3
Enabling Restrictions on Oversubscription Ratios
Switch# show running-config include oversubscription-limit
Switch# copy running-config startup-config
Shut down
Enabling Bandwidth Fairness
Disabling Bandwidth Fairness
Taking Interfaces Out of Service
Configuration submode
Selects the interface and enters interface
Fc9/2 out-of-service
Disables the interface
Takes the interface out of service
Releasing Shared Resources in a Port Group
Verifying Fibre Channel Interfaces Configuration
Disabling ACL Adjacency Sharing for System Image Downgrade
Switch# show interface fc 4/1 capabilities
Switch# show interface fc 9/1 capabilities
Displaying Interface Capabilities
Configuration Examples for Fibre Channel Interfaces
Displaying SFP Diagnostic Information
Enable the interfaces and return to configuration mode
Configuration Example for 48-Port 8-Gbps Module Interfaces
Configuration Example for 24-Port 8-Gbps Module Interfaces
Select the interfaces fc 4/3 through fc 4/4
Select interfaces fc 3/1
Disable the interfaces and take them out of service
Return to configuration mode
Select the interfaces fc 3/2 through fc 3/3
Select the interfaces fc 4/2 through fc 4/10
Configuration Example for 48-Port 4-Gbps Module Interfaces
Switchconfig# interface fc 4/2
Select the interfaces fc 4/1 through fc 4/6
Select the interfaces fc 4/7 through fc 4/10
Configuration Example for 24-Port 4-Gbps Module Interfaces
Select the interfaces fc 3/4 through fc 3/6
OL-29284-01, Release
Information About Interface Buffers
Buffer-to-Buffer Credits
Performance Buffers
Buffer Pools
Total BB credit buffers
189047
BBCredit Buffers for Switching Modules
Gbps Speed BBCredit Buffer Allocation
Shared Rate Mode
BBCredit Buffers Per Port
Fx Port
Default BBcredit buffers 250 Maximum BBcredit buffers 500
Port 8-Gbps Switching Module BBCredit Buffer Allocation
Total Number of BBCredit Buffers per Module
Default BBcredit buffers 500 Maximum BBcredit buffers
24-Port 8-Gbps Switching Module BBCredit Buffer Allocation
Ports 1 through Ports 13 through 6000
Three ports with dedicated rate mode and 4-Gbps speed
4/44-Port 8-Gbps Switching Module BBCredit Buffer Allocation
48-Port 4-Gbps Switching Module BBCredit Buffer Allocation
Dedicated Rate Mode
Gbps Speed
Gbps
24-Port 4-Gbps Switching Module BBCredit Buffer Allocation
Port 4-Gbps Fibre Channel Module BBCredit Buffers
12-Port 4-Gbps Switching Module BBCredit Buffer Allocation
Port 4-Gbps Switching Module BBCredit Buffers
Gbps Speed BBCredit Buffer Allocation Type ISL Fx Port
ISL
Gbps Speed BBCredit Buffer Allocation Type
Port 10-Gbps Switching Module BBCredit Buffers
4-Port 10-Gbps Switching Module BBCredit Buffer Allocation
Port
Cisco MDS 9134 Fabric Switch BBCredit Buffers
BBCredit Buffers for Fabric Switches
Cisco MDS 9148 Fabric Switch BBCredit Buffers
Port 8-Gbps Fabric Switch BBCredit Buffer Allocation
MDS 9124 Fabric Switch BBCredit Buffer Allocation Defaults
Cisco MDS 9124 Fabric Switch BBCredit Buffers
User-configurable BBcredit buffers 4509 250
Extended BBCredits
Extended BBcredits on Generation 1 Switching Modules
Port Group Support for the Extended BBCredits Feature
OL-29284-01, Release
Buffer-to-Buffer Credit Recovery
Buffer-to-Buffer State Change Number
Configuring Buffer-to-Buffer Credits
Configuring Interface Buffers
Receive Data Field Size
Configuring Performance Buffers
Configuring Extended BBcredits
Configuring Receive Data Field Size
Enabling Buffer-to-Buffer Credit Recovery
Enabling the Buffer-to-Buffer State Change Number
Reduces the data field size for the selected
Verifying BBCredit Configuration
Interface to 2000 bytes. The default is
Bytes and the range is from 256 to 2112 bytes
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
Information About Trunking
Trunking E Ports
Link Number Link Description
Trunking F Ports
1a and 1b Port trunk with N port Port trunk with NP port
Trunking Protocols
Trunking NP port with third-party core switch F port
Key Concepts
PortChannnel with NP port
Port Type Switch Trunking State Port Mode
Trunk Link Default
Your Trunk Mode Configuration
Port Type Core Switch NPV Switch Trunking State Link Mode
Trunk-Allowed Vsan Lists and VFIDs
Vsan and VF-ID Reservations
Are
Operational and Allowed Vsan Configuration
General Guidelines and Limitations
Switch# show interface fc2/15
Upgrade and Downgrade Limitations
Switchconfig-if#switchport trunk allowed vsan
Difference Between TE Ports and TF-TNP Ports
Sw7# show interface fc1/13
W7# show interface fc1/13
Trunking Misconfiguration Examples
Vsan Mismatch
Configuring Trunking
Enabling the Cisco Trunking and Channeling Protocols
Configuring an Allowed-Active List of VSANs
Configuring Trunk Mode
Enabling the F Port Trunking and Channeling Protocol
Verifying Trunking Configuration
Configure the trunk mode to on on the MDS core switch
Configuration Example for F Port Trunking
Enable Npiv on the MDS core switch
Configure the port mode to NP on the NPV switch
Save the configuration
Switchconfig# copy running-config startup-config
OL-29284-01, Release
Configuring PortChannels
Information About PortChannels
PortChannels
PortChannels Overview
PortChannel Flexibility
PortChanneling and Trunking
TF PortChannels
Trunking Only
Load Balancing
PortChanneling and Trunking
SID1 and DID1-Based Load Balancing
PortChannel Modes
SID1, DID1, and Exchange-Based Load Balancing
PortChannel Deletion
On Mode Active Mode
Channel Group Configuration Differences
Interfaces in a PortChannel
Interface Addition to a PortChannel
Compatibility Check
Forcing an Interface Addition
PortChannel Protocols
Interface Deletion from a PortChannel
Channel Group Creation
Autocreating Channel Groups
User-Configured Channel Group Autocreated Channel Group
Autocreation
Manually Configured Channel Groups
Prerequisites for PortChannels
Configuring PortChannels Guidelines and Limitations
Generation 1 PortChannel Limitations
TF PortChannel Limitations
7provides examples of valid PortChannel configurations
Valid and Invalid PortChannel Examples
Misconfigured Configurations
3lists the default settings for PortChannels
Default PortChannel Parameters
Configures the specified PortChannel 1 using
Configuring PortChannels
Configuring the PortChannel Mode
Default on mode
Deleting PortChannels
Adding an Interface to a PortChannel
Forcing an Interface Addition
Deleting an Interface from a PortChannel
Enabling and Configuring Autocreation
Verifying PortChannel Configuration
Converting to Manually Configured Channel Groups
Example 6-1 Displays the PortChannel Summary
Switch# show port-channel summary
Switch# show port-channel database port-channel
Port-channel database
Example 6-4 Displays the Consistency Status without Details
Switch# show port-channel consistency
Switch# show port-channel consistency detail
Example 6-5 Displays the Consistency Status with Details
Example 6-8 Displays Autocreated PortChannels
Example 6-6 Displays the PortChannel Usage
Example 6-7 Displays the PortChannel Compatibility
Example 6-9 Displays the Specified PortChannel Interface
Create the PortChannel on the NPV switch
Configuration Examples for F and TF PortChannels
Create the PortChannel on the MDS core switch
Example 6-10 Displays the PortChannel Summary
Create the PortChannel in dedicated mode on the NPV switch
Switchconfig# interface port-channel
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
Configuring N Port Virtualization
NPV Overview
Port Virtualization
Port Identifier Virtualization
Npiv Example
Cisco NPV Fabric Configuration
NPV Mode
NP Links
NP Ports
Internal Flogi Parameters
Parameter Derived From
Default Port Numbers
Internal Flogi Parameters
Auto
NPV CFS Distribution over IP
NPV Traffic Management
Traffic Map
Disruptive
Multiple Vsan Support
NPV Guidelines and Requirements
Dpvm Configuration Guidelines
NPV Traffic Management Guidelines
NPV and Port Security Configuration Guidelines
Configuring N Port Virtualization
Configuring NPV
Enabling N Port Identifier Virtualization
Enables Npiv mode on the NPV core switch
To configure NPV using the CLI, perform the following tasks
On the NPV core switch, enters configuration
Disables Npiv mode on the NPV core switch
Configuring NPV Traffic Management
Verifying NPV Configuration
Enabling the Global Policy for Disruptive Load Balancing
Switch# show fcns database detail
Switch# show fcns database
Verifying NPV
Switch# show npv internal info traffic-map
Switch# show npv flogi-table
Verifying NPV Traffic Management
OL-29284-01, Release
Information About FlexAttach Virtual pWWN
FlexAttach Virtual pWWN
SAN Device Virtualization SDV FlexAttach Virtualization
FlexAttach Virtual pWWN CFS Distribution
Difference Between SDV and FlexAttach Virtualization
Security Settings for FlexAttach Virtual pWWN
Configuring FlexAttach Virtual pWWN
Automatically Assigning FlexAttach Virtual pWWN
Manually Assigning FlexAttach Virtual pWWN
Mapping pWWN to Virtual pWWN
Specified virtual pWWN and the real pWWN must not be logged
Verifying FlexAttach Virtual pWWN Configuration
Commits the configuration
To map pWWN to virtual pWWN, perform this task
Monitoring FlexAttach Virtual pWWN
Error Description Workaround
Verifying the End Device
Error Description Workaround
OL-29284-01, Release
Configuring Port Tracking
Information About Port Tracking
1lists the default settings for port tracking parameters
Default Port Tracking Parameters
Information About Configuring Linked Ports
Configuring Port Tracking
Enabling Port Tracking
Binding a Tracked Port Operationally
Information About Tracking Multiple Ports
Information About Monitoring Ports in a Vsan
Tracking Multiple Ports
Monitoring Ports in a Vsan
Forcefully Shutting Down a Tracked Port
Displaying Port Tracking Information
Information AboutForceful Shutdown
Linked port
Switch# show interface port-channel
Switch# show interface fc1/1
Port linked to interface fc1/1
Example 9-4 Displays a Forced Shutdown Configuration
Switch# show interface fc 1/5
Port 10-Gbps switching modules
Bandwidth fairness Default settings Example configurations
Asterisk First operational port
IN-2
Deleting from PortChannels
IN-3
Configuring descriptions
MPS-14/2 modules Configuring extended BBcredits
IN-5
IN-6
Trunk mode Administrative default Configuring
TL ports Alpa caches Configuring
Status Trunk ports Displaying information
IN-8