Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Selects a Fibre Channel interface and enters
interface configuration mode.
switch(config)# interface {fc
slot/port}|{vfc vfc-id}
Step 2
Gracefully shuts down the interface and
administratively disables traffic flow (default).
switch(config-if)# shutdown
Step 3
Configuring Interface Modes
To configure the interface mode, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Selects a Fibre Channel interface and enters interface
configuration mode.
switch(config)# interface {fc
slot/port}|{vfc vfc-id}
Step 2
For a Fibre Channel interface, you can set the mode to E,
F, or SD port mode. Set the mode to auto to auto-negotiate
an E, F, TE port mode (not SD port mode) of operation.
switch(config-if)# switchport
mode E | F | SD | auto
Step 3
SD ports cannot be configured automatically. They
must be administratively configured.
Note
For a virtual Fibre Channel, only the F port mode is
supported.
Configuring the Interface Description
Interface descriptions should help you identify the traffic or use for that interface. The interface description
can be any alphanumeric string.
To configure a description for an interface, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Selects a Fibre Channel interface and enters
interface configuration mode.
switch(config)# interface {fc slot/port}|{vfc
vfc-id}
Step 2
Configures the description of the interface. The
string can be up to 80 characters long.
switch(config-if)# switchport description
cisco-HBA2
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 469
Configuring Fibre Channel Interfaces
Configuring Interface Modes