set port discard
Enterasys G-Series CLI Reference 7-11
set port discard
Usethiscommandtosettheframediscardmodeononeormoreports.
Syntax
set port discard port-string {tagged | untagged | both | none}
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Theoptionsaretodiscardallincomingtaggedframes,allincominguntaggedframes,neither
(essentiallyallowalltraffic),orboth(essentiallydiscardingalltraffic).
Acommonpracticeistodiscardalltaggedpacketonuserports.TypicallyanAdministratordoes
notwanttheendusersdefiningwhatVLANtheyusefor
communication.
Example
Thisexampleshowshowtodiscardalltaggedframesreceivedonportge.3.3:
G3(su)->set port discard ge.3.3 tagged
Configuring the VLAN Egress List
Purpose
ToassignorremoveportsontheegresslistofaparticularVLAN.Thisdetermineswhichportson
theswitchwillbeeligibletotransmitframesforaparticularVLAN.Forexample,ports1,5,7,8
couldbeallowedtotransmitframesbelongingtoVLAN20andports7,8,9,
10couldbeallowedto
transmitframestaggedwithVLAN30(aportcanbelongtomultipleVLANEgresslists).Note
thatthePortEgresslistforports7and 8wouldcontainbothVLAN20and30.
Theportegresstypeforallportscanbesettotagged,forbidden,
oruntagged.Ingeneral,VLANs
havenoegress(exceptforVLAN1)untiltheyareconfiguredbystaticadministration,orthrough
dynamicmechanismssuchasGVRP.
port‐string Specifiestheport(s)forwhichtosetframediscardmode.Foradetailed
descriptionofpossibleport‐stringvalues,referto“Port
StringSyntaxUsed
intheCLI”onpage 4‐1.
tagged|
untagged|both|
none
• Tagged‐Discardallincoming(received)taggedpacketsonthedefined
port(s).
•Untagged‐Discardallincominguntaggedpackets.
•Both‐Alltrafficwillbediscarded(taggedanduntagged).
• None‐Nopacketswillbediscarded.