The port dot1q-tunnel discard untag-frame command enables a Dot1q-tunnel interface to discard incoming untagged packets.
The undo port dot1q-tunnel discard untag-frame command disables a Dot1q-tunnel interface from discarding incoming untagged packets.
By default, a Dot1q-tunnel interface does not discard incoming untagged packets.
Usage Scenario
A Dot1q-tunnel interface processes only tagged packets. To prevent an untagged packet attack, run the port dot1q-tunnel discard untag-frame command to configure the Dot1q-tunnel to discard incoming untagged packets.
Prerequisites
If the current interface is a Layer 3 interface, it has been switched to a Layer 2 interface using the portswitch command.
Precautions
The port dot1q-tunnel discard untag-frame command takes effect only on Dot1q-tunnel interfaces.