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)
Содержание 3C17705
Страница 1: ... http www 3com com SuperStack II Switch 9100 User Guide Part No DUA1770 5AAA01 Published January 2000 ...
Страница 10: ...GLOSSARY INDEX INDEX OF COMMANDS 3COM CORPORATION LIMITED WARRANTY EMC STATEMENTS ...
Страница 14: ...14 ABOUT THIS GUIDE ...
Страница 32: ...32 CHAPTER 2 INSTALLATION AND SETUP ...
Страница 62: ...62 CHAPTER 3 ACCESSING THE SWITCH ...
Страница 80: ...80 CHAPTER 4 VIRTUAL LANS VLANS ...
Страница 86: ...86 CHAPTER 5 FORWARDING DATABASE FDB ...
Страница 98: ...98 CHAPTER 6 SPANNING TREE PROTOCOL STP ...
Страница 110: ...110 CHAPTER 7 QUALITY OF SERVICE QOS ...
Страница 124: ...124 CHAPTER 8 STATUS MONITORING AND STATISTICS ...
Страница 130: ...130 CHAPTER 9 USING THE WEB INTERFACE ...
Страница 136: ...136 CHAPTER 10 SOFTWARE UPGRADE AND BOOT OPTIONS ...
Страница 156: ...156 APPENDIX C TROUBLESHOOTING ...
Страница 162: ......
Страница 176: ...176 INDEX ...
Страница 180: ...180 INDEX OF COMMANDS ...