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
Enhancements
FlexAttach
Monitoring Monitoring a selected port group
Chapter Title Description
Audience
Organization
Document Conventions
Boldface font
Related Documentation
Command-Line Interface
Troubleshooting and Reference
Trunks and PortChannels
Fibre Channel Port Rate Limiting
FlexAttach
Extended Credits
Port Virtualization
Interfaces Overview FlexAttach
OL-29284-01, Release
Configuring Interfaces
Information About Interfaces
Interface Description
Interface Modes
NP Ports
Port
FL Port
TF Port
TL Port
TE Port
SD Port
Auto Mode
TNP Port
ST Port
Operational States
Administrative States
Interface States
Reason Codes
Reason Codes for Interface States
Administrative Operational Configuration Status Reason Code
None
Reason Codes for Nonoperational States
Applicable
Reason Code long version Description Modes
Graceful Shutdown
Autosensing
Port Administrative Speeds
Frame Encapsulation
Beacon LEDs
Bit Error Thresholds
Cisco MDS 9000 Family Switch Interface Modes
Speed LEDs
SFP Transmitter Acronym Definitions
SFP Transmitter Types
Extended transmitters assigned to Cisco-supported SFPs
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
Activating a Port Monitor Policy
Configuring a Port Monitor Port Guard
Configuring Port Group Monitor
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 No-Credit Timeout Value
Configuring Congestion Frame Timeout Value
Configuring Stuck Frame 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
Example 2-3 Displays All Interfaces
Discards, 0 errors
Displaying Interface Information
Interface fc3/13 , fc3/16
Example 2-4 Displays Multiple, Specified Interfaces
Interface fc1/1 5 , fc2/5
Frames/sec
Switch# show interface fc2/2 fc2/2 is trunking
Example 2-5 Displays a Specific Interface
Example 2-6 Displays Port Description
Switch# show interface description
Switch# show interface brief
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
Example 2-17 Displays the TL Ports in All VSANs
Switch# show tlport list
Displaying TL Port Information
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
Displaying Vsan Interface Information
Displaying Management Interface Configuration
Switch# show interface mgmt 0 mgmt0 is up
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
Switches
Supports Default Speed Product Name
Mode and Rate
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
Bandwidth Fairness
Upgrade or Downgrade Scenario
Switch# show module 2 bandwidth-fairness
Guidelines and Limitations
Port Index Limitations
Local Switching Limitations
Switch# show port index-allocation
Generation 1 Module Supervisor-1 Module Supervisor-2 Module
Switch# show module
Number of Port Indexes Required
Port Index Requirements for Generation 1 Modules
Show port index-allocation startup
PortChannel Limitations
PortChannels have the following restrictions
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
New Member Members PortChannel Type Addition Type Result
PortChannel Configuration and Addition Results
PortChannel
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
14 Default Generation 4 Interface Parameters
Configuring Fibre Channel Interfaces
Port mode BBcredit buffers
Configure the rate mode dedicated or shared to use
Configure the rate mode dedicated or shared
Configure the port mode
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
Displaying Interface Capabilities
Switch# show interface fc 9/1 capabilities
Switch# show interface fc 4/1 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 3/4 through fc 3/6
Configuration Example for 24-Port 4-Gbps Module Interfaces
Select the interfaces fc 4/7 through fc 4/10
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
Gbps Speed
Dedicated Rate Mode
48-Port 4-Gbps Switching Module BBCredit Buffer Allocation
Gbps
24-Port 4-Gbps Switching Module BBCredit Buffer Allocation
Port 4-Gbps Fibre Channel Module BBCredit Buffers
Gbps Speed BBCredit Buffer Allocation Type ISL Fx Port
Port 4-Gbps Switching Module BBCredit Buffers
12-Port 4-Gbps Switching Module BBCredit Buffer Allocation
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
Receive Data Field Size
Configuring Interface Buffers
Configuring Buffer-to-Buffer Credits
Configuring Performance Buffers
Configuring Extended BBcredits
Enabling the Buffer-to-Buffer State Change Number
Enabling Buffer-to-Buffer Credit Recovery
Configuring Receive Data Field Size
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
1a and 1b Port trunk with N port Port trunk with NP port
Trunking F Ports
Link Number Link Description
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
Enabling the F Port Trunking and Channeling Protocol
Configuring Trunk Mode
Configuring an Allowed-Active List of VSANs
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
PortChannel Flexibility
PortChannels Overview
PortChannels
Trunking Only
TF PortChannels
PortChanneling and Trunking
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
Interface Deletion from a PortChannel
PortChannel Protocols
Forcing an Interface Addition
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
Default PortChannel Parameters
3lists the default settings for PortChannels
Misconfigured Configurations
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
Converting to Manually Configured Channel Groups
Verifying PortChannel Configuration
Enabling and Configuring Autocreation
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
Npiv Example
Port Identifier Virtualization
Port Virtualization
Cisco NPV Fabric Configuration
NPV Mode
Internal Flogi Parameters
NP Ports
NP Links
Internal Flogi Parameters
Default Port Numbers
Parameter Derived From
Auto
NPV CFS Distribution over IP
NPV Traffic Management
Traffic Map
NPV Guidelines and Requirements
Multiple Vsan Support
Disruptive
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
Verifying NPV
Switch# show fcns database
Switch# show fcns database detail
Verifying NPV Traffic Management
Switch# show npv flogi-table
Switch# show npv internal info traffic-map
OL-29284-01, Release
Information About FlexAttach Virtual pWWN
FlexAttach Virtual pWWN
Difference Between SDV and FlexAttach Virtualization
FlexAttach Virtual pWWN CFS Distribution
SAN Device Virtualization SDV FlexAttach Virtualization
Automatically Assigning FlexAttach Virtual pWWN
Configuring FlexAttach Virtual pWWN
Security Settings for 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
Verifying the End Device
Error Description Workaround
Monitoring FlexAttach Virtual pWWN
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
Enabling Port Tracking
Configuring Port Tracking
Information About Configuring Linked Ports
Binding a Tracked Port Operationally
Information About Tracking Multiple Ports
Monitoring Ports in a Vsan
Tracking Multiple Ports
Information About Monitoring Ports in a Vsan
Forcefully Shutting Down a Tracked Port
Displaying Port Tracking Information
Information AboutForceful Shutdown
Linked port
Port linked to interface fc1/1
Switch# show interface fc1/1
Switch# show interface port-channel
Example 9-4 Displays a Forced Shutdown Configuration
Switch# show interface fc 1/5
Asterisk First operational port
Bandwidth fairness Default settings Example configurations
Port 10-Gbps switching modules
IN-2
Deleting from PortChannels
IN-3
Configuring descriptions
MPS-14/2 modules Configuring extended BBcredits
IN-5
IN-6
Status Trunk ports Displaying information
TL ports Alpa caches Configuring
Trunk mode Administrative default Configuring
IN-8