Set vlan port – 3Com Wireless LAN WX1200 User Manual

Page 117

Advertising
background image

set vlan port

117

set vlan port

Assigns one or more network ports to a VLAN. You also can add a virtual
port to each network port by adding a tag value to the network port.

Syntax

set vlan vlan-id port port-list [tag tag-value]

„

vlan-id

— VLAN name or number.

„

port

port-list

List of physical ports.

„

tag

tag-value

Tag value that identifies a virtual port. You can

specify a value from 1 through 4093.

By default, no ports are members of any VLANs. A wireless LAN switch
cannot forward traffic on the network until you configure VLANs and add
network ports to the VLANs.

Access — Enabled.

History —Introduced in MSS Version 3.0.

Usage — You can combine this command with the set port name
command to assign the name and add the ports at the same time.

If you do not specify a tag value, the WX switch sends untagged frames
for the VLAN. If you do specify a tag value, the WX sends tagged frames
only for the VLAN.

If you do specify a tag value, 3Com recommends that you use the same
value as the VLAN number. MSS does not require the VLAN number and
tag value to be the same but some other switches do.

Examples — The following command assigns the name beige to VLAN
11 and adds ports 1 through 3 to the VLAN:

WX1200# set vlan 11 name beige port 1-3
success: change accepted.

The following command adds port 6 to VLAN beige and assigns tag value
86 to the port:

WX1200# set vlan beige port 6 tag 86
success: change accepted.

See Also

„

clear security 12-restrict on page 99

„

display vlan config on page 111

„

set security l2-restrict on page 114

Advertising