Command Reference Guide Ethernet Interface Configuration Command Set
61200510L1-35E Copyright © 2005 ADTRAN 651

switchport mode [access | stack | trunk]

Use the switchport mode command to configure the VLAN membership mode. To reset membership
mode to the default value, use the no version of this command. The stack selection does not apply to the
NetVanta 300 Series units.
Syntax Description
access Sets port to be a single (non-tru nk ed ) po rt that transmits and receives no tagged
packets.
stack Sets the port to allow it to communicate with a switch stack.
trunk Sets port to transmit and receive packets on all VLANs included within its VLAN
allowed list.
Default Values
By default, switchport mode is set to access.
Applicable Platforms
This command applies to the NetVanta 300, 1000, and 1000R Series units.
Command History
Release 5.1 Command was introduced.
Functional Notes
Configuring the inter face for sta ck mode (using the swit chport mode stack command) enables the switch
to communicate with other switches that it is stacking capable.
Ιf the switch is configured as the stack master (using the (config)#stack master command), it will begin
advertising itself as a stack master.
Ιf the switch is configured as the stack member (using the (config)#stack member command), it will
begin advertising other stack masters that it knows about.
Stack mode also allows the port to transmit and receive packets on all VLANs that are included in the
VLAN allowed list.
Usage Examples
The following example sets the port to be a trunk port:
(config)#interface eth 0/1
(config-eth 0/1)#switchport mode trunk