No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
packet-type priority

packet-type priority


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.


packet-type packet-type priority priority-level { wired | wireless }

undo packet-type packet-type priority { wired | wireless }






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.


Indicates non-CAPWAP-encapsulated packets.


Indicates CAPWAP-encapsulated packets.



Attack defense policy view

Default Level

2: Configuration level

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.


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.

The AD9431DN-24X does not support packets of the following protocol types: capwap-association, capwap-discovery, capwap-echo, capwap-keepalive, eoam-3ah, ftp-server, http-server, https-server, ip-option, rarp-reply, rarp-request, spectrum-analysis, ssh-server, sshv6-client, sshv6-server, telnet-server, telnetv6-client, telnetv6-server, unknown-multicast, unknown-packet, and wapi.


# Set the priority of ARP Reply packets that are not transmitted through CAPWAP tunnels to 3 in the attack defense policy named mypolicy.

<Huawei> system-view
[Huawei] cpu-defend policy mypolicy 
[Huawei-cpu-defend-policy-mypolicy] packet-type arp-reply priority 3 wired
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 209278

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next