DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Enables mDNS gateway functionality for a device and enters
multicast DNS configuration (config-mdns) mode.
service-routing mdns-sd
Example:
Device (config)# service-routing mdns-sd
Step 3
This command enables the mDNS function
globally.
Note
Enter the service-routing mdns-sd source-interface
if-name command in either global-config or
interface-config mode, to specify an alternate source
interface for outgoing mDNS packets, so its IP address
can be used when there is none configured on the outgoing
interface.
Note
(Optional) For a service list, applies a filter on incoming service
discovery information (IN-bound filtering) or outgoing service
discovery information (OUT-bound filtering).
service-policy service-policy-name {IN | OUT}
Example:
Device (config-mdns)# service-policy
Step 4
serv-pol1 IN
(Optional) Redistributes services or service announcements across
subnets.
redistribute mdns-sd
Example:
Device (config-mdns)# redistribute mdns-sd
Step 5
If redistribution is enabled globally, global configuration
is given higher priority than interface configuration.
Note
(Optional) Sets some part of the system memory (in percentage)
for cache.
cache-memory-max cache-config-percentage
Example:
Device (config-mdns)# cache-memory-max 20
Step 6
By default, 10 percent of the system memory is set aside
for cache. You can override the default value by using this
command.
Note
(Optional) Configures service list-query periodicity.
service-policy-query service-list-query-name
service-list-query-periodicity
Step 7
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)
284 OL-29890-01
Configuring the Service Discovery Gateway
Enabling mDNS Gateway and Redistributing Services (CLI)