The service-vlan command configures service VLANs (that the service provisioning devices belong to) to provide services for users in an mDNS group.
The undo service-vlan deletes the service VLANs that provide services for users in an mDNS group.
By default, no service VLAN is configured to provide services for users in an mDNS group.
Parameter |
Description |
Value |
---|---|---|
vlan-id |
Specifies the ID of the VLAN that the service provisioning devices belong to. |
The value is an integer in the range from 1 to 4094. |
all |
Specifies all service VLANs. |
- |
Usage Scenario
The device functioning as an mDNS gateway maintains service information lists of all service provisioning devices on a network, and it can use mDNS groups to isolate service resources to provide refined service management. You can run the service-vlan command to configure service VLANs to provide services for users in the mDNS group. The users (specified using the user-vlan command in the mDNS group view) in the mDNS group can only obtain services from the service list provided by the service VLAN mapping the mDNS group.
Prerequisites
An mDNS group has been created using the mdns group command.
Precautions
You can add at most 32 service VLANs to an mDNS group.
You can add a service VLAN to multiple mDNS groups to provide services for the users in these groups.