set vlan forbidden
SecureStack C2 Configuration Guide 8-13
Mode
Switchcommand,read‐write.
Example
ThisexampleshowsyouhowtoshowVLANegressinformationforge.1.1through3.Inthiscase,
allthreeportsareallowedtotransmitVLAN1framesastaggedandVLAN10framesas
untagged.BotharestaticVLANs:
C2(su)->show port egress ge.1.1-3
Port Vlan Egress Registration
Number Id Status Status
-------------------------------------------------------
ge.1.1 1 tagged static
ge.1.1 10 untagged static
ge.1.2 1 tagged static
ge.1.2 10 untagged static
ge.1.3 1 tagged static
ge.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
Thisexampleshowsyouhowtosetge.1.3toforbiddenforVLAN6:
C2(su)->set vlan forbidden 6 ge.1.3
set vlan egress
UsethiscommandtoaddportstotheVLANegresslistforthedevice,ortopreventoneormore
portsfromparticipatinginaVLAN.Thisdetermineswhichportswilltransmitframesfora
particularVLAN.
vlan‐id Specif iestheVLANforwhichtosetforbiddenport(s).
port‐string Specifiestheport(s)
tosetasforbiddenforthespecifiedvlan‐id.