4-12
S
UMMIT
S
WITCH
I
NSTALLATION
AND
U
SER
G
UIDE
C
OMMANDS
VLAN C
OMMANDS
Table 4-7
describes VLAN commands.
Table 4-7: VLAN Commands
Command
Description
show vlan {<name> | all>
When used with the keyword
all
, or with no
named VLANs, displays a summary list of
VLAN names with a portlist and associated
status of each. When used with a named
identifier, displays port information, including
membership list, IP address, and tag
information.
create vlan <name>
Creates a named VLAN.
delete vlan <name>
Removes a VLAN.
config vlan <name> [add | delete] port
<portlist> {tagged | untagged}
Adds and deletes ports. You can specify
tagged and untagged port(s). By default, ports
are untagged.
config vlan <name> tag <vlanid>
Assigns a numerical VLANid. The valid range
is from 1 to 4095.
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 this change is
committed.
config vlan <name> ipaddress <ipaddress>
{<mask>}
Assigns an IP address and an optional mask to
the VLAN.
config dot1q ethertype <ethertype>
Configures an IEEE 802.1Q Ethertype. Use
this command if you have another Switch that
supports 802.1Q, but uses a different
Ethertype. The default value used by the
Switch is 8100.
unconfig vlan <name> ipaddress
Removes the IP address associated with a
VLAN.
SUMMIT.BK Page 12 Thursday, September 25, 1997 12:33 PM