< Home

mdns group

Function

The mdns group command creates an mDNS group and displays the mDNS group view.

The undo mdns group command deletes the created mDNS group.

By default, no mDNS group is created.

Format

mdns group group-name

undo mdns group group-name

Parameters

Parameter

Description

Value

group-name

Specifies the name of an mDNS group.

The value is a string of 1 to 31 case-sensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the mDNS gateway queries service information lists of all service provisioning devices when receiving an mDNS request packet from a user requesting for a service. The mDNS gateway then replies to the user with a message containing the service provisioning devices that can provide the service. All the service provisioning devices mapping the service are visible to the user; therefore, service resources cannot be isolated. You can configure an mDNS group on the mDNS gateway to implement service resource isolation and refined service management. After receiving an mDNS request packet from a user requesting for a service, the mDNS gateway queries the mDNS group based on the user VLAN. If the user VLAN is added to a certain mDNS group, the gateway queries and replies with the requested service from the service list provided by the service VLAN mapping the mDNS group. If no mDNS group is specified for the user VLAN or no service VLAN is configured in the mDNS group, the gateway queries and replies with the requested service from the service lists provided by all service VLANs.

Follow-up Procedure

  • Run the user-vlan command to configure the user VLAN for the mDNS group.

  • Run the service-vlan command to configure the service VLAN to provide services for the users in the mDNS group.

Precautions

The device supports a maximum of 4096 mDNS groups.

Example

# Create an mDNS group named group1.

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