Owner's manual

86
Chapter 5 - Command Line Interface
5.3.16.3 name VLANNAME
Use the command to create vlan entry with VLANNAME on the switch.
CLI Syntax
: name VLANNAME
Example
: (cong)# vlan 2
(cong-vlan)# name VLAN2
5.3.16.4 access vlan
Set access mode characteristics of all interfaces and Set Virtual LAN.
CLI Syntax
: switchport access vlan <1-3000>
Example
: (cong)# interface gi1/0/2
(cong-if)# switchport access vlan 1
5.3.16.5 allowed VLANs
Use the switchport trunk allowed vlan configuration command on the
switch to add or remove the allowed VLANs that can receive and send
trafc on this interface in tagged format when in trunking mode
CLI Syntax
: switchport trunk allowed vlan (add | remove) VLANLIST
Example
: (cong)# interface gi1/0/2
(cong-if)# switchport trunk allowed vlan add 1-10
5.3.17 GVRP
5.3.17.1 clear gvrp statistics
Use the clear gvrp statistics conguration command on the switch to clear
all the GVRP statistics information on one or all interfaces.
CLI Syntax
: clear gvrp statistics [IFNAME]
Example
: ASUS# clear gvrp statistics gi1/0/2
5.3.17.2 gvrp mode
This command sets the GVRP feature globally enable or disable on the
switch.