S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
21-88
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 21 S Commands
switchport
–
Generation-1 interfaces do not support the
auto max 2000
speed.
–
The force addition can fail for a Generation-2 interface if resources are unavailable.
Examples
The following example shows how to configure NP port mode:
switch#
config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#
interface fc 1/1
switch(config-if)#
switchport mode NP
fc1/1: (error) port already in a port-channel, no config allowed
switch(config-if)#
The following example configures switch port parameters for a Fibre Channel interface.
switch#
config terminal
switch(config)#
interface fc 1/23
switch(config-if)#
switchport description techdocsSample
switch(config-if)#
switchport mode E
switch(config-if)#
switchport trunk mode auto
switch(config-if)#
switchport trunk allowed vsan all
switch(config-if)#
switchport trunk allowed vsan 3
switch(config-if)#
switchport trunk allowed vsan add 2
switch(config-if)#
switchport encap eisl
switch(config-if)#
switchport fcrxbbcredit performance-buffers 45
switch(config-if)#
switchport proxy-initiator nWWN 11:11:11:11:11:11:11:11 pwwn
22:22:22:22:22:22:22:22
switch(config-if)#
no switchport proxy-initiator nWWN 11:11:11:11:11:11:11:11 pwwn
22:22:22:22:22:22:22:22
switch(config-if)#
switchport fcrxbbcredit extended 2000
The following example configures the port speed of a Fibre Channel interface and enables autosensing
on the interface.
switch#
config terminal
switch(config)#
interface fc 1/1
switch(config-if)#
switchport speed 4000
switch(config-if)#
switchport speed auto
The following example reserves dedicated bandwidth for the interface.
switch(config-if)#
switchport rate-mode dedicated
The following example reserves shared (default) bandwidth for the interface.
switch(config-if)#
switchport rate-mode shared
Related Commands
Command
Description
fcrxbbcredit extended
enable
Enables extended BB_credits on the switch.
show interface
Displays an interface configuration for a specified interface.