< Home

mdns gateway enable

Function

The mdns gateway enable command enables the mDNS gateway.

The undo mdns gateway enable command disables the mDNS gateway.

By default, the mDNS gateway is disabled.

Format

mdns gateway enable

undo mdns gateway enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Bonjour technology proposed by Apple uses mDNS. The destination multicast address of 224.0.0.251 used by mDNS is only valid in a Layer 2 broadcast domain. That is, information can be forwarded in a VLAN only, but cannot be forwarded across VLANs or Layer 3 devices. Run the mdns gateway enable command on the device to enable the mDNS gateway so that the device can discover services across VLANs or Layer 3. The mDNS gateway records all available service lists and responds to service requests from Bonjour-compliant terminals.

Precautions

The device cannot function as both mDNS relay and gateway. A protection failure will occur if the mdns relay enable and mdns gateway enable commands are both configured on the device.

Example

# Enable the mDNS gateway.

<HUAWEI> system-view
[HUAWEI] mdns gateway enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >