Step-1: Enable mDNS gateway and set the gateway mode.
Note
|
In wireless controller, service peer mode is enabled by default with mDNS gateway configuration.
|
|
!
mdns-sd gateway
mode service-peer
!
|
!
mdns-sd gateway
!
|
Step-2: Create unique mDNS inbound policy to permit ingress AirPrint service announcement on the Catalyst Switch and wireless controller
in service peer mode.
|
!
mdns-sd service-list LOCAL-AREA-SERVICES-IN in
match printer-ipp
!
|
!
mdns-sd service-list LOCAL-AREA-SERVICES-IN in
match printer-ipp
!
|
Step-3: Create unique mDNS outbound policy to permit egress AirPrint service response on the Catalyst Switch and wireless controller
in service peer mode
|
!
mdns-sd service-list LOCAL-AREA-SERVICES-OUT out
match printer-ipp
!
|
!
mdns-sd service-list LOCAL-AREA-SERVICES-OUT out
match printer-ipp
!
|
Step-4: Associate inbound and outbound service list to a unique service policy.
|
!
mdns-sd service-policy LOCAL-AREA-POLICY
service-list LOCAL-AREA-SERVICES-IN
service-list LOCAL-AREA-SERVICES-OUT
!
|
mdns-sd service-policy LOCAL-AREA-POLICY
service-list LOCAL-AREA-SERVICES-IN
service-list LOCAL-AREA-SERVICES-OUT
!
|
Step-5: Activate unicast mDNS gateway and attach service policy on wired VLAN and WLAN.
|
!
vlan configuration 10, 20
mdns-sd gateways
service-policy LOCAL-AREA-POLICY
active-query timer 3600
!
|
!
wireless profile policy WLAN-PROFILE
shutdown
mdns-sd service-policy LOCAL-AREA-POLICY
no shutdown
!
wlan WLAN-PROFILE 1 blizzard
shutdown
mdns-sd-interface gateway
no shutdown
!
|
Step-6: (Optional) Enable service routing on wired service peer mDNS between local VLANs. Also, enable location-based wireless service
on the controller.
|
!
mdns-sd location-filter LOCAL-PROXY
match location-group default vlan 10
match location-group default vlan 20
!
mdns-sd service-list LOCAL-AREA-SERVICES-OUT OUT
match printer-ipps location-filter LOCAL-PROXY
!
|
!
mdns-sd service-policy LOCAL-AREA-POLICY
location ap-location
!
|
Step-7: Enable unicast service routing between wired and wireless service peer and SDG agent.
|
vlan configuration 10, 20
mdns-sd gateways
source-interface vlan 4094
sdg-agent 10.1.1.254
!
|
!
mdns-sd gateway
source-interface vlan 4094
sdg-agent 10.2.1.254
!
|