A SERVICE OF

logo

set port discard
D-Series CLI Reference 7-11
Mode
Switchcommand,readonly.
Example
Thisexampleshowshowtodisplaytheframediscardmodeforge.2.7.Inthiscase,theporthas
beensettodiscardalltaggedframes:
D2(su)->show port discard ge.2.7
Port Discard Mode
------------ -------------
ge.2.7 tagged
set port discard
Usethiscommandtosettheframediscardmodeononeormoreports.
Syntax
set port discard port-string {tagged | untagged | both | none}
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
Theoptionsaretodiscardallincomingtaggedframes,allincominguntaggedframes,neither
(essentiallyallowalltraffic),orboth(essentiallydiscardingalltraffic).
Acommonpracticeistodiscardalltaggedpacketonuserports.TypicallyanAdministratordoes
notwanttheendusersdefiningwhatVLANtheyusefor
communication.
Example
Thisexampleshowshowtodiscardalltaggedframesreceivedonportge.3.3:
D2(su)->set port discard ge.3.3 tagged
portstring Specifiestheport(s)forwhichtosetframediscardmode.Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntaxUsed
intheCLIonpage 41.
tagged|
untagged|both|
none
Tagged‐Discardallincoming(received)taggedpacketsonthedefined
port(s).
•Untagged
‐Discardallincominguntaggedpackets.
•Both‐Alltrafficwillbediscarded(taggedanduntagged).
None‐Nopacketswillbediscarded.