< Home

mdns snooping enable

Function

The mdns snooping enable command enables the mDNS snooping function.

The undo mdns snooping enable command disables the mDNS snooping function.

By default, mDNS snooping is disabled.

Format

mdns snooping enable

undo mdns snooping enable

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, VLAN view, Eth-Trunk interface view, port group view.

Default Level

2: Configuration level

Usage Guidelines

In terminal type identification scenarios, if the IP address, MAC address, and service name of a terminal need to be identified based on information in the mDNS packets sent by the terminal, run the mdns snooping enable command to enable mDNS snooping on the device. After mDNS snooping is enabled, the device obtains the preceding information and reports it to the controller.

Example

# Enable mDNS snooping.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] mdns snooping enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >