The vlan-id command configures a VLAN ID for a security policy rule.
The undo vlan-id command deletes the configured VLAN ID of a security policy rule.
| Parameter | Description | Value |
|---|---|---|
| vlan-id | Specifies the VLAN ID. | The value is an integer that ranges from 1 to 4094. |
| any | Indicates any VLAN ID. | - |
By default, the FW parses the outer VLAN tags of QinQ packets. If you need to filter traffic based on inner VLAN tags, run the firewall transparent inside-vlan inspect enable command to enable the detection of inner VLAN tags.