beautypg.com

Amer Networks SS2GD8I User Manual

Page 128

background image

122

set mode

Syntax: set mode [up-link]

Description: Switches VLAN mode.

Arguments:

: can be “disable” to disable VLANs, “tag” to set tag-based VLAN, “port” to set port-based VLAN,
“metro” to set metro mode VLAN, or “double-tag” to enable Q-in-Q function.

[up-link] (optional): can be “7”, “8”, or “7,8”, only for metro mode VLAN

Example:

SS2GD8I(vlan)# set mode port

set port-group

Syntax: set port-group

Description: Adds or edits a port-based VLAN group.

Arguments:

: port-VLAN name

: which ports to change, can be a single port (e.g. “1”) or a range of ports (e.g. “5-7”), range
from 1-8.

Example:

SS2GD8I(vlan)# set port-group VLAN-1 2-5,6,8

set port-role

Syntax: set port-role [vid]

Description: Sets egress rule and configures port roles.

Arguments:

: which ports to change, can be a single port (e.g. “1”) or a range of ports (e.g. “5-7”), range
from 1-8.

: can be “access” to not tag frames, “trunk” to tag all frames, or “hybrid” to tag all frames except a
specific VID.

[vid] (optional): untag-VID for hybrid port, range from 1-4094.

Example:

SS2GD8I(vlan)# set port-role 5 hybrid 6