3Com 9100 Switch User Manual


 
76
C
HAPTER
4: V
IRTUAL
LAN
S
(VLAN
S
)
Configuring VLANs
on the Switch
This section describes the commands associated with setting up VLANs
on the switch. Configuring a VLAN involves the following steps:
1
Create and name the VLAN.
2
Assign an IP address and mask (if applicable) to the VLAN, if needed.
Each IP address and mask assigned to a VLAN must represent a unique IP
subnet. You cannot configure the same IP subnet on different VLANs.
3
Assign a VLANid, if any ports in this VLAN will use a tag.
4
Assign one or more ports to the VLAN.
As you add each port to the VLAN, decide if the port will use an 802.1Q
tag.
Ta b l e 1 9
describes the commands used to configure a VLAN.
Table 19
VLAN Configuration Commands
Command Description
create vlan <name>
Creates a named VLAN.
create protocol <protocol_name>
Creates a user-defined protocol.
enable ignore-stp vlan <name>
Enables a VLAN from using STP port information.
When enabled, all virtual ports associated with
the VLAN are in STP forwarding mode. The
default setting is disabled.
config dot1p 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.
config protocol <protocol_name>
[add | delete] <protocol_type>
<hex_value> {<protocol_type>
<hex_value>} ...
Configures a protocol filter. Supported
<
protocol_typ
e> 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> ipaddress
<ipaddress> {<mask>}
Assigns an IP address and an optional mask to the
VLAN.
(continued)