Configure a Tagged Port to Discard Untagged Frames
Configure a tagged port to discard all untagged packets so that the frame is not classified into the default VLAN for the port.
Procedure
Example
Configure a tagged port to discard untagged frames:
Switch(config-if)#untagged-frames-discard port 1/1
Discard a tagged frame on an untagged port:
Switch(config-if)#tagged-frames-discard port 1/1 enable
Untag the default VLAN on a tagged port:
Switch(config-if)#untag-port-default-vlan port 1/2 enable
Variable Definitions
Use the data in the following table to use optional parameters with the untagged-frames-discard command.
Variable |
Value |
---|---|
{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} |
Identifies the
slot and port in one of the following formats:
|