Switch User Manual

set port ingress filter
SecureStack C3 Configuration Guide 10-11
set port ingress filter
UsethiscommandtodiscardallframesreceivedwithaVLANIDthatdon’tmatchtheport’s
VLANegresslist.
Syntax
set port ingress-filter port-string {disable | enable}
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
Wheningressfilteringisenabledonaport,theVLANIDsofincomingframesarecomparedtothe
port’segresslist.IfthereceivedVLANIDdoesnotmatchaVLANIDontheport’segresslist,then
theframeisdropped.
IngressfilteringisimplementedaccordingtotheIEEE802.1Q
standard.
Example
Thisexampleshowshowtoenableportingressfilteringonge.1.3:
C3(su)->set port ingress-filter ge.1.3 enable
show port discard
Usethiscommandtodisplaytheframediscardmodeforoneormoreports.Portscanbesetto
discardframesbasedonwhetherornottheframecontainsaVLANtag.Theycanalsobesetto
discardbothtaggedanduntaggedframes,orneither.
Syntax
show port discard [port-string]
Parameters
Defaults
If port-string is not specified, frame discard mode will be displayed for all
ports.
portstring Specifiestheport(s)onwhichtoenableofdisableingressfiltering.Fora
detaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 71.
disable|enable Disablesorenablesingressfiltering.
portstring (Optional)Displaystheframediscardmodeforspecificport(s).Fora
detaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 71.