48 Converged Enhanced Ethernet Command Reference
53-1001762-01
switchport
3
DRAFT: BROCADE CONFIDENTIAL
switchport
Puts the interface to Layer 2 mode and sets the switching characteristics of the Layer 2 interface to
the defaults.
Synopsis switchport
no switchport
Operands none
Defaults By default, all Layer 2 interfaces are mapped to default VLAN 1 and the interface is set to access
mode.
Command
Modes
Interface configuration mode
Description Use this command to set the switching characteristics of the Layer 2 interface. Use the no
switchport command to take the switch out of the Layer 2 mode.
Usage
Guidelines
For changing the interface configuration mode to trunk or changing the default VLAN mapping, use
additional switchport commands.
Examples To put an interface in Layer 2 mode:
switch(conf-if-te-0/1)#switchport
To remove an interface from Layer 2 mode:
switch(conf-if-te-0/1)#no switchport
See Also show vlan brief, show interface switchport, switchport mode, switchport access, switchport trunk