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
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 ...