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-130
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 8 Fibre Channel Commands
switchport
switchport
To configure a switch port parameter on a Fibre Channel or virtual Fibre Channel interface, use the
switchport command. To discard the configuration, use the no form of the command.
Fibre Channel Interface:
switchport { encap eisl |
fcrxbbcredit {credit [mode E | F ] | default | } |
mode {auto | E | F | SD | NP} |
speed {1000 | 2000 | 4000 | auto [max 2000]} |
trunk {allowed vsan {[add] vsan-id | all} | mode {auto | off | on}}}
no switchport { encap eisl | fcrxbbcredit| fcrxbufsize size | mode | rate | speed | trunk allowed
vsan [[add] vsan-id | all]}
Virtual Fibre Channel Interface:
switchport mode F
Syntax Description encap eisl Configures extended ISL (EISL) encapsulation for the interface.
fcrxbbcredit Configures receive BB_credit for the port.
credit Specifies receive BB_credit. The range is 1 to 255
mode Configures receive BB_credit for the specific port mode.
E Configures receive BB_credit for E or TE port mode.
F Configures receive BB_credit for F port mode.
default Configures default receive BB_credits depending on the port mode and
capabilities.
mode Configures the port mode.
auto Configures autosense mode.
E Configures E port mode.
F Configures F port mode.
SD Configures SD port mode.
NP Configures N port proxy mode. NP mode is valid only when the switch is
operating in NPV mode.
speed Configures the port speed.
1000 Configures 1000-Mbps speed.
2000 Configures 2000-Mbps speed.
4000 Configures 4000-Mbps speed.
auto Configures autosense speed.
max 2000 Configures 2-Gbps as the maximum bandwidth reserved in auto mode for
24-port and 48-port 4-Gbps switching module interfaces.
trunk Configures trunking parameters on the interface.
allowed Specifies the allowed list for interface(s).
vsan Configures the VSAN range.
add (Optional) Adds the VSAN ID to the range of allowed VSAN list