< Home

mdns gateway ip

Function

The mdns gateway ip command specifies the IP address of the mDNS gateway on the device as the mDNS relay.

The undo mdns gateway ip command deletes the configured IP address of the mDNS gateway on the device as the mDNS relay.

By default, the IP address of the mDNS gateway is not specified on the device as the mDNS relay.

Format

mdns gateway ip ip-address

undo mdns gateway ip

Parameters

Parameter

Description

Value

ip-address

Specifies the IP address of the mDNS gateway.

The value is in dotted decimal notation.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The device as the mDNS relay needs to forward mDNS packets from Bonjour-compliant terminals or service provisioning devices to the mDNS gateway. After the mdns gateway ip command is used to specify the IP address of the mDNS gateway on the mDNS relay, the mDNS relay converts mDNS packets from Bonjour-compliant terminals or service provisioning devices into unicast packets and sends them to the mDNS gateway.

Example

# Specify the IP address of the mDNS gateway as 10.1.1.1 on the device as the mDNS relay.

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