During routine maintenance and fault location, you can run the display mdns gateway statistics command to view statistics on mDNS packets received and sent by the mDNS gateway in a given period of time.
To query statistics again, run the reset mdns gateway statistics command to clear existing statistics.
# Display statistics on the mDNS gateway.
<HUAWEI> display mdns gateway statistics mDNS Gateway Statistics: ------------------------------------ Received : 1120 Query : 411 Response : 707 Discarded : 29 Query TimeOut : 22 Bad source IP : 2 Bad Pkt Length: 3 Other : 2 Sent : 681 Query : 678 Response : 3
Item |
Description |
---|---|
Received |
Number of mDNS packets received by the mDNS gateway. |
Query |
Number of mDNS query packets received by the mDNS gateway. |
Response |
Number of mDNS response packets received by the mDNS gateway. |
Discarded |
Number of mDNS packets discarded by the mDNS gateway. NOTE:
This field is displayed only when the value is not 0. |
Query TimeOut | Number of packets that are discarded after being accumulated in a queue for more than 5 seconds. |
Bad source IP |
Number of unicast packets that are sent by untrusted mDNS relay agents and discarded by the mDNS gateway. NOTE:
This field is displayed only when the value of the Discarded field is not 0. |
Bad Pkt Length |
Number of mDNS packets discarded because the packet length exceeds the upper limit. NOTE:
This field is displayed only when the value of the Discarded field is not 0. |
Other |
Number of mDNS packets discarded because of other reasons. NOTE:
This field is displayed only when the value of the Discarded field is not 0. |
Sent |
Number of mDNS packets sent by the mDNS gateway. |
Query |
Number of mDNS query packets sent by the mDNS gateway. |
Response |
Number of mDNS response packets sent by the mDNS gateway. |