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