5 switchport mode (access|trunk) – Asus GigaX3124 User Manual
Page 64

GigaX3124 Layer3 Switch CLI Command Reference
39
No/clear
Show
Default
Description
Use the show vlan user EXEC command to display the param-
eters for all configured VLANs or one VLAN (if the name is speci-
fied) on the switch.
Example
ASUS# show vlan name VLAN2
4.4
switchport access vlan <1-3000>
Syntax
switchport access vlan <1-3000>
Parameters
access Set 802.1Q access mode for the port
vlan IEEE 802.1Q Virtual Local Area Networks
<1-3000> VLAN ID
Command Mode Interface configuration mode
No/clear
Show
show vlan [VLANID]
Default
Description
Set Virtual LAN and the interface to access mode
Example
ASUS(config-if)# switchport access vlan 2
4.5
switchport mode (access|trunk)
Syntax
switchport mode (access|trunk)
Parameters
access Set 802.1Q access mode for the port
trunk Set 802.1Q trunk mode for the port
Command Mode Interface configuration mode
No/clear
Show
show interface [IFNAME]
Default
The default mode is trunk
Description
Set the interface to access or trunk mode.
Example
ASUS(config-if)# switchport mode access