display firewall whitelist item source-ip { source-IPv4-address | source-IPv6-address } [ source-port source-port ] [ protocol { tcp | udp | icmp | protocol-num } ]
display firewall whitelist item destination-ip { destination-IPv4-address | destination-IPv6-address } [ destination-port destination-port ] [ protocol { tcp | udp | icmp | protocol-num } ]
display firewall whitelist item
| Parameter | Description | Value |
|---|---|---|
| source-ip source-IPv4-address | Specifies the source IPv4 address. | The value is in dotted decimal notation. |
| source-ip source-IPv6-address | Specifies the source IPv6 address. | The value is in hexadecimal notation. |
| source-port source-port | Specifies the source port. | The value is an integer ranging from 1 to 65535. |
| destination-ip destination-IPv4-address | Specifies the destination IPv4 address. | The value is in dotted decimal notation. |
| destination-ip destination-IPv6-address | Specifies the destination IPv6 address. | The value is in hexadecimal notation. |
| destination-port destination-port | Specifies the destination port. | The value is an integer ranging from 1 to 65535. |
| protocol tcp | Enables the Transmission Control Protocol (TCP). | - |
| protocol udp | Enables the User Datagram Protocol (UDP). | - |
| protocol ICMP | Enables the Internet Control Message Protocol (ICMP). | - |
| protocol protocol-num | Specifies the manually specified protocol ID. | The value is an integer ranging from 1 to 255. |
You can use the display firewall whitelist item command to check all whitelist entries.
The FW does not support fuzzy match when checking whitelist entries. You need to enter the complete matching conditions.
# Check all whitelist entries.
<sysname> display firewall whitelist item source-ip 1.1.1.1 IP/port/protocol Insert Time HitTimes ----------------------------------------------------------------------------------- 1.1.1.1 /any (src) /any/ 2015/04/16 16:59:55
Item |
Description |
|---|---|
| IP | IP address |
| port | Port |
| protocol | Protocol type |
| Insert Time | Date and time when the whitelist entry was generated |
| HitTimes | Hit count of the whitelist entry |