Cisco Catalyst 9800 Series Wireless Controller Software Configuration Guide, Cisco IOS XE 26.1.x

PDF

Cisco Catalyst 9800 Series Wireless Controller Software Configuration Guide, Cisco IOS XE 26.1.x

Verify local area bonjour in multicast DNS mode for LAN and wireless networks

Want to summarize with AI?

Log in

Describes how to verify Local Area Bonjour in multicast DNS mode for both LAN and wireless networks to ensure proper service discovery functionality.


This section shows how to verify Local Area Bonjour in Multicast DNS mode for LAN and Wireless networks.


Verify SDG-agent status

Use the sample outputs to verify SDG-agent status and understand the command output format for various mDNS service discovery commands.

This is a sample output of the show mdns-sd service-listservice-list-name {in | out} command.


Name           Direction  Service    Message-Type     Source
============================================================
VLAN100-list    In         Printer   Announcement      -
                In         Airplay   Query             -
                In         CUSTOM1   Any               -
VLAN300-list    Out        Printer   Announcement     Vl200

This is a sample output of the show mdns-sd service-definitionservice-definition-nameservice-type {custom | built-in} command.


Service                PTR                        Type
=========================================================================
apple-tv               _airplay._tcp.local         Built-In
                        _raop._tcp.local
apple-file-share      _afpovertcp._tcp.local      Built-In
CUSTOM1               _custom1._tcp.local         Custom
CUSTOM2               _customA._tcp.local         Custom
                      _customA._tcp.local		

This is a sample output of the show mdns-sdservice-policy-nameinterfaceinterface-name command.


Name			Service-List-In			Service-List-Out	
==================================================
mdns-policy-1		VLAN100-list			VLAN300-list		
mdns-policy-2		VLAN400-list			VLAN400-list	

This is a sample output of the show mdns-sd summary command.


mDNS Gateway: Enabled
Mode: Service Peer
Service Announcement Periodicity(in seconds): 30
Service Announcement Count: 50
Service Query Periodicity(in seconds): 15
Service Query Count: 50
Active Response Timer (in seconds): Disabled
ANY Query Forward: Disabled
SDG Agent IP: 9.8.57.10
Active Query Periodicity (in minutes): 30
mDNS Query Type: PTR only
Transport Type: IPv4
mDNS AP service policy: default-mdns-service-policy

This is a sample output of the show mdns-sd sp-SDG statistics command.


mDNS SP Statistics
last reset time: 07/27/21 15:36:33
Messages sent:
Query : 122
ANY query : 35
Advertisements : 12
Advertisement Withdraw : 1
Service-peer cache clear : 0
Resync response : 3
Srvc Discovery response : 0
Keep-Alive : 2043
Messages received:
Query response : 0
ANY Query response : 0
Cache-sync : 9
Get service-instance : 0
Srvc Discovery request : 0
Keep-Alive Response : 2042

Verify wide area Bonjour controller status

Verify wide area Bonjour controller status using show commands to display controller summary, export summary, statistics, and detailed information.

This is a sample output of the show mdns controller summary command.

Device# show mdns controller summary

Controller Summary
=====================================
 Controller Name  :   Cisco Catalyst Center-BONJOUR-CONTROLLER
 Controller IP    :   10.104.52.241
 State            :   UP
 Port             :   9991
 Interface        :   Loopback0
 Filter List      :   policy1
 Dead Time        :   00:01:00 

This is a sample output of the show mdns controller export-summary command.

Device# show mdns controller export-summary

Controller Export Summary
=========================
 Controller IP    :   10.104.52.241
 State            :   UP
 Filter List      :   policy1
 Count            :   100
 Delay Timer      :   30 seconds
 Export           :   300
 Drop             :   0
 Next Export      :   00:00:01 

This is a sample output of the show mdns controller statistics command.

Device# show mdns controller statistics

Total BCP message sent           : 47589
  Total BCP message received       : 3
  Interface WITHDRAW messages sent : 0
  Clear cache messages sent        : 0
  Total RESYNC state count         : 0
  Last successful RESYNC           : Not-Applicable

  Service Advertisements:
   IPv6 advertised                 : 0
   IPv4 advertised                 : 300
   Withdraws sent                  : 0
   Advertisements Filtered         : 0
   Total service resynced          : 0

  Service Queries:
   IPv6 queries sent               : 0
   IPv6 query responses received   : 0
   IPv4 queries sent               : 0
   IPv4 query responses received   : 0

This is a sample output of the show mdns controller detail command.

Device# show mdns controller detail

Controller : Cisco Catalyst Center-BONJOUR-CONTROLLER
 IP : 10.104.52.241, Dest Port : 9991, Src Port : 0, State : UP
 Source Interface : Loopback0, MD5 Disabled
 Hello Timer 0 sec, Dead Timer 0 sec, Next Hello 00:00:00
 Uptime 00:00:00
Service Announcement :
 Filter : policy1
 Count 100, Delay Timer 30 sec, Pending Announcement 0, Pending Withdraw 0
 Total Export Count 300, Next Export in 00:00:16
Service Query :
 Query Suppression Disabled
 Query Count 50, Query Delay Timer 15 sec, Pending 0
 Total Query Count 0, Next Query in 00:00:01

Verify mDNS cache configurations

This reference helps you verify mDNS cache configurations using show commands that display cache information from both Active and Standby devices.

These show commands display cache from both Active and Standby devices using the chassis option:


Device# show mdns-sd cache chassis active R0
 
------------------------------------------------------------- PTR Records -----------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
_home-sharing._tcp.local                       4500     WLAN      1     0205.2c23.0001   AP6B8B4567-sta00001._home-sharing._tcp.local        
 
------------------------------------------------------------- SRV Records -----------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
AP6B8B4567-sta00001._home-sharing._tcp.local   4500     WLAN      1     0205.2c23.0001   0 0 5353 AP6B8B4567-sta00001.local                  
 
------------------------------------------------------------ A/AAAA Records ---------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
AP6B8B4567-sta00001.local                      4500     WLAN      1     0205.2c23.0001   9.2.57.106                                          
 
------------------------------------------------------------- TXT Records -----------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
AP6B8B4567-sta00001._home-sharing._tcp.local   4500     WLAN      1     0205.2c23.0001   [14]'model=MacMini'                                 
 
Note

Alternatively, you can issue the show mdns-sd cache command to display the cache from the Active controller.


Device# show mdns-sd cache chassis standby R0
 
------------------------------------------------------------- PTR Records -----------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
_home-sharing._tcp.local                       4500     WLAN      1     0205.2c23.0001   AP6B8B4567-sta00001._home-sharing._tcp.local        
 
------------------------------------------------------------- SRV Records -----------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
AP6B8B4567-sta00001._home-sharing._tcp.local   4500     WLAN      1     0205.2c23.0001   0 0 5353 AP6B8B4567-sta00001.local                  
 
------------------------------------------------------------ A/AAAA Records ---------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
AP6B8B4567-sta00001.local                      4500     WLAN      1     0205.2c23.0001   9.2.57.106                                          
 
------------------------------------------------------------- TXT Records -----------------------------------------------------------------
RECORD-NAME                                    TTL      TYPE      ID    CLIENT-MAC       RR-RECORD-DATA                                      
-------------------------------------------------------------------------------------------------------------------------------------------
AP6B8B4567-sta00001._home-sharing._tcp.local   4500     WLAN      1     0205.2c23.0001   [14]'model=MacMini' 

Verify additional mDNS cache configurations

This reference provides commands to verify mDNS cache configurations from both Active and Standby database states.

Commands for Active DB verification

To verify the cache from the Active DB, use these commands:


show mdns-sd cache ap-mac 0a0b.0cf0.000e chassis active R0
show mdns-sd cache client-mac 0269.fe06.0023 chassis active R0
show mdns-sd cache detail chassis active R0
show mdns-sd cache glan-id <> chassis active R0
show mdns-sd cache glan-id <> detail chassis active R0
show mdns-sd cache location-group <> chassis active R0
show mdns-sd cache location-group <> detail chassis active R0
show mdns-sd cache mdns-ap <> detail chassis active R0
show mdns-sd cache mdns-ap <> chassis active R0
show mdns-sd cache rlan-id <> detail chassis active R0
show mdns-sd cache rlan-id <> chassis active R0
show mdns-sd cache type TXT chassis active R0
show mdns-sd cache type A-AAAA detail chassis active R0
show mdns-sd cache wired chassis active R0
show mdns-sd cache wired detail chassis active R0
show mdns-sd cache wlan-id 10 chassis active R0
show mdns-sd cache wlan-id 1 detail chassis active R0
      

Commands for Standby DB verification

To verify the cache from the Standby DB, use these commands:


show mdns-sd cache ap-mac <> chassis standby R0
show mdns-sd cache client-mac <> chassis standby R0
show mdns-sd cache detail chassis standby R0
show mdns-sd cache glan-id <> chassis standby R0
show mdns-sd cache glan-id <> detail chassis standby R0
show mdns-sd cache location-group <> chassis standby R0
show mdns-sd cache location-group <> detail chassis standby R0
show mdns-sd cache mdns-ap <> detail chassis standby R0
show mdns-sd cache mdns-ap <> chassis standby R0
show mdns-sd cache rlan-id <> detail chassis standby R0
show mdns-sd cache rlan-id <> chassis standby R0
show mdns-sd cache type [A-AAAA|PTR|SRV|TXT] chassis standby R0
show mdns-sd cache type [A-AAAA|PTR|SRV|TXT] detail chassis standby R0
show mdns-sd cache wired chassis standby R0
show mdns-sd cache wired detail chassis standby R0
show mdns-sd cache wlan-id <> chassis standby R0
show mdns-sd cache wlan-id <> detail chassis standby R0
      

Verify local area Bonjour configuration for LAN and wireless networks

This reference provides sample output of the show run command to verify local area Bonjour configuration for LAN and wireless networks.


mdns-sd gateway                         
 
mdns-sd service-definition custom1     
 service-type _airplay._tcp.local      
 service-type _raop._tcp.local          
 
        
mdns-sd service-list list1 IN           
 match custom1
mdns-sd service-list list2 OUT
 match custom1
 
 
mdns-sd service-policy policy1
service-list list1 IN
service-list list2 OUT
 
 
service-export mdns-sd controller Cisco Catalyst Center-CONTROLLER-POLICY 
controller-address 99.99.99.10
controller-service-policy policy1 OUT
controller-source-interface Loopback0