Configuring VLANs on the Switch
77
VLAN Configuration
Examples
The following Switch 9100 example creates a port-based VLAN named
accounting
, assigns the IP address 132.15.121.1, and assigns ports 1, 2,
3, and 6 to it:
create vlan accounting
config accounting ipaddress 132.15.121.1
config default delete port 1-3,6
config accounting add port 1-3,6
Because VLAN names are unique, you do not need to enter the keyword
vlan
after you have created the unique VLAN name. You can use the
VLAN name alone.
The following Switch 9100 example creates a tag-based VLAN named
video
. It assigns the VLANid 1000. Ports 4 through 8 are added as tagged
ports to the VLAN.
create vlan video
config video tag 1000
config video add port 4-8 tagged
config vlan <name> add port
<portlist> {tagged | untagged}
Adds one or more ports to a VLAN. You can
specify tagged port(s), untagged port(s). By
default, ports are untagged.
config vlan <name> delete port
<portlist> {tagged | untagged}
Deletes one or more ports from a 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.
config vlan <name> tag <vlanid>
Assigns a numerical VLANid. The valid range is
from 1 to 4095.
Table 19
VLAN Configuration Commands (continued)
Command
Description
Содержание 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 ...