Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
Configuring Fibre Channel Interfaces
Downloads: This chapterpdf (PDF - 472.0KB) The complete bookPDF (PDF - 3.24MB) | Feedback

Configuring Fibre Channel Interfaces

Table Of Contents

Configuring Fibre Channel Interfaces

About Generations of Modules and Switches

Port Groups and Port Rate Modes

Port Groups

Port Rate Modes

Dedicated Rate Mode

Shared Rate Mode

Dedicated Rate Mode Configurations for the 8-Gbps Modules

Dynamic Bandwidth Management

Out-of-Service Interfaces

Combining Generation 1, Generation 2, and Generation 3 Modules

Port Indexes

PortChannels

Configuring Module Interface Shared Resources

Displaying Interface Capabilities

Configuration Guidelines for 48-Port, 24-Port, and 4/44-Port 8-Gbps Fibre Channel Switching Modules

Migrating from Shared Mode to Dedicated Mode

Migrating from Dedicated Mode to Shared Mode

Configuration Guidelines for 48-Port and 24-Port 4-Gbps Fibre Channel Switching Modules

Migrating from Shared Mode to Dedicated Mode

Migrating from Dedicated Mode to Shared Mode

Configuration Guidelines for 12-Port 4-Gbps Switching Module Interfaces

Configuration Guidelines for 4-Port 10-Gbps Switching Module Interfaces

Configuring Port Speed

Configuring Rate Mode

Configuring Oversubscription Ratio Restrictions

Disabling Restrictions on Oversubscription Ratios

Oversubscription Ratio Restrictions Example

Enabling Restrictions on Oversubscription Ratios

Configuring Bandwidth Fairness

Enabling Bandwidth Fairness

Disabling Bandwidth Fairness

Upgrade or Downgrade Scenario

Taking Interfaces Out of Service

Releasing Shared Resources in a Port Group

Disabling ACL Adjacency Sharing for System Image Downgrade

Displaying SFP Diagnostic Information

Example Configurations

Configuring a 48-Port 8-Gbps Fibre Channel Switching Module Example

Configuring a 24-Port 8-Gbps Fibre Channel Switching Module Example

Configuring a 4/44-Port 8-Gbps Fibre Channel Switching Module Example

Configuring a 24-Port 4-Gbps Fibre Channel Switching Module Example

Configuring a 48-Port 4-Gbps Fibre Channel Switching Module Example

Default Settings


Configuring Fibre Channel Interfaces


Cisco MDS 9000 Family hardware modules and switches are categorized into generations based on the time of introduction, capabilities, features, and compatibilities:

Generation 1—Modules and switches with a maximum port speed of 2 Gbps.

Generation 2—Modules and switches with a maximum port speed of 4 Gbps.

Generation 3—Modules and switches with a maximum port speed of 8 Gbps.

This chapter describes how to configure these Fibre Channel interfaces, including the following sections:

About Generations of Modules and Switches

Port Groups and Port Rate Modes

Combining Generation 1, Generation 2, and Generation 3 Modules

Configuring Module Interface Shared Resources

Configuring Port Speed

Configuring Rate Mode

Configuring Oversubscription Ratio Restrictions

Configuring Bandwidth Fairness

Taking Interfaces Out of Service

Releasing Shared Resources in a Port Group

Disabling ACL Adjacency Sharing for System Image Downgrade

Displaying SFP Diagnostic Information

Example Configurations

Default Settings

About Generations of Modules and Switches

The Cisco MDS 9500 Series switches, Cisco MDS 9222i, Cisco MDS 9216A and Cisco MDS 9216i switches support a set of modules called the Generation 2 modules. Each module or switch can have one or more ports in port groups that share common resources such as bandwidth and buffer credits.

In addition to supporting Generation 2 modules, the Cisco MDS 9500 Series switches and the Cisco MDS 9222i switch support another set of modules called Generation 3 modules. Similar to Generation 2, each Generation 3 module can have one or more ports in port groups that share common resources such as bandwidth and buffer credits.

Generation 3 Fibre Channel modules are supported on the Cisco MDS 9506 and 9509 switches with Supervisor-2 modules. The MDS 9513 Director supports 4/44-port Host-Optimized Fibre Channel switching module with either Fabric 1 or Fabric 2 modules, but requires Fabric 2 module for support of the 48-port and the 24-port 8-Gbps Fibre Channel switching modules. The MDS 9222i switch supports the 4/44-port Host-Optimized Fibre Channel switching module. MDS NX-OS Release 4.1(1) is required to support the Generation 3 modules.

Table 3-1 identifies the Generation 2 and Generation 3 modules, as well as the Fabric switches.

Table 3-1 Fibre Channel Modules and Fabric Switches 

Part Number
Product Name/Description
Generation 3 Modules

DS-X9248-96K9

48-port 8-Gbps Fibre Channel switching module

DS-X9224-96K9

24-port 8-Gbps Fibre Channel switching module

DS-X9248-48K9

4/44-port 8-Gbps Host-Optimized Fibre Channel switching module

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 3 Fabric Switches

DS-C9148-K9

Cisco MDS 9148 Fabric switch

48-port 8-Gbps Fabric switch

Generation 2 Modules

DS-X9148

48-port 4-Gbps Fibre Channel switching module

DS-X9124

24-port 4-Gbps Fibre Channel switching module

DS-X9304-18K9

18-port 4-Gbps Fibre Channel switching module with 4-Gigabit Ethernet ports

DS-X9112

12-port 4-Gbps Fibre Channel switching module

DS-X9704

4-port 10-Gbps Fibre Channel switching module

DS-X9530-SF2-K9

Supervisor-2 module for Cisco MDS 9500 Series switches.

Generation 2 Fabric Switches

DS-C9134-K9

Cisco MDS 9134 Fabric switch

32-port 4-Gbps Fabric switch with 2 additional 10-Gbps ports

DS-C9124

Cisco MDS 9124 Fabric switch

24-port 4-Gbps Fabric switch

DS-C9222i-K9

Cisco MDS 9222i Multiservice Modular switch

18-port 4-Gbps switch with 4-Gigabit Ethernet IP storage services ports, and a modular expansion slot to host Cisco MDS 9000 Family switching and services modules



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.

Port Groups and Port Rate Modes

This section includes the following topics:

Port Groups

Port Rate Modes

Dedicated Rate Mode Configurations for the 8-Gbps Modules

Dynamic Bandwidth Management

Out-of-Service Interfaces

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-6 shows the port groups for the Generation 2 and Generation 3 Fibre Channel modules, and Generation 2 and Generation 3 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

6

12.8

8 Gbps

DS-X9224-96K9

24-port 8-Gbps Fibre Channel switching module

3

12.8

8 Gbps

DS-X9248-48K9

4/44-port 8-Gbps Host-Optimized Fibre Channel switching module

12

12.8

8/4 Gbps1

Generation 3 Fabric Switches

DS-C9148-K9

(Cisco MDS 9148 Fabric switch)

48-port 8-Gbps Fabric switch

4

32

8 Gbps

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

6

12.8

4 Gbps

DS-X9304-18K9

(MSM-18/4 Multiservice module)

18-port 4-Gbps Fibre Channel switching module with 4-Gigabit Ethernet ports

6

12.8

4 Gbps

DS-X9112

12-port 4-Gbps Fibre Channel switching module

3

12.8

4 Gbps

DS-X9704

4-port 10-Gbps Fibre Channel switching module

1

10

10 Gbps

Generation 2 Fabric Switches

DS-C9134-K9

(Cisco MDS 9134 Fabric switch)

32-port 4-Gbps Fabric switch

4

16

4 Gbps

2-port 10-Gbps Fabric switch

1

10

10 Gbps

DS-C9124K9 (Cisco MDS 9124 Fabric switch)

24-port 4-Gbps Fabric switch

4

16

4 Gbps

DS-C9222i-K9

(Cisco MDS 9222i Multiservice Modular switch)

18-port 4-Gbps, 4 Gigabit Ethernet ports and a modular expansion slot.

6

12.8

4 Gbps

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.


Port Rate Modes

In Generation 2 and Generation 3 modules, you can configure the port rate modes. The port rate mode configuration is used to determine the bandwidth allocation for ports in a port group. Two port rate modes are supported:

Dedicated Rate Mode—A 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.

Shared Rate Mode—Multiple ports in a port group share data paths to the switch fabric and share bandwidth. For more information, see the "Shared Rate Mode" section.


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.


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
Product Name/
Description
Supports Dedicated Rate Mode
Supports Shared Rate Mode
Default Speed Mode and Rate Mode on All Ports
Generation 3 Modules

DS-X9248-96K9

48-Port 8-Gbps Fibre Channel switching module

Yes

Yes1

Auto, Shared

DS-X9224-96K9

24-Port 8-Gbps Fibre Channel switching module

Yes

Yes1

Auto, Shared

DS-X9248-48K9

4/44-Port 8-Gbps Host-Optimized Fibre Channel switching module

Yes

Yes1

Auto Max 4 Gbps, Shared

Generation 3 Fabric Switches

DS-C9148-K9

(Cisco MDS 9148 Fabric switch)

48-port 8-Gbps Fabric switch

Yes

No

Auto, Dedicated

Generation 2 Modules

DS-X9148

48-port 4-Gbps Fibre Channel switching module2

Yes

Yes

Auto, Shared

DS-X9124

24-port 4-Gbps Fibre Channel switching module

Yes

Yes

Auto, Shared

DS-X9304-18K9

(MSM-18/4 Multiservice module)

18-port 4-Gbps Fibre Channel switching module with 4-Gigabit Ethernet ports

Yes

Yes

Auto, Shared

DS-X9112

12-port 4-Gbps Fibre Channel switching module

Yes

No

Auto, Dedicated

DS-X9704

4-port 10-Gbps Fibre Channel switching module

Yes

No

Auto, Dedicated

Generation 2 Fabric Switches

DS-C9134-K9

(Cisco MDS 9134 Fabric switch)

32-port 4-Gbps Fabric switch

Yes

Yes

Auto, Shared

2-port 10-Gbps Fabric switch

Yes

No

Auto, Dedicated

DS-C9124

(Cisco MDS 9124 Fabric switch)

24-port 4-Gbps Fabric switch3

Yes

No

Auto, Dedicated

DS-C9222i-K9

(Cisco MDS 9222i Multiservice Modular switch)

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

Yes

Auto, Shared

1 Shared rate mode is supported on Fx ports only and no ISLs.

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


Dedicated Rate Mode

When port rate mode is configured as dedicated, a port is allocated required fabric bandwidth and related resources to sustain line rate traffic at the maximum operating speed configured for the port. In this mode, ports do not use local buffering and all receive buffers are allocated from a global buffer pool (see the "Buffer Pools" section). 

Table 3-4 shows the bandwidth provided by the various port speed configurations on the 8-Gbps Fibre Channel switching modules.

Table 3-4 Bandwidth Reserved for the Port Speeds on Generation 3 Switching Modules 

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 shows the amount of bandwidth reserved for a configured port speed on 4-Gbps switching modules.

Table 3-5 Bandwidth Reserved for the Port Speeds on Generation 2 Switching Modules 

Configured Speed
Reserved Bandwidth

Auto

4 Gbps

4-Gbps

Auto with 2-Gbps maximum

2 Gbps

2-Gbps

1-Gbps

1 Gbps



Note The 4-Port 10-Gbps Fibre Channel module ports in auto mode only support auto speed mode at 10 Gbps.


Shared Rate Mode

When port rate mode is configured as shared, multiple ports within a port group share data paths to the switch fabric so that fabric bandwidth and related resources are shared. Often, the available bandwidth to the switch fabric may be less than the negotiated operating speed of a port. Ports in this mode use local buffering for the BB_credit buffers.

All ports in 4-Gbps Fibre Channel switching modules where bandwidth is shared support 1-Gbps, 2-Gbps, or 4-Gbps traffic. However, it is possible to configure one or more ports in a port group to operate in dedicated rate mode with 1-Gbps, 2-Gbps or 4-Gbps operating speed.

All ports in the 48-Port and 24-Port 8-Gbps Fibre Channel switching modules where bandwidth is shared support 1-Gbps, 2-Gbps, 4-Gbps, or 8-Gbps traffic.

In the 4/44-Port 8-Gbps Host-Optimized Fibre Channel switching module, all the ports where bandwidth is shared support 1-Gbps, 2-Gbps, 4-Gbps in a maximum of 44 ports, or 8 Gbps in a maximum of 4 ports.

Dedicated Rate Mode Configurations for the 8-Gbps Modules

Table 3-6 shows the maximum possible dedicated rate mode configuration scenarios for the Generation 3 Fibre Channel modules.

Table 3-6 Dedicated Rate Mode Bandwidth Reservation for Generation 3 Fibre Channel Modules 

Part Number
Product Name/ Description
Dedicated Bandwidth per Port
Maximum Allowed Ports that can come up
Ports in Shared Mode

DS-X9248-96K9

48-port 8-Gbps Fibre Channel switching module

8 Gbps

8 Ports

All the remaining ports are 8 Gbps shared.

4 Gbps

24 Ports

2 Gbps

48 Ports

DS-X9224-96K9

24-port 8-Gbps Fibre Channel switching module

8 Gbps

8 Ports

All the remaining ports are 8 Gbps shared.

4 Gbps

24 Ports

DS-X9248-48K9

4/44-port 8-Gbps Host-Optimized Fibre Channel switching module

8 Gbps

4 Ports

All the remaining ports are 4 Gbps shared (8 Gbps of bandwidth can be provided only to one port per port group in Dedicated or Shared rate mode).

4 Gbps

12 Ports

2 Gbps

24 Ports

1 Gbps

48 Ports


Dynamic Bandwidth Management

On port switching modules where bandwidth is shared, the bandwidth available to each port within a port group can be configured based on the port rate mode and speed configurations. Within a port group, some ports can be configured in dedicated rate mode while others operate in shared mode.

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 guaranteed 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 minimum 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.

Combining Generation 1, Generation 2, and Generation 3 Modules

Cisco MDS NX-OS Release 4.1(1) and later supports combining Generation 1, Generation 2, and Generation 3 modules and switches with the following considerations:

MDS NX-OS Release 4.1(1) and later features are not supported on Generation 1 switches and modules.

Generation 3 modules do not support the following Generation 1 hardware:

Supervisor 1 module

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 switch

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.

MDS Fabric Manager Release 4.x supports MDS SAN-OS Release 3.x and NX-OS 4.x in mixed mode through Interswitch Link (ISL) connectivity.


Note When a Cisco or another 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:

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.


Note 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 |      Allowed indices info            |
     |  range  | Total |          Index values        |
-----|---------|-------|------------------------------|
 1   |   0- 255|   16  | 32-47                        |
 2   |   0- 255|   12  | 0-11                         |
 3   |   0- 255|   -   | (None)                       |
 4   |   0- 255|   -   | (None)                       |
 7   |   0- 255|   -   | (None)                       |
 8   |   0- 255|   -   | (None)                       |
 9   |   0- 255|   -   | (None)                       |
SUP  |  -----  |    3  | 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:

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.


Note 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 Port Index Requirements for Generation 1 Modules 

Generation 1 Module
Number of Port Indexes Required
Supervisor-1 Module
Supervisor-2 Module

16-port 2-Gbps Fibre Channel module

16

16

32-port 2-Gbps Fibre Channel module

32

32

8-port Gigabit Ethernet IP Storage Services module

32

32

4-port Gigabit Ethernet IP Storage Services module

32

16

32-port 2-Gbps Fibre Channel Storage Services Module (SSM).

32

32

14-port Fibre Channel/2-port Gigabit Ethernet Multiprotocol Services (MPS-14/2) module

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                      Model              Status
---  -----  -------------------------------- ------------------ ------------
1    16     1/2 Gbps FC Module               DS-X9016           ok
2    12     1/2/4 Gbps FC Module                                powered-dn
5    0      Supervisor/Fabric-2              DS-X9530-SF2-K9    active *
 
   
Mod  Power-Status  Power Down Reason
---  ------------  ---------------------------
2    powered-dn    Insufficient resources (dest Index)
* this terminal session
 
   
Mod  MAC-Address(es)                         Serial-Num
---  --------------------------------------  ----------
1    00-0b-be-f7-4c-24 to 00-0b-be-f7-4c-28  JAB07030723
2    00-05-30-01-a8-b2 to 00-05-30-01-a8-b6  JAB090401AA
5    00-05-30-01-aa-7e to 00-05-30-01-aa-82  JAB091100TF
 
   
* this terminal session
 
   

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.


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:

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.


Note 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.


The Generation1, Generation 2, and Generation 3 modules have the following restrictions for PortChannel configuration:

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.

Generation 2 and Generation 3 switching module interfaces cannot be forcefully added to a PortChannel if sufficient resources are not available.


Note 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.

Table 3-8 PortChannel Configuration and Addition Results 

PortChannel Members
Configured Speed
New Member Type
Addition Type
Result
PortChannel
New Member

No members

Any

Any

Generation 1 or Generation 2 or Generation 3

Force

Pass

Auto

Auto

Generation 1 or Generation 2 or Generation 3

Normal or force

Pass

Auto

Auto max 2000

Generation 2 or Generation 3

Normal

Fail

Force

Pass or fail1

Auto

Auto max 4000

Generation 3

   

Auto max 2000

Auto

Generation 2 or Generation 3

Normal

Fail

Force

Pass

Auto max 2000

Auto max 4000

Generation 3

   

Auto max 4000

Auto

Generation 2 or Generation 3

   
   

Auto max 4000

Auto max 2000

Generation 2 or Generation 3

   

Generation 1 interfaces

Auto

Auto

Generation 2 or Generation 3

Normal

Fail

Force

Pass

Auto max 2000

Auto

Generation 1

Normal or force

Pass

Auto max 2000

Auto

Generation 2 or Generation 3

Normal

Fail

Force

Pass or fail1

Auto max 4000

Auto

Generation 1 or Generation 2

   
   

Auto max 4000

Auto

Generation 3

   
   

Generation 2 interfaces

Auto

Auto

Generation 1

Normal or force

Fail

Auto max 2000

Auto

Generation 1

Normal or force

Pass

Auto max 2000

Auto

Generation 2 or Generation 3

Normal

Fail

Force

Pass

Auto

Auto max 2000

Generation 2 or Generation 3

Normal

Fail

Force

Pass

Generation 3 interfaces

Auto

Auto

Generation 1

Normal or force

Fail

Auto max 2000

Auto

Generation 1

Normal or force

Pass

Auto max 2000

Auto

Generation 2

Normal

Fail

Force

Pass

Auto

Auto max 2000

Generation 2

Normal

Fail

Force

Pass

Auto max 2000

Auto

Generation 3

Normal

Fail

Force

Pass

Auto

Auto max 2000

Generation 3

Normal

Fail

Force

Pass

1 If resources are not available.


Use the show port-channel compatibility parameters command to obtain information about PortChannel addition errors.

Configuring Module Interface Shared Resources

This section describes how to configure Generation 2 and Generation 3 module interface shared resources and contains the following sections:

Displaying Interface Capabilities

Configuration Guidelines for 48-Port, 24-Port, and 4/44-Port 8-Gbps Fibre Channel Switching Modules

Configuration Guidelines for 48-Port and 24-Port 4-Gbps Fibre Channel Switching Modules

Configuration Guidelines for 12-Port 4-Gbps Switching Module Interfaces

Configuration Guidelines for 4-Port 10-Gbps Switching Module Interfaces

Configuring Port Speed

Configuring Rate Mode

Configuring Oversubscription Ratio Restrictions

Configuring Bandwidth Fairness

Taking Interfaces Out of Service

Releasing Shared Resources in a Port Group

Displaying Interface Capabilities

Before configuring a Generation 2 or Generation 3 interface, you can use the show interface capabilities command to display detailed information about the capabilities of the interface.

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)                         (0,6)
 Receive data field size (max/min)                 (2112/256)  bytes
 Transmit data field size (max/min)                (2112/128)  bytes
 Classes of Service supported are                  Class 2, Class 3, Class F
 Class 2 sequential delivery                       supported
 Class 3 sequential delivery                       supported
 Hold time (max/min)                               (100/1) micro sec
 BB state change notification                      supported
 Maximum BB state change notifications             14
 Rate Mode change                                  supported
 
   
 Rate Mode Capabilities                            Shared        Dedicated
  Receive BB Credit modification supported            yes              yes
  FX mode Receive BB Credit (min/max/default)     (1/16/16)      (1/250/16)
  ISL mode Receive BB Credit (min/max/default)         --        (2/250/250)
  Performace buffer modification supported             no               no
 
   
 Out of Service capable                             yes
 Beacon mode configurable                           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)                         (0,6)
 Receive data field size (max/min)                 (2112/256) bytes
 Transmit data field size (max/min)                (2112/128) bytes
 Classes of Service supported are                  Class 2, Class 3, Class F
 Class 2 sequential delivery                       supported
 Class 3 sequential delivery                       supported
 Hold time (max/min)                               (100000/1) micro sec
 BB state change notification                      supported
 Maximum BB state change notifications             14
 Rate Mode change                                  supported
 
   
 Rate Mode Capabilities                            Shared        Dedicated
  Receive BB Credit modification supported            yes              yes
  FX mode Receive BB Credit (min/max/default)     (1/32/32)      (1/500/32)
  ISL mode Receive BB Credit (min/max/default)         --        (2/500/250)
  Performance buffer modification supported             no               no
 
   
 Out of Service capable                             yes
 Beacon mode configurable                           yes
 Extended B2B credit capable                        yes

Configuration Guidelines for 48-Port, 24-Port, and 4/44-Port 8-Gbps Fibre Channel Switching Modules

The 48-Port, 24-Port, and 4/44-Port 8-Gbps Fibre Channel switching modules support the following features:

1-Gbps, 2-Gbps, 4-Gbps, and 8-Gbps speed traffic

Shared and dedicated rate mode

ISL and Fx port modes

Extended BB_credits

Migrating from Shared Mode to Dedicated Mode

To configure 48-port, 24-port, 4/44-port 8-Gbps Fibre Channel switching modules when starting with the default configuration or when migrating from shared rate mode to dedicated rate mode, follow these guidelines:

1. Take unused interfaces out of service to release resources for other interfaces, if necessary.

See the "Taking Interfaces Out of Service" section.

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.

3. Configure the rate mode (dedicated or shared).

See the "Configuring Rate Mode" section.

4. Configure the port mode.

See the "About Interface Modes" section.


Note ISL ports cannot operate in shared rate mode.


5. Configure the BB_credits and extended BB_credits, as necessary.

See the "About Extended BB_Credits" section.

Migrating from Dedicated Mode to Shared Mode

To configure 48-port, 24-port, 4/44-port 8-Gbps Fibre Channel switching modules migrating from dedicated rate mode to shared rate mode, follow these guidelines:

1. Take unused interfaces out of service to release resources for other interfaces, if necessary.

See the "Taking Interfaces Out of Service" section.

2. Configure the BB_credits and extended BB_credits, as necessary.

See the "BB_Credit Buffers for Switching Modules" section, "BB_Credit Buffers for Switching Modules" section, and the "About Extended BB_Credits" section.

3. Configure the port mode.

See the "About Interface Modes" section.


Note ISL ports cannot operate in shared rate mode.


4. Configure the rate mode (dedicated or shared) to use.

See the "Configuring Rate Mode" section.

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.

Configuration Guidelines for 48-Port and 24-Port 4-Gbps Fibre Channel Switching Modules

The 48-port and 24-port 4-Gbps Fibre Channel switching modules support the following features:

1-Gbps, 2-Gbps, and 4-Gbps speed traffic

Shared and dedicated rate mode

ISL (E or TE) and Fx (F or FL) port modes

Extended BB_credits

Migrating from Shared Mode to Dedicated Mode

To configure 48-port and 24-port 4-Gbps Fibre Channel switching modules when starting with the default configuration or when migrating from shared rate mode to dedicated rate mode, follow these guidelines:

1. Take unused interfaces out of service to release resources for other interfaces, if necessary.

See the "Taking Interfaces Out of Service" section.

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.

3. Configure the rate mode (dedicated or shared) to use.

See the "Configuring Rate Mode" section.

4. Configure the port mode.


Note ISL ports cannot operate in shared rate mode.


5. Configure the BB_credits and extended BB_credits, as necessary.

See the "About Extended BB_Credits" section.

Migrating from Dedicated Mode to Shared Mode

To configure 48-port and 24-port 4-Gbps Fibre Channel switching modules migrating from dedicated rate mode to shared rate mode, follow these guidelines:

1. Take unused interfaces out of service to release resources for other interfaces, if necessary.

See the "Taking Interfaces Out of Service" section.

2. Configure the BB_credits and extended BB_credits, as necessary.

See the "BB_Credit Buffers for Switching Modules" section, "BB_Credit Buffers for Fabric Switches" section, and the "About Extended BB_Credits" section.

3. Configure the port mode.

See the "About Interface Modes" section.


Note ISL ports cannot operate in shared rate mode.


4. Configure the rate mode (dedicated or shared) to use.

See the "Configuring Rate Mode" section.

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.

Configuration Guidelines for 12-Port 4-Gbps Switching Module Interfaces

The 12-port 4-Gbps switching modules support the following features:

1-Gbps, 2-Gbps, and 4-Gbps speed traffic

Only dedicated rate mode

ISL (E or TE) and Fx (F or FL) port modes

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.

2. Configure the port mode.

3. Configure the BB_credits, performance buffers, and extended BB_credits, as necessary.

See the "BB_Credit Buffers for Switching Modules" section, "BB_Credit Buffers for Fabric Switches" section, and the "About Extended BB_Credits" section.


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.


Configuration Guidelines for 4-Port 10-Gbps Switching Module Interfaces

The 4-port 10-Gbps switching modules support the following features:

Only 10-Gbps speed traffic

Only dedicated rate mode

ISL (E or TE) and F port modes

Extended BB_credits

Performance buffers

Use the following guidelines to configure 4-port 10-Gbps switching modules when starting with the default configuration:

1. Configure the port mode.

See the "About Interface Modes" section.

2. Configure the BB_credits, performance buffers, and extended BB_credits, as necessary.

See the "BB_Credit Buffers for Switching Modules" section, "BB_Credit Buffers for Fabric Switches" section, and the "About Extended BB_Credits" section.

Configuring Port Speed

The port speed on an interface, combined with the rate mode, determines the amount of shared resources available to the ports in the port group on a 48-port, 24-port 4-Gbps, or any 8-Gbps Fibre Channel switching module. Especially in the case of dedicated rate mode, the port group resources are reserved even though the bandwidth is not used. For example, on Generation 2 modules, if an interface is configured for autosensing (auto) and dedicated rate mode, then 4 Gbps of bandwidth is reserved even though the maximum operating speed is 2 Gbps. For the same interface, if autosensing with a maximum speed of 2 Gbps (auto max 2000) is configured, then only 2 Gbps of bandwidth is reserved and the unused 2 Gbps is shared with the other interface in the port group.


NoteThe 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.



Caution 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)#

Enters configuration mode.

Step 2 

switch(config)# interface fc 1/1

switch(config-if)#

Selects the interface and enters interface configuration submode.

Step 3 

switch(config-if)# switchport speed 4000

Configures the port speed in megabits per second. Valid values are 1000, 2000, 4000 and auto. The auto parameter enables autosensing on the interface.

switch(config-if)# switchport speed 8000

(8-Gbps modules only1 ) Configures the port speed in megabits per second to 8-Gbps. Valid values are 1000, 2000, 4000, 8000 and auto. The auto parameter enables autosensing on the interface.

switch(config-if)# switchport speed auto

On 4-Gbps modules, configures autosensing for the interface with 4 Gbps of bandwidth reserved.

On 8-Gbps modules, configures autosensing for the interface with 8 Gbps of bandwidth reserved. 2

switch(config-if)# switchport speed auto max 2000

Configures autosensing with a maximum of
2 Gbps of bandwidth reserved.

switch(config-if)# switchport speed auto max 4000

(8-Gbps modules only1) Configures autosensing with a maximum of 4Gbps of bandwidth reserved.

switch(config-if)# no switchport speed

Reverts to the default2 speed for the interface (auto).

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 default 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
      16 receive B2B credit remaining
      64 transmit B2B credit remaining
 
   

Configuring Rate Mode

To configure the rate mode (dedicated or shared) on an interface 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)#

Enters configuration mode.

Step 2 

switch(config)# interface fc 1/1

switch(config-if)#

Selects the interface and enters interface configuration submode.

Step 3 

switch(config-if)# switchport rate-mode dedicated

Reserves dedicated bandwidth for the interface.

Note If you cannot reserve dedicated bandwidth on an interface, you might have exceeded the port group maximum bandwidth. Use the show port-resources command to determine what resources are already allocated.

switch(config-if)# switchport rate-mode shared

Reserves shared (default) bandwidth for the interface.

switch(config-if)# no switchport rate-mode

Reverts to the default state (shared).


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
 
   
 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
  fc4/4                                      32        8.0  shared
  fc4/5                                      32        8.0  shared
  fc4/6                                      32        8.0  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
 
   
 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    
  fc7/5                                      32        4.0  shared    
  fc7/6                                      32        4.0  shared    
  fc7/7                                      32        4.0  shared    
  fc7/8                                      32        4.0  shared    
  fc7/9                                      32        4.0  shared    
  fc7/10                                     32        4.0  shared    
  fc7/11                                     32        4.0  shared    
  fc7/12                                     32        4.0  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    
  fc7/42                                     32        4.0  shared    
  fc7/43                                     32        4.0  shared    
  fc7/44                                     32        4.0  shared    
  fc7/45                                     32        4.0  shared    
  fc7/46                                     32        4.0  shared    
  fc7/47                                     32        4.0  shared    
  fc7/48                                     32        4.0  shared    
 
   

Configuring Oversubscription Ratio Restrictions

The 48-port and 24-port 4-Gbps, and all 8-Gbps Fibre Channel switching modules support oversubscription on switches with shared rate mode configurations. By default, all 48-port and 24-port 4-Gbps, and 8-Gbps Fibre Channel switching modules have restrictions on oversubscription ratios enabled. As of Cisco SAN-OS Release 3.1(1) and NX-OS Release 4.1(1), you can disable restrictions on oversubscription ratios.

Table 3-9 describes the bandwidth allocation for oversubscribed interfaces configured in shared mode on the 4-Gbps and 8-Gbps modules.

Table 3-9 Bandwidth Allocation for Oversubscribed Interfaces 

Switching Module
Configured Speed
Reserved Bandwidth (Gbps)
Maximum Bandwidth (Gbps)
Ratios enabled
Ratios disabled

48-Port 8-Gbps Fibre Channel Module

Auto 8 Gbps

0.36

0.2

8

Auto Max 4 Gbps

0.24

0.1

4

Auto Max 2 Gbps

0.12

0.05

2

24-Port 8-Gbps Fibre Channel Module

Auto 8 Gbps

0.8

0.8

8

Auto Max 4 Gbps

0.4

0.4

4

Auto Max 2 Gbps

0.2

0.2

2

4/44-Port 8-Gbps Host-Optimized Fibre Channel Module

8 Gbps

0.87

0.16

8

Auto Max 4 Gbps

0.436

0.08

4

Auto Max 2 Gbps

0.218

0.04

2

1 Gbps

0.109

0.02

1

48-port 4-Gbps Fibre Channel switching module

Auto 4 Gbps

0.8

0.09

4

Auto Max 2 Gbps

0.4

0.045

2

1 Gbps

0.2

0.0225

1

24-port 4-Gbps Fibre Channel switching module

Auto 4 Gbps

1

0.27

4

Auto Max 2 Gbps

0.5

0.135

2

1 Gbps

0.25

0.067

1


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.

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
  --------------------------------------------------------------------
  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.


Disabling Restrictions on Oversubscription Ratios

Before disabling restrictions on oversubscription ratios, ensure that you have explicitly shut down shared ports.

To disable 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)#

Enters configuration mode.

Step 2 

switch(config)# no rate-mode oversubscription-limit module 1

Disables restrictions on oversubscription ratios for a module.

Note You must enter this command separately for each module for which you want to remove the restrictions.

Step 3 

switch(config)# exit

Exits configuration mode.

Step 4 

switch# copy running-config startup-config

Saves the new oversubscription ratio configuration to the startup configuration, and then the new configuration is enforced upon subsequent reboots of the module.

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 Module with Restrictions on Oversubscription Ratios Disabled

switch# show running-config
version 3.1(1)
...
no rate-mode oversubscription-limit module 2 
interface fc2/1
  switchport speed 2000
interface fc2/1
...
 
   

Oversubscription Ratio Restrictions Example

To disable restrictions on oversubscription ratios for ports on a 48-port Generation 2 switch that is configured with both shared and dedicated ports, follow these steps:


Step 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
 
   

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 Disable restrictions on oversubscription ratios for the ports.

switch# config t
Enter configuration commands, one per line.  End with CNTL/Z.
switch(config)# no rate-mode oversubscription-limit module 2
 
   

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 Save the new oversubscription ratio configuration to the startup configuration.

switch# copy running-config startup-config
 
   

Enabling Restrictions on Oversubscription Ratios


Caution 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)#

Enters configuration mode.

Step 2 

switch(config)# interface fc2/1-2, fc2/4-5, fc2/8-38, fc2/43-48

Specifies the port interfaces for which you want to enable restrictions on oversubscription ratios.

Step 3 

switch(config-if)# shutdown

Shuts down shared ports.

Step 4 

switch(config-if)# out-of-service

Takes shared ports out of service.

Step 5 

switch# rate-mode oversubscription-limit module 1

Enables restrictions on oversubscription ratios for the module.

Note You must enter this command separately for each module for which you want to add the restriction.

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

Returns all shared ports to service.

Step 7 

switch(config)# exit

Exits configuration mode.

Step 8 

switch# copy running-config startup-config

Saves the new oversubscription ratio configuration to the startup configuration, and then the new configuration is enforced upon subsequent reboots of the module.

Configuring Bandwidth Fairness

This feature improves fairness of bandwidth allocation among all ports and provides better throughput average to individual data streams. Bandwidth fairness can be configured per module.

As of Cisco SAN-OS Release 3.1(2), all 48-port and 24-port 4-Gbps Fibre Channel switching modules, as well as 18-port Fibre Channel/4-port Gigabit Ethernet Multiservice modules, have bandwidth fairness enabled by default. As of Cisco NX-OS Release 4.1(1), all the 8-Gbps Fibre Channel switching modules have bandwidth fairness enabled by default.


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
 
   
 
   

This section includes the following topics:

Enabling Bandwidth Fairness

Disabling Bandwidth Fairness

Upgrade or Downgrade Scenario


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).


Enabling Bandwidth Fairness

To enable bandwidth fairness on a switching module, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# rate-mode bandwidth-fairness module 1

Enables bandwidth fairness for a module.

Note You must enter this command separately for each module for which you want to enable bandwidth fairness. You must reload the module for the command to take effect.

Step 3 

switch(config)# exit

Exits configuration mode.

Disabling Bandwidth Fairness


Note 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)#

Enters configuration mode.

Step 2 

switch(config)# no rate-mode bandwidth-fairness module 1

Disables bandwidth fairness for a module.

Note You must enter this command separately for each module for which you want to disable bandwidth fairness. You must reload the module for the command to take effect.

Step 3 

switch(config)# exit

Exits configuration mode.

Upgrade or Downgrade Scenario

When you are upgrading from a release earlier than Cisco SAN-OS Release 3.1(2), all modules operate with bandwidth fairness disabled until the next module reload. After the upgrade, any new module that is inserted has bandwidth fairness enabled.

When you are downgrading to a release earlier than Cisco SAN-OS Release 3.1(2), all modules keep operating in the same bandwidth fairness configuration prior to the downgrade. After the downgrade, any new module that is inserted has bandwidth fairness disabled.


Note After the downgrade, any insertion of a module or module reload will have bandwidth fairness disabled.


Taking Interfaces Out of Service

You can take interfaces out of service on Generation 2 and Generation 3 switching modules. When an interface is out of service, all the shared resources for the interface are released as well as the configuration associated with those resources.


Note The interface must be disabled using a shutdown command before it can be taken out of service.



Caution 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.


Note The interface cannot be a member of a PortChannel.


To take an interface out of service, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# interface fc 1/1

switch(config-if)#

Selects the interface and enters interface configuration submode.

Step 3 

switch(config-if)# no channel-group

Removes the interface from a PortChannel.

Step 4 

switch(config-if)# shutdown

Disables the interface.

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

Takes the interface out of service.

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.

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
...
 
   

Releasing Shared Resources in a Port Group

When you want to reconfigure the interfaces in a port group on a Generation 2 or Generation 3 module, you can return the port group to the default configuration to avoid problems with allocating shared resources.


Note The interface cannot be a member of a PortChannel.



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)#

Enters configuration mode.

Step 2 

switch(config)# interface fc 1/1

switch(config-if)#

Selects the interface and enters interface configuration submode.

Tip You can use an interface range to release the resources for all interfaces in a port group.

Step 3 

switch(config-if)# no channel-group

Removes the interface from a PortChannel.

Step 4 

switch(config-if)# shutdown

Disables the interface.

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

Takes the interface out of service.

Step 6 

switch(config-if)# no out-of-service

Makes the interface available for service. Repeat Step 2 through Step 6 for all the interfaces in the port group.

Disabling ACL Adjacency Sharing for System Image Downgrade

Fibre Channel ACL adjacency sharing is enabled by default on the switches with an active Generation 2 switching module as of Cisco MDS SAN-OS Release 3.0(3), and with an active Generation 3 module as of MDS NX-OS Release 4.1(1). Fibre Channel ACL adjacency sharing improves the performance for zoning and inter-VSAN routing (IVR) network address translation (NAT). To prevent disruptions when downgrading the system image on your switch to a release prior to Cisco SAN-OS Release 3.0(3), enter the following command in EXEC mode:

switch# system no acl-adjacency-sharing
 
   

To reenable Fibre Channel ACL adjacency sharing on your switch, enter the following command in EXEC mode:

switch# system acl-adjacency-sharing
 
   

Displaying SFP Diagnostic Information

You can use the show interface transceiver command to display small form-factor pluggable (SFP) diagnostic information for Generation 2 switching modules.

switch# show interface transceiver
...
fc12/12 sfp is present
    name is CISCO-FINISAR
    part number is FTRJ-8519-7D2CS1
    revision is A
    serial number is H11TVQB
    fc-transmitter type is short wave laser w/o OFC (SN)
    fc-transmitter supports intermediate distance link length
    media type is multi-mode, 62.5m (M6)
    Supported speed is 200 MBytes/sec
    Nominal bit rate is 2100 MBits/sec
    Link length supported for 50/125mm fiber is 300 m(s)
    Link length supported for 62.5/125mm fiber is 150 m(s)
    cisco extended id is unknown (0x0)
 
   
    no tx fault, rx loss, no sync exists, Diag mon type 104
    SFP Diagnostics Information
        Temperature      :  24.33 Celsius
        Voltage          :   3.33 Volt
        Current          :   0.04 mA       --
        Optical Tx Power :  N/A   dBm      --
        Optical Rx Power :  N/A   dBm      -
    Note: ++  high-alarm; +  high-warning; --  low-alarm; -  low-warning
...
 
   

Example Configurations

This section describes example configurations and includes the following sections:

Configuring a 48-Port 8-Gbps Fibre Channel Switching Module Example

Configuring a 24-Port 8-Gbps Fibre Channel Switching Module Example

Configuring a 4/44-Port 8-Gbps Fibre Channel Switching Module Example

Configuring a 24-Port 4-Gbps Fibre Channel Switching Module Example

Configuring a 48-Port 4-Gbps Fibre Channel Switching Module Example

Configuring a 48-Port 8-Gbps Fibre Channel Switching Module Example

These steps describe how to configure the 48-port 8-Gbps module interfaces module:


Step 1 Select the interfaces fc 4/1 through fc 4/2.

switch# config t
switch(config)# interface fc 4/1 - 2
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Step 4 Select the interfaces fc 4/3 through fc 4/4.

switch# config t
switch(config)# interface fc 4/3 - 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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
	

Step 7 Select the interfaces fc 4/5 through fc 4/6.

switch# config t
switch(config)# interface fc 4/5 - 6
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Configuring a 24-Port 8-Gbps Fibre Channel Switching Module Example

These steps describe how to configure the 24-port 8-Gbps module interfaces:


Step 1 Select interfaces fc 3/1.

switch# config t
switch(config)# interface fc 3/1
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Step 4 Select the interfaces fc 3/2 through fc 3/3.

switch# config t
switch(config)# interface fc 3/2 - 3
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Configuring a 4/44-Port 8-Gbps Fibre Channel Switching Module Example

These steps describe how to configure the 4/44-port 8-Gbps module interfaces:


Step 1 Select interfaces fc 4/11 through fc 4/12.

switch# config t
switch(config)# interface fc 4/11 - 12
 
   

Step 2 Disable the interfaces and take them out of service.

switch(config-if)# shutdown
switch(config-if)# out-of-service
 
   

Step 3 Return to configuration mode.

switch(config-if)# exit
switch#
 
   

Step 4 Select the interfaces fc 4/1.

switch# config t
switch(config)# interface fc 4/1
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Step 7 Select the interfaces fc 4/2 through fc 4/10.

switch# config t
switch(config)# interface fc 4/2 - 10
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Configuring a 24-Port 4-Gbps Fibre Channel Switching Module Example

These steps describe how to configure the example shown in Figure 4-8:


Step 1 Select interfaces fc 3/1 through fc 3/3.

switch# config t
switch(config)# interface fc 3/1 - 3
 
   

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
 
   

Step 3 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Step 4 Select the interfaces fc 3/4 through fc 3/6.

switch# config t
switch(config)# interface fc 3/4 - 6
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Configuring a 48-Port 4-Gbps Fibre Channel Switching Module Example

These steps describe how to configure the example shown in Figure 4-6:


Step 1 Select interfaces fc 4/11 through fc 4/12.

switch# config t
switch(config)# interface fc 4/11 - 12
 
   

Step 2 Disable the interfaces and take them out of service.

switch(config-if)# shutdown
switch(config-if)# out-of-service
 
   

Step 3 Return to configuration mode.

switch(config-if)# exit
switch#
 
   

Step 4 Select the interfaces fc 4/1 through fc 4/6.

switch# config t
switch(config)# interface fc 4/1 - 6
 
   

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Step 7 Select the interfaces fc 4/7 through fc 4/10.

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 Enable the interfaces and return to configuration mode.

switch(config-if)# no shutdown
switch(config-if)# exit
switch#
 
   

Default Settings

Table 3-10 lists the default settings for Generation 2 interface parameters.

Table 3-10 Default Generation 2 Interface Parameters 

Parameter
Default
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

auto1

auto1

auto1

Rate mode

shared

shared

dedicated

dedicated

Port mode

Fx

Fx

auto2

auto3

BB_credit buffers

16

16

250

250

Performance buffers

-

-

1454

1455

1 The 4-port 10-Gbps switching module only supports 10-Gbps traffic.

2 Auto port mode on the 12-port 4-Gbps switching module interfaces can operate in E port mode, TE port mode, and Fx port mode.

3 Auto port mode on the 4-port 10-Gbps switching module interfaces can operate in E port mode, TE port mode, and F port mode.

4 Performance buffers are shared among all ports on the module.


Table 3-11 lists the default settings for Generation 3 interface parameters.

Table 3-11 Default Generation 3 Interface Parameters 

Parameter
Default
48-Port 8-Gbps Switching Module
24-Port 8-Gbps Switching Module
4/44-Port 8-Gbps Host-Optimized Switching Module

Speed mode

auto

auto1

auto_max_4G1

Rate mode

shared

shared

shared

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.