• deny—denies the service list.
Step 5
In the Sequence number text box, enter the priority of the rule.
A rule with a lower sequence number is selected first and the service announcement or query is allowed or denied
accordingly. You define the sequence number as per your network requirements.
Step 6
From the Message type drop-down list, choose the message type to match from the following options:
• announcement—The service list rule allows only service advertisements or announcements for the device.
• query—The service list rule allows only a query from the client for a service in the network.
• any—The service list rule allows any type of message.
Multiple service maps of the same name with different sequence numbers can be created and the evaluation of the filters
will be ordered on the sequence number. Service lists are an ordered sequence of individual statements, each one has a
permit or deny result. Evaluation of service list consists of a list scan, in a predetermined order, and an evaluation of the
criteria of each statement that matches. A list scan is stopped once the first statement match is found and an action
permit/deny associated with the statement match is performed. The default action after scanning through the entire list
is to deny.
Step 7
In the Service instance text box, enter the service instance to match.
Step 8
In the Custom text box, enter the mDNS service type string to match.
The Learned Service box shows the services that are added after enabling the learned service type configured by
navigating to Configuration > Controller > mDNS > Global. For example, _roap._tcp.local. The Selected Service
box shows the learned service that you have selected for an mDNS service.
Step 9
Click Apply.
Step 10
Click Save Configuration.
What to Do Next
Proceed to enable the mDNS gateway and redistribution of services.
Enabling mDNS Gateway and Redistributing Services (CLI)
After enabling mDNS gateway for a device, you can apply filters (apply IN-bound filtering or OUT-bound
filtering) and active queries by using service-policy and service-policy-query commands, respectively. You
can redistribute services and service announcements using the redistribute mdns-sd command, and set some
part of the system memory for cache using the cache-memory-max command.
By default, mDNS gateway is disabled on all interfaces.Note
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)
316 OL-32598-01
Configuring the Service Discovery Gateway
Enabling mDNS Gateway and Redistributing Services (CLI)