packet-type priority
Function
The packet-type priority command sets a priority of protocol packets sent to the CPU.
The undo packet-type command restores the default priority for protocol packets sent to the CPU. The default priority is defined in the default attack defense policy.
By default, the priority defined in the default attack defense policy is used.
Format
packet-type packet-type priority priority-level { wired | wireless }
undo packet-type packet-type priority { wired | wireless }
Parameters
Parameter |
Description |
Value |
---|---|---|
packet-type |
Sets a priority for packets of a specified protocol. |
The supported packet type depends on the device. |
priority priority-level |
Specifies the priority. |
The value is an integer that ranges from 1 to 4. A larger value indicates a higher priority. |
wired | Indicates non-CAPWAP-encapsulated packets. |
- |
wireless | Indicates CAPWAP-encapsulated packets. |
- |
Usage Guidelines
Usage Scenario
After an attack defense policy is created, set priorities of protocol packets in the attack defense policy so that packets with higher priorities are processed first.
By default, the priority of packets of a specified protocol type is set based on the default policy.
Precautions
If you run the packet-type priority command in the same attack defense policy view multiple times, only the latest configuration takes effect.
You can create an attack defense policy and set the priority of packets of the specified protocol type using the packet-type priority command. The configured priority overrides the priority in the default policy.
The priority of protocol packets sent to the CPU configured in an attack defense policy takes effect only when the attack defense policy is applied to the main control board.