Restrictions for Wide Area Bonjour for LAN
Wide Area Bonjour service-routing between Cisco DNA Center and a Nexus 9300 SDG Agent Switch over management port is not supported. We recommend that you use a switch Loopback interface instead.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Cisco Wide Area Bonjour domain enables global service-routing beyond a single IP gateway for traditional and overlay LAN networks. In Cisco Wide Area Bonjour domain, Cisco Nexus 9300 LAN switches are deployed in Layer 3 routed mode to act as distributed SDG Agents throughout the network. These SDG agents build a TCP-based, stateful, reliable, and light-weight communication channel with a Cisco DNA Center. The Cisco DNA Center must also be configured with Cisco Wide Area Bonjour application for policy-based global service discovery and distribution.
Wide Area Bonjour service-routing between Cisco DNA Center and a Nexus 9300 SDG Agent Switch over management port is not supported. We recommend that you use a switch Loopback interface instead.
Wide Area Bonjour, by definition, allows service-routing over an IP network without network boundaries. Hence, the core objective of Cisco Wide Area Bonjour is to advertise and browse Bonjour services in a global IP network that is limited to local or remote sites, as required. Typically, the LAN and Wireless LAN IP gateway deployed in SDG Agent mode build the stateful TCP-based unicast connection to the Cisco DNA Center for Wide Area Bonjour service-routing.
The fundamentals of service-routing are based on the policies defined in Local Area and Wide Area Bonjour domains. The policy defines implicit guidelines to accept, process and respond to mDNS services on the SDG Agent and the Cisco DNA-Center. The service policy carries multiple tuples to distinctly classify and distribute the service provider information along with granular network.
This section provides information about how to configure Wide Area Bonjour for LAN. Configuration of Cisco Wide Area Bonjour requires you to configure the Cisco Nexus Series switch in SDG Agent mode and build the service policies in Wide Area Bonjour application of Cisco DNA Center.
To build and apply the Wide Area Bonjour export service policy and enable service-routing, perform the following steps.
Note |
The controller-bound service policy does not require an ingress service policy. |
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
mdns-sd controller service-list service-list-name Example:
|
Configures the outgoing mDNS controller service list to classify one or more service types. |
Step 3 |
match {ser-def-name | all} message-type { any | announcement | query} [source-interface vlans] Example:
|
Checks and matches the outbound service list. The switch exports locally discovered services and requests remote service information from Wide Area Bonjour domain. The service announcement and query request are processed based on permitted, built-in, or custom service types. The service list contains an implicit deny at the end. The message-type is used and either announcement or query filter can be added. |
Step 4 |
mdns-sd controller service-policy service-policy-name Example:
|
Creates a unique mDNS service policy. |
Step 5 |
end Example:
|
Returns to privileged EXEC mode. |
To configure Cisco Wide Area Bonjour controller on Nexus 9300 series of switches, perform the following steps:
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 2 |
mdns-sd controller controller-name Example:
|
Configures the controller to enable Wide Area Bonjour service-routing with Cisco DNA Center. Only one controller can be configured. |
||
Step 3 |
address ipv4-address Example:
|
Assigns the Cisco DNA Center IPv4 address to pair service-routing.
|
||
Step 4 |
source-interface interface-name Example:
|
Configures the source interface to build service-routing from the SDG-Agent and the Cisco DNA Center. Nexus 9300 Series of switches support only loopback interface as a source interface. |
||
Step 5 |
service-policy service-policy-name Example:
|
Associates the controller-bound egress mDNS policy for Wide Area Bonjour service-routing. Specifies the service policy to be used by the controller. If no policy is configured, a default controller policy default-mdns-ctrl-srv-policy is used. |
||
Step 6 |
end Example:
|
Returns to privileged EXEC mode. |
The following is a sample output of the show mdns controller service-policy command.
switch(config)# show mdns-sd controller service-policy name default-mdns-ctrl-srv-policy
Service Policy Name Service List Name
=================================================================
default-mdns-ctrl-srv-policy default-mdns-ctrl-srv-list
The following is a sample output of the show mdns controller service-list command.
switch(config)# show mdns-sd controller service-list name default-mdns-ctrl-srv-list
Name Service Msg-Type Source
========================================================================================================================================================
default-mdns-ctrl-srv-list apple-airprint any all
apple-remote-login any all
apple-screen-share any all
apple-tv any all
apple-windows-fileshare any all
google-chromecast any all
google-expeditions any all
homesharing any all
multifunction-printer any all
printer-ipps any all
The following is a sample output of the show mdns controller summary command.
switch(config)# show mdns-sd controller summary
Controller Summary
==================
Controller Name : DNAC_BONJOUR_CONTROLLER
Controller IP : 100.100.100.1
State : UP
Port : 9991
Interface : Lo0
Filter List : default-mdns-ctrl-srv-policy
Dead Time : 120 sec
Service Buffer : Disabled
The following is a sample output of the show mdns controller detail command.
switch(config)# show mdns-sd controller detail
Controller : DNAC_BONJOUR_CONTROLLER
IP 100.100.100.1, Dest Port : 9991, Src Port: 52482, State UP
Source Interface : Lo0, MD5 Disabled
Hello Timer 30 sec, Dead Timer 120 sec, Next Hello 00:00:06
Uptime 00:00:23
Service Buffer : Disabled
Service Announcement :
Filter : default-mdns-ctrl-srv-policy
Count 50, Delay timer 30 sec, Pending Announcement 0, Pending Withdraw 0
Total Export Count 0, Next Export in 00:00:06
Service Query :
Query Suppression Disabled
Query Count 50, Query Delay Timer 15 sec, Pending 0
Total Query Count 0, Next Query in 00:00:06
The following is a sample output of the show mdns controller statistics command.
switch(config)# show mdns-sd controller statistics
Total messages sent : 3130
Total messages received : 3128
Keepalive message sent : 3126
Keepalive messages received : 3126
Interface WITHDRAW messages sent : 2
Vlan WITHDRAW messages sent : 0
Clear cache messages sent : 0
Total RESYNC state count : 0
Last successful RESYNC : Not-Applicable
Service Advertisements:
Advertisements sent : 0
Withdraws sent : 0
Advertisements Filtered : 0
Total service resynced : 0
Service Queries:
Queries sent : 0
Queries Filtered : 0
Query responses received : 0
The following is a sample output of the show mdns controller export-summary command.
switch(config)# mdns-sd controller export-summary
Controller Export Summary
========================
Controller IP : 100.100.100.1
State : UP
Filter List : default-mdns-ctrl-srv-policy
Count : 50
Delay Timer : 30
Export : 0
Drop : 0
Next Export : 00:00:07
Related Topic |
Document Title |
---|---|
Cisco Wide Area Bonjour Application on Cisco DNA Center User Guide |
Cisco Wide Area Bonjour Application on Cisco DNA Center User Guide, Release 2.1.2 |