4 name vlaname, 6 switchport mode (access|trunk) – Asus GigaX2024B User Manual
Page 34

GigaX2024B/M L2 Managed Switch CLI Manual
14
5.4
name VLANAME
Syntax
name VLANAME
Parameters
VLANAME - vlan name string
No/clear
no name
Command Mode Config-vlan mode
Default
None or depends on ODM customer
Description
Use the name string command to create vlan entry with string on
the switch.
Example
ASUS(config-vlan)#name ABC
5.5
switchport access vlan <1-3000>
Syntax
switchport access vlan <1-3000>
Parameters
access the interface in access mode
vlan
Virtual LAN
<1-3000> valid vlan-id range is 1 to 3000
Command Mode Interface mode
No/clear
no switchport access vlan
Show
show vlan [VLANID]
Default
None or depends on ODM customer
Description
Set access mode characteristics of all interfaces and Set Virtual
LAN
Example
ASUS(config-if)#switchport access vlan 2
5.6
switchport mode (access|trunk)
Syntax
switchport mode (access|trunk)
Parameters
access the interface in access mode
trunk the interface in trunk mode
Command Mode Interface mode
No/clear
no switchport access vlan