Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)
Send comments to nx5000-docfeedback@cisco.com
8-131
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 8 Fibre Channel Commands
switchport
Command Default The EISL encapsulation is disabled.
The default receive data buffer size is 2112 bytes.
The port mode is auto.
The speed is auto.
The maximum auto speed is 2000.
The trunk mode is on.
Command Modes Interface configuration mode
Command History
Usage Guidelines You can specify a range of interfaces by entering a command with the following example format:
interface fc 1/1 - 5 , fc 2/5 - 7
The port speed on an interface determines the amount of shared resources available to the ports in the
port group. Port group resources are reserved even though the bandwidth is not used. For example, if an
interface is configured for autosensing (auto), 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.
When configuring port modes, observe the following guidelines:
• Auto port mode and E port mode cannot be configured in shared rate mode.
• Shared to dedicated ports should be configured in this order: speed, port mode, credit.
• Dedicated to shared ports should be configured in this order: credit, port mode, speed.
For a virtual Fibre Channel interface, you can set the port mode to F. The remaining switch port
parameters are not configurable.
Examples The following example configures switch port parameters for a Fibre Channel interface:
switch(config)# interface fc 2/3
switch(config-if)# switchport description techdocsSample
switch(config-if)# switchport mode E
vsan-id Specifies the VSAN ID. The range is 1 to 4093.
all Adds all the VSANs to allowed VSAN list.
mode Configures the trunking mode.
auto Configures automatic trunking mode.
off Disables the trunking mode.
on Enables the trunking mode.
Release Modification
4.0(0)N1(1a) This command was introduced.