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.
Table 19
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)
Summary of Contents for 3C17705
Page 10: ...GLOSSARY INDEX INDEX OF COMMANDS 3COM CORPORATION LIMITED WARRANTY EMC STATEMENTS ...
Page 14: ...14 ABOUT THIS GUIDE ...
Page 32: ...32 CHAPTER 2 INSTALLATION AND SETUP ...
Page 62: ...62 CHAPTER 3 ACCESSING THE SWITCH ...
Page 80: ...80 CHAPTER 4 VIRTUAL LANS VLANS ...
Page 86: ...86 CHAPTER 5 FORWARDING DATABASE FDB ...
Page 98: ...98 CHAPTER 6 SPANNING TREE PROTOCOL STP ...
Page 110: ...110 CHAPTER 7 QUALITY OF SERVICE QOS ...
Page 124: ...124 CHAPTER 8 STATUS MONITORING AND STATISTICS ...
Page 130: ...130 CHAPTER 9 USING THE WEB INTERFACE ...
Page 136: ...136 CHAPTER 10 SOFTWARE UPGRADE AND BOOT OPTIONS ...
Page 156: ...156 APPENDIX C TROUBLESHOOTING ...
Page 162: ......
Page 176: ...176 INDEX ...
Page 180: ...180 INDEX OF COMMANDS ...