Reference Guide 578 Document #: LTRT-17939
Mediant MSBR
74.2.8 Switch Port Interface Commands
The following describes Switch Port Interface commands.
74.2.8.1 switchport mode
This command configures the VLAN Trunking mode.
Syntax
switchport mode access
switchport mode trunk
switchport mode transparent
Command Description
access Sets the port to access mode.
trunk Sets the port to trunk mode.
transparent Set the port to transparent mode (Q-in-Q)
Default
Switchport mode is set to trunk.
Command Mode
Privileged User
Example
This example sets the switchport mode to static access on GigabitEthernet 4/2:
(config-data)# interface gigabitethernet 0/1
(conf-if-GE 0/1)# switchport mode access
74.2.8.2 switchport access vlan
This command configures the specified switch port interface as a static-access member of a
VLAN.
Syntax
switchport access vlan <vlan id>
Command Description
<vlan id> Defines a valid VLAN interface ID. Range is 1 to 3999.
Default
A single VLAN interface is available (VLAN 1).