Table Of Contents
Configuring Interfaces
Fibre Channel Interfaces
About Interface Modes
E Port
F Port
FL Port
TL Port
TE Port
SD Port
ST Port
Fx Port
B Port
Auto Mode
About Interface States
Administrative States
Operational States
Reason Codes
Configuring Fibre Channel Interface
Graceful Shut Down
Interface Modes
TL Port ALPA Caches
Displaying the ALPA Cache Contents
Clearing the ALPA Cache
Administrative Speeds
Interface Descriptions
Buffer-to-Buffer Credits
Performance Buffers
Extended BB_credits
Frame Encapsulation
Receive Data Field Size
Beacon Mode
Identifying the Beacon LEDs
About Speed LEDs
Bit Error Thresholds
Switch Port Attribute Default Values
SFP Transmitter Types
Configuring Management Interfaces
Configuring VSAN Interfaces
Configuring CIM
Added Security on a CIM Server
Displaying Interface Information
Displaying TL Port Information
TL Port Translation Guidelines
Default Settings
Configuring Interfaces
A switch's main function is to relay frames from one data link to another. To do that, the characteristics of the interfaces through which the frames are received and sent must be defined. The configured interfaces can be Fibre Channel interfaces, the management interface (mgmt0), or VSAN interfaces.
This chapter describes the basic interface configuration to get your switch up and running. It includes the following sections:
•Fibre Channel Interfaces
•Configuring Management Interfaces
•Configuring VSAN Interfaces
•Configuring CIM
•Displaying Interface Information
•Default Settings
Note See Chapter 4, "Initial Configuration," and Chapter 36, "Configuring IP Services," for more information on configuring mgmt0 interfaces.
Tip Before you begin configuring the switch, ensure that the modules in the chassis are functioning as designed. To verify the status of a module at any time, issue the show module command in EXEC mode (see the "Verifying the Module Status" section on page 4-16).
Fibre Channel Interfaces
This section describes Fibre Channel interface characteristics, including (but not limited to) modes, states, and speeds. I includes the following sections:
•About Interface Modes
•About Interface States
•Configuring Fibre Channel Interface
•Graceful Shut Down
•Interface Modes
•TL Port ALPA Caches
•Administrative Speeds
•Interface Descriptions
•Buffer-to-Buffer Credits
•Performance Buffers
•Extended BB_credits
•Frame Encapsulation
•Receive Data Field Size
•Beacon Mode
•Identifying the Beacon LEDs
•Bit Error Thresholds
•Switch Port Attribute Default Values
•SFP Transmitter Types
About Interface Modes
Each physical Fibre Channel interface in a switch may operate in one of several port modes: E port, F port, FL port, TL port, TE port, SD port, ST port, and B port (see Figure 11-1). Besides these modes, each interface may be configured in auto or Fx port modes. These two modes determine the port type during interface initialization.
Figure 11-1 Cisco MDS 9000 Family Switch Port Modes
Note Interfaces are created in VSAN 1 by default. See Chapter 16, "Configuring and Managing VSANs."
Each interface has an associated administrative configuration and an operational status:
•The administrative configuration does not change unless you modify it. This configuration has various attributes that you can configure in administrative mode.
•The operational status represents the current status of a specified attribute like the interface speed. This status cannot be changed and is read-only. Some values may not be valid when the interface is down (for example, the operational speed).
A brief description of each interface mode follows.
E Port
In expansion port (E port) mode, an interface functions as a fabric expansion port. This port may be connected to another E port to create an Inter-Switch Link (ISL) between two switches. E ports carry frames between switches for configuration and fabric management. They serve as a conduit between switches for frames destined to remote N ports and NL ports. E ports support class 2, class 3, and class F service.
An E port connected to another switch may also be configured to form a PortChannel (see Chapter 13, "Configuring PortChannels").
Note We recommend that you configure E ports on 16-port modules. If you must configure an E port on a 32-port oversubscribed module, then you can only use the first port in a group of four ports (for example, ports 1 through 4, 5 through 8, and so forth). The other three ports cannot be used.
F Port
In fabric port (F port) mode, an interface functions as a fabric port. This port may be connected to a peripheral device (host or disk) operating as an N port. An F port can be attached to only one N port. F ports support class 2 and class 3 service.
FL Port
In fabric loop port (FL port) mode, an interface functions as a fabric loop port. This port may be connected to one or more NL ports (including FL ports in other switches) to form a public arbitrated loop. If more than one FL port is detected on the arbitrated loop during initialization, only one FL port becomes operational and the other FL ports enter nonparticipating mode. FL ports support class 2 and class 3 service.
TL Port
In translative loop port (TL port) mode, an interface functions as a translative loop port. It may be connected to one or more private loop devices (NL ports). TL ports are specific to Cisco MDS 9000 Family switches and have similar properties as FL ports. TL ports enable communication between a private loop device and one of the following devices:
•A device attached to any switch on the fabric
•A device on a public loop anywhere in the fabric
•A device on a different private loop anywhere in the fabric
•A device on the same private loop
TL ports support class 2 and class 3 services.
Private loop devices refer to legacy devices that reside on arbitrated loops. These devices are not aware of a switch fabric because they only communicate with devices on the same physical loop (see the "Displaying TL Port Information" section and "TL Port ALPA Caches" section).
Tip We recommend configuring devices attached to TL ports in zones that have up to 64 zone members.
TE Port
In trunking E port (TE port) mode, an interface functions as a trunking expansion port. It may be connected to another TE port to create an Enhanced ISL (EISL) between two switches. TE ports are specific to Cisco MDS 9000 Family switches. They expand the functionality of E ports to support the following:
•VSAN trunking
•Transport quality of service (QoS) parameters
•Fibre Channel trace (fctrace) feature
In TE port mode, all frames are transmitted in EISL frame format, which contains VSAN information. Interconnected switches use the VSAN ID to multiplex traffic from one or more VSANs across the same physical link. This feature is referred to as trunking in the Cisco MDS 9000 Family (see Chapter 12, "Configuring Trunking"). TE ports support class 2, class 3, and class F service.
SD Port
In SPAN destination port (SD port) mode, an interface functions as a switched port analyzer (SPAN). The SPAN feature is specific to switches in the Cisco MDS 9000 Family. It monitors network traffic that passes though a Fibre Channel interface. This monitoring is done using a standard Fibre Channel analyzer (or a similar switch probe) that is attached to an SD port. SD ports do not receive frames, they merely transmit a copy of the source traffic. The SPAN feature is nonintrusive and does not affect switching of network traffic for any SPAN source ports (see Chapter 43, "Monitoring Network Traffic Using SPAN").
ST Port
In the SPAN tunnel port (ST port) mode, an interface functions as an entry point port in the source switch for the RSPAN Fibre Channel tunnel. The ST port mode and the remote SPAN (RSPAN) feature are specific to switches in the Cisco MDS 9000 Family. When configured in ST port mode, the interface cannot be attached to any device, and thus cannot be used for normal Fibre Channel traffic (see the "Remote SPAN" section on page 43-16).
Fx Port
Interfaces configured as Fx ports can operate in either F port or FL port mode. The Fx port mode is determined during interface initialization depending on the attached N port or NL port. This administrative configuration disallows interfaces to operate in any other mode—for example, preventing an interface to connect to another switch.
B Port
While E ports typically interconnect Fibre Channel switches, some SAN extender devices, such as the Cisco PA-FC-1G Fibre Channel port adapter, implement a bridge port (B port) model to connect geographically dispersed fabrics. This model uses B ports as described in the T11 Standard FC-BB-2.
Figure 11-1 depicts a typical SAN extension over an IP network.
If an FCIP peer is a SAN extender device that only supports Fibre Channel B ports, you need to enable the B port mode for the FCIP link. When a B port is enabled, the E port functionality is also enabled and they coexist. If the B port is disabled, the E port functionality remains enabled (see Chapter 37, "Configuring IP Storage").
Auto Mode
Interfaces configured in auto mode can operate in one of the following modes: F port, FL port, E port, or TE port. The port mode is determined during interface initialization. For example, if the interface is connected to a node (host or disk), it operates in F port or FL port mode depending on the N port or NL port mode. If the interface is attached to a third-party switch, it operates in E port mode. If the interface is attached to another switch in the Cisco MDS 9000 Family, it may become operational in TE port mode (see Chapter 12, "Configuring Trunking").
TL ports and SD ports are not determined during initialization and are administratively configured.
About Interface States
The interface state depends on the administrative configuration of the interface and the dynamic state of the physical link.
Administrative States
The administrative state refers to the administrative configuration of the interface as described in Table 11-1.
Table 11-1 Administrative States
Administrative State
|
Description
|
Up
|
Interface is enabled.
|
Down
|
Interface is disabled. If you administratively disable an interface by shutting down that interface, the physical link layer state change is ignored.
|
Operational States
The operational state indicates the current operational state of the interface as described in Table 11-2.
Table 11-2 Operational States
Operational State
|
Description
|
Up
|
Interface is transmitting or receiving traffic as desired. To be in this state, an interface must be administratively up, the interface link layer state must be up, and the interface initialization must be completed.
|
Down
|
Interface cannot transmit or receive (data) traffic.
|
Trunking
|
Interface is operational in TE mode.
|
Reason Codes
Reason codes are dependent on the operational state of the interface as described in Table 11-3.
Table 11-3 Reason Codes for Interface States
Administrative Configuration
|
Operational Status
|
Reason Code
|
Up
|
Up
|
None.
|
Down
|
Down
|
Administratively down—If you administratively configure an interface as down, you disable the interface. No traffic is received or transmitted.
|
Up
|
Down
|
See Table 11-4.
|
If the administrative state is up and the operational state is down, the reason code differs based on the nonoperational reason code as described in Table 11-4.
Table 11-4 Reason Codes for Nonoperational States
Reason Code
|
Description
|
Applicable Modes
|
Link failure or not connected
|
The physical layer link is not operational.
|
All
|
SFP not present
|
The small form-factor pluggable (SFP) hardware is not plugged in.
|
Initializing
|
The physical layer link is operational and the protocol initialization is in progress.
|
Reconfigure fabric in progress
|
The fabric is currently being reconfigured.
|
Offline
|
The Cisco SAN-OS software waits for the specified R_A_TOV time before retrying initialization.
|
Inactive
|
The interface VSAN is deleted or is in a suspended state.
To make the interface operational, assign that port to a configured and active VSAN.
|
Hardware failure
|
A hardware failure is detected.
|
Error disabled
|
Error conditions require administrative attention. Interfaces may be error-disabled for various reasons. For example:
•Configuration failure.
•Incompatible buffer-to-buffer credit configuration.
To make the interface operational, you must first fix the error conditions causing this state; and next, administratively shut down or enable the interface.
|
Isolation due to ELP failure
|
The port negotiation failed.
|
Only E ports and TE ports
|
Isolation due to ESC failure
|
The port negotiation failed.
|
Isolation due to domain overlap
|
The Fibre Channel domains (fcdomain) overlap.
|
Isolation due to domain ID assignment failure
|
The assigned domain ID is not valid.
|
Isolation due to other side E port isolated
|
The E port at the other end of the link is isolated.
|
Isolation due to invalid fabric reconfiguration
|
The port is isolated due to fabric reconfiguration.
|
Isolation due to domain manager disabled
|
The fcdomain feature is disabled.
|
Isolation due to zone merge failure
|
The zone merge operation failed.
|
Isolation due to VSAN mismatch
|
The VSANs at both ends of an ISL are different.
|
Nonparticipating
|
FL ports cannot participate in loop operations. It may happen if more than one FL port exists in the same loop, in which case all but one FL port in that loop automatically enters nonparticipating mode.
|
Only FL ports and TL ports
|
PortChannel administratively down
|
The interfaces belonging to the PortChannel are down.
|
Only PortChannel interfaces
|
Suspended due to incompatible speed
|
The interfaces belonging to the PortChannel have incompatible speeds.
|
Suspended due to incompatible mode
|
The interfaces belonging to the PortChannel have incompatible modes.
|
Suspended due to incompatible remote switch WWN
|
An improper connection is detected. All interfaces in a PortChannel must be connected to the same pair of switches.
|
32-Port Configuration Guidelines
The 32-port guidelines applies to the following hardware:
•The 32-port 2 Gbps or 1 Gbps switching module
•The Cisco MDS 9140 Switch
When configuring these host-optimized ports, the following port mode guidelines apply:
•You can configure only the first port in each 4-port group (for example, the first port in ports 1-4, the fifth port in ports 5-8 and so on) as an E port. If the first port in the group is configured as an E port, the other three ports in each group (ports 2-4, 6-8 and so on) are not usable and remain shutdown.
•If any of the other three ports are enabled, you cannot configure the first port as an E port. The other three ports continue to remain enabled.
•The auto mode is the default port mode. The auto mode is not allowed in a 32-port switching module or the host-optimized ports in the Cisco 9100 Series (16 host-optimized ports in the Cisco MDS 9120 switch and 32 host-optimized ports in the Cisco MDS 9140 switch).
•The default port mode is Fx (Fx negotiates to F or FL) for 32-port switching modules and the host-optimized ports in the Cisco 9100 Series (16 host-optimized ports in the Cisco MDS 9120 switch and 32 host-optimized ports in the Cisco MDS 9140 switch).
•The 32-port switching module does not support FICON.
Note In the Cisco MDS 9100 Series, the left most groups of ports outlined in white (4 ports in the 9120 switch and 8 ports in the 9140 switch) are full line rate like the 16-port switching module. The other ports (16 ports in the 9120 switch and 32 ports in the 9140 switch) are host-optimized like the 32-port switching module. Each group of 4 host-optimized ports have the same rules as for the 32-port switching module.
Configuring Fibre Channel Interface
To configure a Fibre Channel interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
|
Configures the specified interface.
Note When a Fibre Channel interface is configured, it is automatically assigned a unique world wide name (WWN). If the interface's operational state is up, it is also assigned a Fibre Channel ID (FC ID).
|
To configure a range of interfaces, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1 - 4 , fc2/1 - 3
|
Configures the range of specified interfaces.
Note In this command, provide a space before and after the comma.
|
Graceful Shut Down
Interfaces on a port are shut down by default (unless you modified the initial configuration).
The Cisco SAN-OS software implicitly performs a graceful shut down in response to either of the following actions for interfaces operating in the E port mode:
•If you shut down an interface
•If a Cisco SAN-OS software application executes a port shut down as part of its function
A graceful shut down ensures that no frames are lost when the interface is shutting down. When a shut down is triggered either by you or the Cisco SAN-OS software, the switches connected to the shut down link coordinate with each other to ensure that all frames in the ports are safely sent through the link before shutting down. This enhancement reduces the chance of frame loss.
A graceful shut down is not possible in the following situations:
•If you physically remove the port from the switch.
•If in-order-delivery (IOD) is enabled (see "In-Order Delivery" section on page 21-10)
•If the Min_LS_interval interval is higher than 10 seconds (see"Displaying Global FSPF Information" section on page 21-19)
Note This feature is only triggered if both switches at either end of this E port interface are MDS switches and are using the Cisco SAN-OS Release 2.0(1b) (or later) software.
To gracefully shut down an interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# shutdown
|
Gracefully shuts down the interface and administratively disables traffic flow (default).
|
To enable traffic flow, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# no shutdown
|
Enables traffic flow to administratively allow traffic when the no prefix is used (provided the operational state is up).
|
Interface Modes
To configure the interface mode, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# switchport mode F
switch(config-if)#
|
Configures the administrative mode of the port. You can set the operational state to auto, E, F, FL, Fx, TL, or SD port mode.
Note Fx ports refers to an F port or an FL port (host connection only), but not E ports.
|
switch(config-if)# switchport mode auto
switch(config-if)#
|
Configures the interface mode to auto-negotiate an E, F, FL, or TE port mode (not TL or SD port modes) of operation.
Note TL ports and SD ports cannot be configured automatically. They must be administratively configured.
|
TL Port ALPA Caches
Although TL ports cannot be automatically configured, you can manually configure entries in arbitrated loop physical address (ALPA) caches. Generally, ALPA cache entries are automatically populated when an ALPA is assigned to a device. Each device is identified by its port world wide name (pWWN). When a device is allocated an ALPA, an entry for that device is automatically created in the ALPA cache.
A cache contains entries for recently allocated ALPA values. These caches are maintained on various TL ports. If a device already has an ALPA, the Cisco SAN-OS software attempts to allocate the same ALPA to the device each time. The ALPA cache is maintained in persistent storage and saves information across switch reboots. The maximum cache size is 1000 entries. If the cache is full, and a new ALPA is allocated, the Cisco SAN-OS software discards an inactive cache entry (if available) to make space for the new entry.
See the "Displaying TL Port Information" section for more information on TL ports.
To manually insert entries into the ALPA cache, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# tlport alpa-cache interface
fc1/2 pwwn 22:00:00:20:37:46:09:bd alpa 0x02
|
Configures manual entries into the ALPA cache.
|
Step 3
|
switch(config)# tlport alpa-cache interface
fc1/3 pwwn 22:00:00:20:37:46:09:bd
|
Removes this entry from the ALPA cache.
|
Displaying the ALPA Cache Contents
The show tlport alpa-cache command displays the contents of the ALPA cache.
switch# show tlport alpa-cache
---------------------------------------------------------
---------------------------------------------------------
0x02 22:00:00:20:37:46:09:bd fc1/2
0x04 23:00:00:20:37:46:09:bd fc1/2
The first entry indicates that if a device with a pWWN of 22:00:00:20:37:46:09:bd is exported on TL port fc1/2, then the pWWN is allocated an alpa 0x02 (if available).
Clearing the ALPA Cache
The clear tlport alpa-cache command clears the entire content of the ALPA cache.
Administrative Speeds
By default, the administrative speed for an interface is automatically calculated by the switch.
Caution Changing the administrative speed is a disruptive operation.
To configure the administrative speed of the interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface mgmt0
|
Selects the mgmt0 interface and enters interface configuration mode.
|
Step 3
|
switch(config-if)# switchport speed 1000
switch(config-if)#
|
Configures the administrative speed of the interface to 1000 Mbps.
The number indicates the speed in megabits per second (Mbps). You can set the speed to 1000 (for 1-Gbps interfaces), 2000 (for 2-Gbps interfaces), or auto (default).
|
switch(config-if)# switchport speed
switch(config-if)#
|
Reconfigures the factory default (auto) administrative speed of the interface.
|
Interface Descriptions
To configure a description for an interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# switchport description cisco-HBA2
|
Configures the description of the interface.
The string may be up to 80 characters long.
|
switch(config-if)# no switchport description
|
Clears the description of the interface.
|
Buffer-to-Buffer Credits
Buffer-to-buffer credits (BB_credits) are a flow control mechanism to ensure that FC switches do not run out of buffers, because switches must not drop frames. BB_credits are negotiated on a per-hop basis.
The receive BB_credit (fcrxbbcredit) value may be configured for each FC interface. In most cases, you do not need to modify the default configuration.
Note The receive BB_credit values depend on the module type and the port mode.
For 16-port switching modules and full rate ports, the default value is 16 for Fx mode and 255 for E or TE modes. The maximum value is 255 in all modes. This value can be changed as required.
For 32-port switching modules and host-optimized ports, the default value is 12 for Fx, E, and TE modes. These values cannot be changed.
Note In the Cisco MDS 9100 Series, the left most groups of ports outlined in white (4 ports in the 9120 switch and 8 ports in the 9140 switch) are full line rate like the 16-port switching module. The other ports (16 ports in the 9120 switch and 32 ports in the 9140 switch) are host-optimized like the 32-port switching module. Each group of 4 host-optimized ports have the same rules as for the 32-port switching module.
To configure BB_credits for a Fibre Channel interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
switch(config)#
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# switchport fcrxbbcredit
default
|
Applies the default operational value to the selected interface. The operational value depends on the port mode. The default values are assigned based on the port capabilities.
|
switch(config-if)# switchport fcrxbbcredit 5
|
Assigns a BB_credit of 5 to the selected interface. The range to assign BB_credits is between 1 and 255.
|
switch(config-if)# switchport fcrxbbcredit 5
mode E
|
Assigns this value if the port is operating in E or TE mode. The range to assign BB_credits is between 1 and 255.
|
switch(config-if)# switchport fcrxbbcredit 5
mode Fx
|
Assigns this value if the port is operating in F or FL mode. The range to assign BB_credits is between 1 and 255.
|
Step 4
|
switch# do show int fc1/1
fc1/1 is up
...
16 receive B2B credit remaining
3 transmit B2B credit remaining
|
Displays the receive and transmit BB_credit along with other pertinent interface information for this interface.
Note The BB_credit values are correct at the time the registers are read. They are useful to verify situations when the data traffic is slow.
|
Performance Buffers
Regardless of the configured receive BB_credit value, additional buffers, called performance buffers, improve switch port performance. Instead of relying on the built-in switch algorithm, you can manually configure the performance buffer value for specific applications (for example, forwarding frames over FCIP interfaces).
For each physical Fibre Channel interface in any switch in the Cisco MDS 9000 Family, you can specify the amount of performance buffers allocated in addition to the configured receive BB_credit value.
The default performance buffer value is 0. If you use the default option, the built-in algorithm is used. If you do not specify this command, the default option is automatically used.
To configure performance buffers for a Fibre Channel interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# switchport
fcrxbbcredit performance-buffers 45
|
Assigns a performance buffer of 45 to the selected interface. The value ranges from 1 and 145.
|
switch(config-if)# switchport
fcrxbbcredit performance-buffers default
|
Reverts to the factory default of using the built-in algorithm.
|
Note Use the show interface bbcredit command to display performance buffer values and other BB_credit information.
Extended BB_credits
The BB_credits feature allows you to configure up to 255 receive buffers. This number is insufficient for long haul links. To facilitate BB_credits for long haul links, you can use the extended BB_credits flow control mechanism. This feature allows you to configure up to 3,500 receive BB_credits on a Fibre Channel port.
To use this feature, you must meet the following requirements:
•Obtain the ENTERPRISE_PKG license (see Chapter 3, "Obtaining and Installing Licenses").
•Configure this feature in any port of the full-rate 4-port group in either the Cisco MDS 9216i Switch or in the MPS-14/2 module (see Figure 11-1).
Figure 11-2 Port Group Support for the Extended BB_Credits Feature
The port groups that support extended credits configurations are as follows.
–Any one port in ports 1to 4 (identified as Group 1 in Figure 11-1).
–Any one port in ports 5 to 8 (identified as Group 2 in Figure 11-1).
–Any one port in ports 9 to 12 (identified as Group 3 in Figure 11-1).
Note The last two Fibre Channel ports (Port 13 and Port 14) and the two Gigabit Ethernet ports do not support the extended BB_credits feature (see Figure 11-1).
•Explicitly enable this feature in the required Cisco MDS switch.
•Disable the remaining three ports in the 4-port group if you need to assign more than 2,400 BB_credits to the first port in the port group.
–If you assign less than 2,400 extended BB_credits to any one port in a port group, the remaining three ports in that port group can retain up to 255 BB_credits based on the port mode.
Note The receive BB_credit value for the remaining three ports depends on the port mode. The default value is 16 for the Fx mode and 255 for E or TE modes. The maximum value is 255 in all modes. This value can be changed as required without exceeding the maximum value of 255 BB_credits.
–If you assign more than 2,400 (up to a maximum of 3,500) extended BB_credits to the port in a port group, you must disable the other three ports.
•Be aware that changing the BB_credits value results in the port being disabled and then reenabled.
•Disable (explicitly) this feature if you need to nondisruptive downgrade to Cisco SAN-OS Release 1.3 or earlier. When you disable this feature, the existing extended BB_credit configuration is completely erased.
Note The extended BB_credit configuration takes precedence over the receive BB_credit and performance buffer configurations.
To configure extended BB_credits for a MDS-14/2 interface or for an interface in a Cisco MDS 9216i switch, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
switch(config)#
|
Enters configuration mode.
|
Step 2
|
switch(config)# fcrxbbcredit extended enable
|
Enables the extended BB_credits feature.
|
switch(config)# no fcrxbbcredit extended
enable
|
Disables (default) the extended BB_credits feature.
|
Step 3
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 4
|
switch(config-if)# switchport fcrxbbcredit
extended 1500
|
Applies the extended BB_credit value of 1,500 credits to the selected interface. The valid range is from 256 to 3,500 credits.
|
switch(config-if)# no switchport fcrxbbcredit
extended 2500
|
Clears the configured BB_credit configuration for this port.
|
Step 5
|
switch# do show int fc3/2
fc3/2 is trunking
Hardware is Fibre Channel, SFP is short wave
laser w/o OFC (SN)
Port WWN is 20:82:00:05:30:00:2a:1e
Peer port WWN is 20:42:00:0b:46:79:f1:80
Admin port mode is auto, trunk mode is on
Port mode is TE
Port vsan is 1
Speed is 2 Gbps
Transmit B2B Credit is 255
Receive B2B Credit is 1500
Receive data field Size is 2112
...
|
Displays the receive and transmit BB_credit values along with other pertinent interface information for this interface if the interface is in the up state.
Note The receive BB_credit value reflects the extended BB_credit configuration, if applicable.
|
Frame Encapsulation
The switchport encap eisl command only applies to SD port interfaces. This command determines the frame format for all frames transmitted by the interface in SD port mode. If the encap is set to EISL, all frames are transmitted in the EISL frame format irrespective of the SPAN source(s).
The switchport encap eisl command is disabled by default. If you enable encapsulation, all outgoing frames are encapsulated, and you will see a new line (Encapsulation is eisl) in the show interface SD_port_interface command output (see the "Encapsulating Frames" section on page 43-9).
Receive Data Field Size
You can also configure the receive data field size for Fibre Channel interfaces. If the default data field size is 2112 bytes, the frame length will be 2148 bytes.
Use the switchport fcrxbufsize command to configure the data field size for Fibre Channel interfaces.
To configure data field size, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# switchport fcrxbufsize 2000
|
Reduces the data field size for the selected interface to 2000 bytes. The default is 2112 bytes and the range is from 256 to 2112 bytes.
|
Beacon Mode
By default, the beacon mode is disabled on all switches. The beacon mode is indicated by a flashing green light that helps you identify the physical location of the specified interface.
The beacon command has no effect on the operation of the interface.
To enable beacon mode for a specified interface or range of interfaces, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
switch(config)#
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# switchport beacon
|
Enables the beacon mode for the interface.
|
switch(config-if)# no switchport beacon
|
Disables the beacon mode for the interface.
|
Note The flashing green light turns on automatically when an external loopback is detected that causes the interfaces to be isolated. The flashing green light overrides the beacon mode configuration. The state of the LED is restored to reflect the beacon mode configuration after the external loopback is removed.
Identifying the Beacon LEDs
Figure 11-3 displays the status, link, and speed LEDs in a 16-port switching module.
Figure 11-3 Cisco MDS 9000 Family Switch Interface Modes
1
|
Status LED1
|
3
|
Link LEDs1 and speed LEDs2
|
2
|
1/2-Gbps Fibre Channel port group3
|
4
|
Asset tag4
|
About Speed LEDs
Each port has one link LED on the left and one speed LED on the right.
The speed LED displays the speed of the port interface:
•Off—The interface attached to that port is functioning at 1000 Mbps.
•On (solid green)—The interface attached to that port is functioning at 2000 Mbps (for 2 Gbps interfaces).
The speed LED also displays if the beacon mode is enabled or disabled:
•Off—Beacon mode is disabled.
•On (flashing green)—The beacon mode is enabled. The LED flashes at one-second intervals.
Bit Error Thresholds
The bit error rate threshold is used by the switch to detect an increased error rate before performance degradation seriously affects traffic.
The bit errors can occur for the following reasons:
•Faulty or bad cable
•Faulty or bad GBIC or SFP
•GBIC or SFP is specified to operate at 1 Gbps but is used at 2 Gbps
•GBIC or SFP is specified to operate at 2 Gbps but is used at 4 Gbps
•Short haul cable is used for long haul or long haul cable is used for short haul
•Momentary sync loss
•Loose cable connection at one or both ends
•Improper GBIC or SFP connection at one or both ends
A bit error rate threshold is detected when 15 error bursts occur in a 5-minute period. By default, the switch disables the interface when the threshold is reached. You can issue shutdown/no shutdown command sequence to reenable the interface.
As of Cisco MDS SAN-OS Release 2.1(1a), you can configure the switch to not disable an interface when the threshold is crossed. By default, the threshold disables the interface.
To disable the bit error threshold for an interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface fc1/1
switch(config-if)#
|
Configures the specified interface.
|
Step 3
|
switch(config-if)# switchport ignore
bit-errors
|
Prevents the detection of bit error threshold events from disabling the interface.
|
switch(config-if)# no switchport ignore
bit-errors
|
Prevents the detection of bit error threshold events from enabling the interface.
|
Note Regardless of the setting of the switchport ignore bit-errors command, the switch generates a syslog message when bit error threshold events are detected.
Switch Port Attribute Default Values
You can configure attribute default values for various switch port attributes. These attributes will be applied globally to all future switch port configurations, even if you do not individually specify them at that time.
To configure switch port attributes, follow these steps:
|
Command
|
Purpose
|
Step 1
|
|
Enters configuration mode.
|
Step 2
|
switch(config)# no system default
switchport shutdown
switch(config-if)#
|
Configures the default setting for administrative state of an interface as Up. (The factory default setting is Down).
Tip This command is applicable only to interfaces for which no user configuration exists for the administrative state.
|
switch(config)# system default
switchport shutdown
switch(config-if)#
|
Configures the default setting for administrative state of an interface as Down. This is the factory default setting.
Tip This command is applicable only to interfaces for which no user configuration exists for the administrative state.
|
switch(config)# system default
switchport trunk mode auto
switch(config-if)#
|
Configures the default setting for administrative trunk mode state of an interface as Auto.
(The factory default setting is trunk mode On).
|
SFP Transmitter Types
The small form-factor pluggable (SFP) hardware transmitters are identified by their acronyms when displayed in the show interface brief command. If the related SFP has a Cisco-assigned extended ID, then the show interface and show interface brief commands display the ID instead of the transmitter type. The show interface transceiver command and the show interface fcslot/port transceiver command display both values for Cisco supported SFPs. Table 11-5 defines the acronyms used in the command output (see the "Displaying Interface Information" section).
Table 11-5 SFP Transmitter Acronym Definitions
Definition
|
Acronym
|
Standard transmitters defined in the GBIC specifications
|
short wave laser
|
swl
|
long wave laser
|
lwl
|
long wave laser cost reduced
|
lwcr
|
electrical
|
elec
|
Extended transmitters assigned to Cisco-supported SFPs
|
CWDM-1470
|
c1470
|
CWDM-1490
|
c1490
|
CWDM-1510
|
c1510
|
CWDM-1530
|
c1530
|
CWDM-1550
|
c1550
|
CWDM-1570
|
c1570
|
CWDM-1590
|
c1590
|
CWDM-1610
|
c1610
|
Configuring Management Interfaces
You can remotely configure the switch through the management interface (mgmt0). To configure a connection remotely, you must configure the IP parameters (IP address, subnet mask, and default gateway) from the CLI so that the switch is reachable.
Note Before you begin to configure the management interface manually, obtain the switch's IP address and IP subnet mask.
To configure the mgmt0 Ethernet interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config terminal
switch(config)#
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface mgmt0
switch(config-if)#
|
Configures the management Ethernet interface on the switch to configure the management interface.
|
Step 3
|
switch(config-if)# ip address 172.16.1.2
255 255.255.0
|
Enters the IP address and IP subnet mask for the interface specified in Step 2.
|
Step 4
|
switch(config-if)# no shutdown
|
Enables the interface.
|
Step 5
|
switch(config-if)# exit
switch(config)#
|
Returns to configuration mode.
|
Step 6
|
switch(config)# ip default-gateway 1.1.1.4
switch(config)#
|
Configures the default gateway IP address.
|
Step 7
|
switch(config)# exit
switch#
|
Returns to EXEC mode.
|
Step 8
|
switch# copy running-config startup-config
|
(Optional) Saves your configuration changes to the file system.
Note If you wish to save your configuration, you can issue this command at any time.
|
By default, the management port (mgmt0) operates at a speed of 100 Mbps and in full duplex mode. Configuring the speed to auto will internally map to100 Mbps, and configuring the duplex mode to auto will internally map to full duplex. If the duplex mode is configured as auto or full, then the peer device should not be configured as full duplex.
Note You need to explicitly configure a default gateway to connect to the switch and send IP packets or add a route for each subnet.
Configuring VSAN Interfaces
VSANs apply to Fibre Channel fabrics and enable you to configure multiple isolated SAN topologies within the same physical infrastructure. You can create an IP interface on top of a VSAN and then use this interface to send frames to this VSAN. To use this feature, you must configure the IP address for this VSAN. VSAN interfaces cannot be created for nonexisting VSANs.
Follow these guidelines when creating or deleting VSAN interfaces:
•Create a VSAN before creating the interface for that VSAN. If a VSAN does not exist, the interface cannot be created.
•Create the interface VSAN—it is not created automatically.
•If you delete the VSAN, the attached interface is automatically deleted.
•Configure each interface only in one VSAN.
Tip After configuring the VSAN interface, you can configure an IP address or Virtual Router Redundancy Protocol (VRRP) features (see Chapter 36, "Configuring IP Services").
To create a VSAN interface, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# interface vsan 5
switch(config-if)#
|
Configures a VSAN with the ID 5.
|
Configuring CIM
Common Information Model (CIM) is an object-oriented information model that extends the existing standards for describing management information in a network/enterprise environment. CIM messages are independent of platform and implementation because they are encoded in N Extensible Markup Language (XML). CIM consists of a specification and a schema. The specification defines the syntax and rules for describing management data and integrating with other management models. The schema provides the actual model descriptions for systems, applications, networks, and devices.
For more information about CIM, refer to the specification available through the Distributed Management Task Force (DMTF) website at the following URL: http://www.dmtf.org/
For further information about Cisco MDS 9000 Family support for CIM servers, refer to the Cisco MDS 9000 Family CIM Programming Reference Guide.
A CIM client is required to access the CIM server. The client can be any client that supports CIM.
Added Security on a CIM Server
For added security, you can install an SSL certificate to encrypt the logon information and enable the HTTPS server before enabling the CIM server. The CIM server is disabled by default. If you do not enable the HTTPS server, the standard HTTP server is enabled (default).
To configure a CIM server using the HTTPS protocol, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# cimserver certificate
bootflash:simserver.pem
|
Installs a Secure Socket Layer (SSL) certificate specified in the file named with a .pem extension.
|
switch(config)# cimserver clearcertificate
Certificate1
|
Optional. Clears the specified SSL certificate (Certificate1).
|
Step 3
|
switch(config)# cimserver enableHttps
|
Enables HTTPS (secure protocol).
|
switch(config)# no cimserver enableHttps
|
Optional. Disables HTTPS (default).
|
Step 4
|
switch(config)# cimserver enable
|
Enables the CIM server.
|
switch(config)# no cimserver enable
|
Optional. Disables the CIM server (default).
|
To configure a CIM server using the HTTP protocol, follow these steps:
|
Command
|
Purpose
|
Step 1
|
switch# config t
|
Enters configuration mode.
|
Step 2
|
switch(config)# cimserver enable
|
Enables the CIM server using the default HTTP (non-secure) protocol.
|
switch(config)# no cimserver enable
|
Optional. Disables the CIM server (default).
|
switch(config)# no cimserver enableHttp
|
Optional. Disables HTTP.
|
switch(config)# cimserver enableHttp
|
Optional. Enables HTTP and reverts to the switch default.
|
Displaying Interface Information
The show interface command is invoked from the EXEC mode and displays the interface configurations. Without any arguments, this command displays the information for all the configured interfaces in the switch. See Examples 11-1 to 11-15.
Example 11-1 Displays All Interfaces
Hardware is Fibre Channel, SFP is short wave laser
Port WWN is 20:0b:00:05:30:00:8d:de
Port mode is F, FCID is 0x610000
Receive data field Size is 2112
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
134 frames input, 8468 bytes
154 frames output, 46072 bytes
1 input OLS, 1 LRR, 0 NOS, 0 loop inits
1 output OLS, 0 LRR, 1 NOS, 0 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
Hardware is Fibre Channel, SFP is long wave laser cost reduced
Port WWN is 20:09:00:05:30:00:97:9e
Peer port WWN is 20:0b:00:0b:5f:a3:cc:00
Admin port mode is E, trunk mode is on
Transmit B2B Credit is 255
Receive B2B Credit is 255
Receive data field Size is 2112
Trunk vsans (admin allowed and active) (1,100,3000)
Trunk vsans (up) (1,100,3000)
Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
5 minutes input rate 280 bits/sec, 35 bytes/sec, 0 frames/sec
5 minutes output rate 176 bits/sec, 22 bytes/sec, 0 frames/sec
4609939 frames input, 8149405708 bytes
4638491 frames output, 7264731728 bytes
3 input OLS, 9 LRR, 1 NOS, 0 loop inits
9 output OLS, 7 LRR, 1 NOS, 0 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
Hardware is Fibre Channel, SFP is short wave laser
Port WWN is 20:0d:00:05:30:00:97:9e
Admin port mode is auto, trunk mode is on
Port mode is F, FCID is 0x650100
Receive data field Size is 2112
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
8696 frames input, 3227212 bytes
16799 frames output, 6782444 bytes
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
1 output OLS, 1 LRR, 0 NOS, 1 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
Hardware is Fibre Channel
139597 packets input, 13852970 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
139516 packets output, 16759004 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
Address is 0005.3000.80fe
Internet address is 172.19.48.96/25
MTU 1500 bytes, BW 100 Mbps
321561 packets input, 70215667 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
334550 packets output, 307482596 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
vsan1 is up, line protocol is up
WWPN is 10:00:00:05:30:00:12:63, FCID is 0xef001e
Internet address is 10.10.11.10/24
MTU 1500 bytes, BW 1000000 Kbit
0 packets input, 0 bytes, 0 errors, 0 multicast
0 packets output, 0 bytes, 0 errors, 0 dropped
port-channel 1 is trunking
Hardware is Fibre Channel
Port WWN is 24:01:00:05:30:00:97:9e
Admin port mode is E, trunk mode is on
Trunk vsans (admin allowed and active) (1,100,3000)
Trunk vsans (isolated) (100,3000)
Trunk vsans (initializing) ()
5 minutes input rate 648 bits/sec, 81 bytes/sec, 0 frames/sec
5 minutes output rate 304 bits/sec, 38 bytes/sec, 0 frames/sec
4629945 frames input, 206672020 bytes
4547515 frames output, 687414748 bytes
2 input OLS, 2 LRR, 4 NOS, 0 loop inits
6 output OLS, 2 LRR, 4 NOS, 0 loop inits
You can also specify arguments (a range of interfaces or multiple, specified interfaces) to display interface information. You can specify a range of interfaces by issuing a command with the following example format:
interface fc1/1 - 5 , fc2/5 - 7
Note The spaces are required before and after the dash ( - ) and before and after the comma ( , ).
Example 11-2 Displays Multiple, Specified Interfaces
switch# show interface fc3/13 , fc3/16
Hardware is Fibre Channel, SFP is short wave laser
Port WWN is 20:8d:00:05:30:00:97:9e
Port mode is F, FCID is 0x7b0300
Receive data field Size is 2112
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
1856 frames input, 116632 bytes
1886 frames output, 887712 bytes
0 input OLS, 0 LRR, 0 NOS, 1 loop inits
1 output OLS, 1 LRR, 0 NOS, 1 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
Hardware is Fibre Channel, SFP is short wave laser
Port WWN is 20:90:00:05:30:00:97:9e
Port mode is F, FCID is 0x7d0100
Receive data field Size is 2112
5 minutes input rate 504 bits/sec, 63 bytes/sec, 0 frames/sec
5 minutes output rate 520 bits/sec, 65 bytes/sec, 0 frames/sec
47050 frames input, 10311824 bytes
62659 frames output, 10676988 bytes
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
1 output OLS, 1 LRR, 0 NOS, 1 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
Example 11-3 Displays a Specific Interface
switch# show interface fc2/2
Port description is Trunk to Core-4
Hardware is Fibre Channel, SFP is short wave laser
Port WWN is 20:42:00:05:30:00:97:9e
Peer port WWN is 20:cc:00:05:30:00:50:9e
Admin port mode is E, trunk mode is on
Transmit B2B Credit is 255
Receive B2B Credit is 255
Receive data field Size is 2112
Belongs to port-channel 2
Trunk vsans (admin allowed and active) (1,100,3000)
Trunk vsans (isolated) (100,3000)
Trunk vsans (initializing) ()
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 32 bits/sec, 4 bytes/sec, 0 frames/sec
2214834 frames input, 98673588 bytes
2262415 frames output, 343158368 bytes
1 input OLS, 1 LRR, 1 NOS, 0 loop inits
2 output OLS, 1 LRR, 0 NOS, 0 loop inits
16 receive B2B credit remaining
3 transmit B2B credit remaining.
Example 11-4 Displays a VSAN Interface
switch# show interface vsan 2
vsan2 is up, line protocol is up
WWPN is 10:00:00:05:30:00:59:1f, FCID is 0xb90100
MTU 1500 bytes, BW 1000000 Kbit
0 packets input, 0 bytes, 0 errors, 0 multicast
0 packets output, 0 bytes, 0 errors, 0 dropped
Example 11-5 Displays CIM Server Certificate Files
switch# show cimserver certificateName
cimserver certificate file name is servcert.pem
Example 11-6 Displays the CIM Server Configuration
cimserver Http is not enabled
cimserver Https is enabled
cimserver certificate file name is servcert.pem
Example 11-7 Displays the CIM Server HTTPS Status
switch# show cimserver httpsstatus
cimserver Https is enabled
Example 11-8 Displays the CIM Server HTTP Status
switch# show cimserver httpstatus
cimserver Http is not enabled
Example 11-9 Displays Port Description
switch# show interface description
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Example 11-10 Displays Interface Information in a Brief Format
switch# show interface brief
-------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port
Mode Trunk Mode Speed Channel
-------------------------------------------------------------------------------
fc1/1 1 E on trunking swl TE 2 1
fc1/2 1 E on trunking swl TE 2 1
fc1/3 1 auto on SFPAbsent -- -- --
fc1/4 1 auto on SFPAbsent -- -- --
fc1/5 3000 auto on up swl F 2 --
fc2/2 1 E on trunking swl TE 2 2
fc2/3 1 auto on down c1610 -- --
fc2/4 1 auto on down c1590 -- --
fc2/5 3000 auto on notConnected lwcr -- --
fc2/6 1 auto on SFPAbsent -- -- --
fc3/16 3000 FX -- up swl F 2 --
fc3/17 1 FX -- SFPAbsent -- -- --
-------------------------------------------------------------------------------
Interface Status IP Address Speed MTU
-------------------------------------------------------------------------------
GigabitEthernet4/1 SFPAbsent -- auto 1500
GigabitEthernet4/6 down 10.1.1.2/8 auto 3000
GigabitEthernet4/7 down 10.1.1.27/24 auto 1500
GigabitEthernet4/8 down -- auto 1500
-------------------------------------------------------------------------------
Interface Status Oper Mode Oper Speed
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Status IP Address Speed MTU
-------------------------------------------------------------------------------
mgmt0 up 172.19.48.96/25 100 Mbps 1500
-------------------------------------------------------------------------------
Interface Vsan Admin Status Oper Oper
-------------------------------------------------------------------------------
port-channel 1 1 on trunking TE 4
port-channel 2 1 on trunking TE 4
-------------------------------------------------------------------------------
Interface Vsan Admin Admin Status Oper Profile Port-channel
-------------------------------------------------------------------------------
fcip10 1 auto on notConnected -- 10 --
Example 11-11 Displays Interface Counters
switch# show interface counters
5 minutes input rate 24 bits/sec, 3 bytes/sec, 0 frames/sec
5 minutes output rate 16 bits/sec, 2 bytes/sec, 0 frames/sec
3502 frames input, 268400 bytes
0 discards, 0 CRC, 0 unknown class
3505 frames output, 198888 bytes
1 input OLS, 1 LRR, 1 NOS, 0 loop inits
2 output OLS, 1 LRR, 1 NOS, 0 loop inits
1 link failures, 1 sync losses, 1 signal losses
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards, 0 CRC, 0 unknown class
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
0 output OLS, 0 LRR, 0 NOS, 0 loop inits
0 link failures, 0 sync losses, 0 signal losses
16 receive B2B credit remaining
3 transmit B2B credit remaining.
114000 packets input, 11585632 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
113997 packets output, 10969672 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
31557 packets input, 2230860 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
26618 packets output, 16824342 bytes, 0 underruns
0 output errors, 0 collisions, 7 fifo
0 packets input, 0 bytes, 0 errors, 0 multicast
0 packets output, 0 bytes, 0 errors, 0 dropped
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards, 0 CRC, 0 unknown class
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
0 output OLS, 0 LRR, 0 NOS, 0 loop inits
0 link failures, 0 sync losses, 0 signal losses
Note Interfaces 9/8 and 9/9 are not trunking ports and display class 2, 3, and F information as well.
Example 11-12 Displays Interface Counters in Brief Format
switch# show interface counters brief
-------------------------------------------------------------------------------
Interface Input (rate is 5 min avg) Output (rate is 5 min avg)
----------------------------- -----------------------------
Mbits/s Frames Mbits/s Frames
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Interface Input (rate is 5 min avg) Output (rate is 5 min avg)
----------------------------- -----------------------------
Mbits/s Frames Mbits/s Frames
-------------------------------------------------------------------------------
port-channel 2 0 3946 0 3946
Example 11-13 Displays BB_credit Information
switch# show interface bbcredit
fc2/1 is down (SFP not present)
Transmit B2B Credit is 255
Receive B2B Credit performance buffers is 375
12 receive B2B credit remaining
255 transmit B2B credit remaining
fc2/18 is down (SFP not present)
fc2/19 is down (SFP not present)
fc2/20 is down (SFP not present)
fc2/21 is down (Link failure or not-connected)
Receive B2B Credit performance buffers is 48
12 receive B2B credit remaining
0 transmit B2B credit remaining
fc2/32 is down (Link failure or not-connected)
Example 11-14 Displays BB_credit Information for a Specified Fibre Channel Interface
switch# show interface fc2/31 bbcredit
Receive B2B Credit performance buffers is 48
12 receive B2B credit remaining
0 transmit B2B credit remaining
Note The show interface transceiver command can only be issued on a switch in the Cisco MDS 9100 Series if the SFP is present (see Example 11-15).
Example 11-15 Displays Transceiver Information
switch# show interface transceiver
part number is QFBR-5796L
serial number is A00162193
fc-transmitter type is short wave laser
cisco extended id is unknown (0x0)
part number is FTRJ-1319-7D-CSC
fc-transmitter type is long wave laser cost reduced
cisco extended id is unknown (0x0)
Example 11-16 displays the running configuration for a specified interface.
Example 11-16 Displays the Running Configuration for a Specified Interface
switch# show running-config interface fc1/1
Displaying TL Port Information
Private loop devices refer to legacy devices that reside on arbitrated loops. These devices are not aware of a switch fabric because they only communicate with devices on the same physical loop.
The legacy devices are used in Fibre Channel networks and devices outside the loop may need to communicate with them.The communication functionality is provided through TL ports.
Use the switchport mode command to configure a TL port (see the "Interface Modes" section).
The show tlport command displays the TL port interface configurations. This command provides a list of all TL ports configured in a switch and shows the associated VSAN, the FC ID for the port (only domain and area are valid), and the current operational state of the TL port (up or initializing). See Examples 11-17 to 11-20.
Example 11-17 Displays the TL Ports in All VSANs
-------------------------------
Interface Vsan FC-ID State
------------------------- ------
TL ports allow a private device (devices that physically reside on the loop) to see a fabric device and vice-versa by proxying fabric devices on the loop. Fabric devices are proxied by allocating each fabric device an ALPA on this loop.
In addition to these proxied devices, other virtual devices (local or remote domain controller addresses) are also allocated ALPAs on the loop. A switch reserves the ALPA for its own communication with private devices, and the switch acts as a SCSI initiator.
The first column in the output of the show tlport interface command is the ALPA identity of the device on the loop. The columns that follow include the port WWNs, the node WWNs for each device, the device as a SCSI initiator or target, and the real FC ID of the device.
Example 11-18 Displays the Detailed Information for a Specific TL Port
switch# show tlport interface fc1/16 all
fc1/16 is up, vsan 1, FCID 0x420000
--------------------------------------------------------------------------------
alpa pWWN nWWN SCSI Type Device FC-ID
--------------------------------------------------------------------------------
0x01 20:10:00:05:30:00:4a:de 20:00:00:05:30:00:4a:de Initiator Proxied 0xfffc42
0x73 22:00:00:20:37:39:ae:54 20:00:00:20:37:39:ae:54 Target Private 0x420073
0xef 20:10:00:05:30:00:4a:de 20:00:00:05:30:00:4a:de Initiator Switch 0x0000ef
Example 11-19 Displays TL Port Information for Private Devices
switch# show tlport int fc1/16 pri
fc1/16 is up, vsan 1, FCID 0x420000
------------------------------------------------------------------------
alpa pWWN nWWN SCSI Type FC-ID
------------------------------------------------------------------------
0x73 22:00:00:20:37:39:ae:54 20:00:00:20:37:39:ae:54 Target 0x420073
0x74 22:00:00:20:37:38:d3:de 20:00:00:20:37:38:d3:de Target 0x420074
Example 11-20 Displays TL Port Information for Proxied Devices
switch# show tlport int fc1/16 prox
fc1/16 is up, vsan 1, FCID 0x420000
------------------------------------------------------------------------
alpa pWWN nWWN SCSI Type FC-ID
------------------------------------------------------------------------
0x01 20:10:00:05:30:00:4a:de 20:00:00:05:30:00:4a:de Initiator 0xfffc42
0x02 21:00:00:e0:8b:01:95:e7 20:00:00:e0:8b:01:95:e7 Initiator 0x420100
TL Port Translation Guidelines
Table 11-6 lists the TL port translations supported in Cisco MDS 9000 Family switches.
Table 11-6 Supported TL Port Translations
Translation from
|
Translation to
|
|
Private initiator
|
Private target
|
From I1 to T1 or vice versa
|
Private initiator
|
Public target — N port
|
From I1 to T2 or vice versa
|
Private initiator
|
Public target — NL port
|
From I4 to T3 or vice versa
|
Public initiator — N port
|
Private target
|
From I2 to T1 or vice versa
|
Public initiator — NL port
|
Private target
|
From I3 to T1 or vice versa
|
Figure 11-4 TL Port Translation Support Examples
Follow these guidelines when configuring private loops:
•A maximum of 64 fabric devices can be proxied to a private loop.
•Fabric devices must be in the same zone as private loop devices to be proxied to the private loop.
•Each private device on a TL port may be included in a different zone.
•All devices on the loop are treated as private loops. You cannot mix private and public devices on the loop if the configured port mode is TL.
•The only FC4-type supported by TL ports is SCSI (FCP).
•Communication between a private initiator to a private target on the same private loop does not invoke TL port services.
Default Settings
Table 11-7 lists the default settings for interface parameters.
Table 11-7 Default Interface Parameters
Parameters
|
Default
|
Interface mode
|
Auto
|
Interface speed
|
Auto
|
Management port
|
100 Mbps in full duplex mode
|
Administrative state
|
Shutdown (unless changed during initial setup)
|
Trunk mode
|
On (unless changed during initial setup)
|
Trunk-allowed VSANs
|
1 to 4093
|
Interface VSAN
|
Default VSAN (1)
|
Beacon mode
|
Off (disabled)
|
EISL encapsulation
|
Disabled
|
Data field size
|
2112 bytes
|
CIM server
|
Disabled
|
CIM server security protocol
|
HTTP
|