16 gvrp, 1 clear gvrp statistics 5.3.16.2 gvrp mode – Asus GigaX2024B User Manual

Page 81

Advertising
background image

69

GigaX2024B L2 Managed Switch User Manual

5.3.15.3 name string

Use the name string command to create vlan entry with string on the switch.

CLI Syntax: name string
Example: (config-vlan)# name VLAN2

5.3.15.4 access vlan

Set access mode characteristics of all interfaces and Set Virtual LAN.

CLI Syntax: switchport access vlan <1-4094>
Example: (config)# interface fa1/0/2

(config-if)# switchport access vlan 1

5.3.15.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 fa1/0/2
(config-if)# switchport trunk allowed vlan add 1-10

5.3.16 GVRP

5.3.16.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 fa1/0/2

5.3.16.2 gvrp mode

This command sets the GVRP feature globally enable or disable on the switch.

CLI Syntax: gvrp (enable|disable)
Example: ASUS# gvrp enable

Advertising