switchport
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
•
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
fcrxbbcredit extended
enable
show interface
Cisco MDS 9000 Family Command Reference
21-76
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.
–
Description
Enables extended BB_credits on the switch.
Displays an interface configuration for a specified interface.
Chapter 21
OL-16217-01, Cisco MDS SAN-OS Release 3.x
S Commands