Step 1 |
enable
|
Enables privileged EXEC mode.
Enter your password, if prompted.
|
Step 2 |
configure terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
mdns-sd service-list service-list-name { in | out}
Device(config)# mdns-sd service-list VLAN100-LIST-IN in
|
Configures the incoming mDNS service list to classify one or more service types.
A unique service list is required to process the incoming mDNS message and the outbound response to the requesting end points.
|
Step 4 |
match service-definition-name [ message-type { any | announcement | query}]
Device(config-mdns-sl-in)# match APPLE-TV
Device(config-mdns-sl-in)# match PRINTER-IPPS message-type announcement
|
Checks the inbound service-list. The switch either accepts or drops the incoming mDNS service type (like Apple TV) advertisement
or query matching message type.
The service list contains an implicit deny at the end.
The default message-type is any .
|
Step 5 |
exit
Device(config-mdns-sl-in)# exit
|
Returns to global configuration mode.
|
Step 6 |
mdns-sd service-list service-list-name { in | out}
Device(config)# mdns-sd service-list VLAN100-LIST-OUT out
|
Configures the outgoing mDNS service list to classify one or more service types.
A unique service list is required to process the incoming mDNS message and the outbound response to the requesting end points.
|
Step 7 |
match service-definition-name [ message-type { any | announcement | query}]
[ location-filter
location-filter-name] [ source-interface
{ mDNS-VLAN-number
| mDNS-VLAN-range}]
Device(config-mdns-sl-out)# match APPLE-TV
Device(config-mdns-sl-out)# match PRINTER-IPPS
|
Checks the outgoing service-list. The switch provides a local service proxy function by responding with a matching service-type
to the requesting end point. For example, the Apple-TV and Printer learned from VLAN 100 are distributed to the receiver in
the same VLAN 100.
The service-list contains an implicit deny at the end.
The message-type for an outbound service list is optional.
|
Step 8 |
exit
Device(config-mdns-sl-out)# exit
|
Returns to global configuration mode.
|
Step 9 |
mdns-sd service-policy service-policy-name
Device(config)# mdns-sd service-policy VLAN100-POLICY
|
Creates a unique mDNS service-policy.
|
Step 10 |
service-list service-list-name { in | out}
Device(config-mdns-ser-policy)# service-list VLAN100-LIST-IN in
Device(config-mdns-ser-policy)# service-list VLAN100-LIST-OUT out
|
Configures an mDNS service policy to associate with the service list for each direction.
|
Step 11 |
exit
Device(config-mdns-ser-policy)# exit
|
Returns to global configuration mode.
|
Step 12 |
vlan configuration vlan-id
Device(config)# vlan configuration 100
Device(config)# vlan configuration 101-110, 200
|
Enables VLAN configuration for advanced service parameters. One or more VLANs can be created for the same settings.
|
Step 13 |
mdns-sd gateway
Device(config-vlan)# mdns-sd gateway
|
Enables the mDNS gateway on the specified VLAN IDs.
|
Step 14 |
service-policy service-policy-name
Device(config-vlan-mdns)# service-policy VLAN100-POLICY
|
Associates an mDNS service policy with the specified VLAN IDs.
|
Step 15 |
end
Device(config-vlan-mdns)# end
|
Returns to privileged EXEC mode.
|