Send documentation comments to mdsfeedback-doc@cisco.com
21-68
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 21 S Commands
switchport
• When using the force option to add a PortChannel to a configuration that uses both Generation-1
and Generation-2 modules, follow these guidelines:
–
Configure the PortChannel interface speed to auto max 2000, or add the Generation-1
interfaces followed by the Generation-2 interfaces.
–
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 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.