/
set firewall filter copp sequence from vlan

set firewall filter copp sequence from vlan

The set firewall filter copp sequence from vlan command configures a firewall filter rule based on the VLAN ID for traffic classification.


Command Syntax

set firewall filter copp sequence <number> from vlan <vlan-id>


Parameter

Parameter

Description

sequence <number>

Specifies filter sequence number. The value is an integer that ranges from 0 to 9999.

The 18 integers 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180 are not allowed to be used for sequence numbers in user-defined CoPP firewall filter rules.

vlan <vlan-id>

Specifies a VLAN ID. The value is an integer that ranges from 1 to 4094.


Usage Guidelines

You can run the set firewall filter copp sequence from vlan command to configure a firewall filter rule based on the vlan ID for traffic classification so that the device processes packets matching the same firewall filter rule in the same manner.


Example

• Configure a firewall filter rule based on the VLAN 2.

admin@XorPlus# set firewall filter copp sequence 51 from vlan 2
admin@XorPlus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.