Brocade Converged Enhanced Ethernet Command Reference v6.1.2_cee (53-1001217-01, June 2009)
52 Converged Enhanced Ethernet Command Reference
53-1001217-01
switchport
3
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 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