set vlan forbidden
9-14 802.1Q VLAN Configuration
Mode
Switchcommand,read‐write.
Example
ThisexampleshowsyouhowtoshowVLANegressinformationforfe.1.1through3.Inthiscase,
allthreeportsareallowedtotransmitVLAN1framesastaggedandVLAN10framesas
untagged.BotharestaticVLANs:
D2(su)->show port egress fe.1.1-3
Port Vlan Egress Registration
Number Id Status Status
-------------------------------------------------------
fe.1.1 1 tagged static
fe.1.1 10 untagged static
fe.1.2 1 tagged static
fe.1.2 10 untagged static
fe.1.3 1 tagged static
fe.1.3 10 untagged static
set vlan forbidden
UsethiscommandtopreventoneormoreportsfromparticipatinginaVLAN.Thissetting
instructsthedevicetoignoredynamicrequests(eitherthroughGVRPordynamicegress)forthe
porttojointheVLAN.
Syntax
set vlan forbidden vlan-id port-string
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowsyouhowtosetfe.1.3toforbiddenforVLAN6:
D2(su)->set vlan forbidden 6 fe.1.3
vlan‐id SpecifiestheVLANforwhichtosetforbiddenport(s).
port‐string Specifiestheport(s)tosetasforbiddenforthespecifiedvlan‐id.