beautypg.com

Chapter 5 - command line interface, 17 gvrp – Asus GigaX2124 User Manual

Page 98

background image

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: (config)# vlan 2
(config-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: (config)# interface gi1/0/2
(config-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

traffic on this interface in tagged format when in trunking mode

CLI Syntax: switchport trunk allowed vlan (add | remove) VLANLIST
Example: (config)# interface gi1/0/2
(config-if)# switchport trunk allowed vlan add 1-10

5.3.17 GVRP

5.3.17.1

clear gvrp statistics

Use the clear gvrp statistics configuration 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.