User guide
6-14 E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
V
IRTUAL
LAN
S
(VLAN
S
)
VLAN C
ONFIGURATION
C
OMMANDS
Tab le 6-1 describes the commands used to configure a VLAN.
Table 6- 1: VLAN Configuration Commands
Command Description
config dot1q ethertype <ethertype> Configures an IEEE 802.1Q Ethertype. Use
this command only if you have another switch
that supports 802.1Q, but uses a different
Ethertype value than 8100. You must reboot
the switch for this command to take effect.
config protocol <protocol_name> [add | delete]
<protocol_type> <hex_value> {<protocol_type>
<hex_value>} ...
Configures a protocol filter. Supported
<protocol_type> values include:
■
etype
■
llc
■
snap
The variable <hex_value> is a hexadecimal
number between 0 and FFFF that represents
either the Ethernet protocol type (for
EtherType), the DSAP/SSAP combination (for
LLC), or the SNAP-encoded Ethernet protocol
type (for SNAP).
config vlan <name> add port <portlist> {tagged
| untagged} {nobroadcast}
Adds one or more ports to a VLAN. You can
specify tagged port(s), untagged port(s).
Specify nobroadcast to prevent the switch
from forwarding broadcast, multicast, and
unknown unicast traffic. By default, ports are
untagged.
config vlan <name> delete port <portlist>
{tagged | untagged} {nobroadcast}
Deletes one or more ports from a VLAN.
config vlan <name> ipaddress <ipaddress>
{<mask>}
Assigns an IP address and an optional mask to
the VLAN.
config vlan <name> protocol [<protocol_name>
| any]
Configures a protocol-based VLAN. If the
keyword any is specified, then it becomes the
default VLAN. All packets that cannot be
classified into other protocol-based VLANs are
assigned to the default VLAN of that port.
config vlan <name> qosprofile <qosname> Configures a VLAN to use a particular QoS
profile. Dynamic FDB entries associated with
the VLAN are flushed once the change is
committed.