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.
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. |
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.