(Revised 2013-06-21)
40
Port VLAN
Port VLAN is accomplished entirely within the switch itself. All incoming frames can be untagged, or if
tagged the tag will be replaced by the PVID (see explanation above). Incoming packets will use the (internal
to the switch) PVIDs to determine group membership. All outgoing frames will be untagged. All unlearned
packets will flood only to all group member ports. Multicast and Broadcast will go only to group members.
When configuring each group:
o
choose member ports (any, all or none)
o
by port, choose if this is the primary VID for the port.
(group1 always=PVID of 1, group 2 = PVID of 2,...)
Note that:
‘bfilter’ must be disabled (all ports receiving broadcast) before enabling vlan.
Ports are deleted from group1 as each port is added to another group.
Ports are added to group1 if a deletion leaves a port with no group.
(Every port always has at least one group.)
These automatic adds/deletes to/from group1 are messaged to the console.
If it is desired to have a port on group1 and also on other group(s) configure group1 last to achieve that.
If group1 is configured last and ports are left out of all groups, they'll be added to group1 and you'll see
a message.
Port VLAN Menu:
Command Description
Comment
info
Displays the current VLAN settings.
disable (or enable)
Enable or Disable VLAN
Choice is opposite of current state
tagged
Switch to Tagged VLAN
group1
configure tagged VLAN Group 1
Select VID and member ports
group2
configure tagged VLAN Group 2
Select VID and member ports
group3
configure tagged VLAN Group 3
Select VID and member ports
group4
configure tagged VLAN Group 4
Select VID and member ports
Group5
configure tagged VLAN Group 5
Select VID and member ports
Group6
configure tagged VLAN Group 6
Select VID and member ports
Group7
configure tagged VLAN Group 7
Select VID and member ports
Group8
configure tagged VLAN Group 8
Select VID and member ports
cleargroups
clear all 8 tagged VLAN Groups
Example of the Port VLAN config ( groupX ) screen, taking default choice for PVID:
Note that for the defaults choices (just enter) all chosen ports have the group VID as their PVID,
and outgoing packets are untagged for all group ports.
CLI\SWITCH\VLAN>group3
Configure Port VLAN Group 3.
Enter ports to Join VLAN Group 3
(Example: '3,6,12,14<enter>'.)
Enter Port Numbers (or ESC to exit)> 4,5,6,7,8,9
These ports were removed from group1: 6 7 8 9
Would you like all these ports to have PVID=3 ?
Enter 'NO' or (YES):
CLI>
CLI\SWITCH\VLAN>