
Assigning Port VLAN IDs (PVIDs) and Ingress Filtering
14-14 802.1Q VLAN Commands
set port discard
Thiscommandsetstheframediscardmodeononeormoreports.
Syntax
set port discard port-string {tagged | untagged | none | both}
Parameters
Defaults
Bydefault,noframesarediscardedbasedonreceivedformat.
Mode
Switchcommand,read‐write.
Example
ThisexamplesetsGigabitEthernetport7inslot5todiscardbothtaggedanduntaggedframes:
matrix-x(switch-su)#set port discard ge.5.7 both
clear port discard
Thiscommandresetstheframediscardmodetothefactorydefaultsetting(none).
Syntax
clear port discard port-string
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleresetsGigabitEthernetport7inslot5tothedefaultdiscardmodeof“none”:
matrix-x(switch-su)# clear port discard ge.5.7
port‐string Specifiestheport(s)forwhichtosetframediscardmode.
tagged|untagged
|none|both
Setstheport(s)todiscardtaggedoruntaggedframes,noframes,orboth
typesofframes.
port‐string Specifiestheport(s)forwhichtoresetframediscardmode.
Kommentare zu diesen Handbüchern