set port discard
10-12 802.1Q VLAN Configuration
Mode
Switchcommand,readonly.
Example
Thisexampleshowshowtodisplaytheframediscardmodeforge.2.7.Inthiscase,theporthas
beensettodiscardalltaggedframes:
C3(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.Typic all yanAdministratordoes
notwanttheendusersdefiningwhatVLANtheyuseforcommunication.
Example
Thisexampleshowshowtodiscardalltaggedframesreceivedonportge.3.3:
C3(su)->set port discard ge.3.3 tagged
portstring Specifiestheport(s)forwhichtosetframediscardmode.Foradetailed
descriptionofpossibleportstringvalues,refertoPor tStringSyntaxUsed
intheCLIonpage 71.
tagged|
untagged|both|
none
• Tagged‐Discardallincoming(received)taggedpacketsonthedefined
port(s).
•Untagged
‐Discardallincominguntaggedpackets.
•Both‐Alltrafficwillbediscarded(taggedanduntagged).
• None‐Nopacketswillbediscarded.