Brocade Converged Enhanced Ethernet Command Reference v6.1.2_cee (53-1001217-01, June 2009)

54 Converged Enhanced Ethernet Command Reference
53-1001217-01
switchport mode
3
switchport mode
Sets the mode of the Layer 2 interface.
Synopsis switchport mode {access | trunk}
Operands access Sets the Layer 2 interface as access.
trunk Sets the Layer 2 interface as trunk.
Defaults There are no defaults for this command.
Command
Modes
Interface Configuration Mode
Description Use this command to set the mode of the Layer 2 interface.
Usage
Guidelines
There are no usage guidelines for this command.
Examples To set the mode of the interface to access:
switch(conf-if-te-0/19)#switchport mode access
To set the mode of the interface to trunk:
switch(conf-if-te-0/19)#switchport mode trunk
See Also show vlan brief, show interface switchport, switchport trunk