cisco · 6 стр.
Cisco Wide Area Bonjour: Настройка глобального маршрутизирования услуг (EN)
Оригинальное название: Cisco Wide Area Bonjour: Настройка глобального маршрутизирования услуг
Похожие инструкции
Содержание
Текст документа
Information About Wide Area Bonjour LAN and WLAN Networks
Configuring Wide Area Bonjour Cisco Wide Area Bonjour domain enables global service-routing beyond a single IP gateway for traditional LAN and WLAN networks. In Cisco Wide Area Bonjour domain, Cisco Catalyst 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 Catalyst Center. The Cisco Catalyst Center must also be configured with Cisco Wide Area Bonjour application for policy-based global service discovery and distribution.
Restrictions for Wide Area Bonjour for LAN and WLAN Networks, on page 1 Information About Wide Area Bonjour LAN and WLAN Networks, on page 1 How to Configure Wide Area Bonjour for LAN and WLAN Networks, on page 2 Verifying Wide Area Bonjour for LAN and WLAN Networks, on page 4 Additional References for Wide Area Bonjour for LAN and WLAN Networks, on page 5 RestrictionsforWideAreaBonjourforLANandWLANNetworks Wide Area Bonjour service-routing between Cisco Catalyst Center and a Catalyst SDG Agent Switch over management port is not supported. We recommend that you use a switch Loopback interface instead.
InformationAboutWideAreaBonjourLANandWLANNetworks 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 Catalyst 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 Catalyst Center. The service policy carries multiple tuples to distinctly classify and distribute the service provider information along with granular network location. The following figure illustrates an end-to-end reference network model for Cisco Wide Area Bonjour. Configuring Wide Area Bonjour 1
Configuring Cisco Wide Area Bonjour Service-Routing
Figure 1: Cisco Wide Area Bonjour Domain How to Configure Wide Area Bonjour for LAN and WLAN Networks This section provides information about how to configure Wide Area Bonjour for LAN and WLAN networks. Configuration of Cisco Wide Area Bonjour requires you to configure the Cisco Catalyst Series switch in SDG Agent mode and build the service policies in Wide Area Bonjour application of Cisco Catalyst Center. Configuring Cisco Wide Area Bonjour Service-Routing To build and apply Wide Area Bonjour export service policy and setup controller parameters that enable service-routing, perform the following steps Procedure Purpose Command or Action Enables privileged EXEC mode. enable Step 1 Example:
Enter your password, if prompted. Device> enable Step 2 Enters global configuration mode. configure terminal Example: Device# configure terminal Step 3 service-export mdns-sd controller controller-name Configures the service export controller to enable Wide Area Bonjour service-routing with Cisco Catalyst Center. Example: Only one service export can be configured. Device(config)# service-export mdns-sd controller DNAC-BONJOUR-CONTROLLER Configuring Wide Area Bonjour How to Configure Wide Area Bonjour for LAN and WLAN Networks Configuring Wide Area Bonjour 2
(Optional) Configuring Cisco Wide Area Bonjour Custom Controller Service Policy
What to do next The default controller service policy is automatically configured, if a customized controller service policy is not configured. To configure a customized controller service policy, see (Optional) Configuring Cisco Wide Area Bonjour Custom Controller Service Policy, on page 3 (Optional) Configuring Cisco Wide Area Bonjour Custom Controller Service Policy To build and apply the Wide Area Bonjour custom-controller service policy, perform the following steps. Procedure Configuring Wide Area Bonjour (Optional) Configuring Cisco Wide Area Bonjour Custom Controller Service Policy Command or Action Purpose Step 4 controller-address ipv4-address Example:
Device(config-mdns-sd-se)# controller-address 100.0.0.1 Assigns the Cisco Catalyst Center IPv4 address to pair service-routing. Only one controller address can be configured. Step 5 controller-source-interface interface-name Example: Device(config-mdns-sd-se)# controller-source-interface Loopback0 Configures the source interface to build service-routing from the SDG-Agent and the Cisco Catalyst Center. We recommend you to use the Loopback interface. Step 6 end Example: Device(config-mdns-sd-se)# end Returns to privileged EXEC mode. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example:
Device# configure terminal Enters global configuration mode. Step 3 mdns-sd controller service-list controller-service-list-name Example: Device(config)# mdns-sd controller service-list WIDE-AREA-SERVICES-LIST Configures the mDNS controller service list to classify one or more service types. Configuring Wide Area Bonjour 3
Verifying Wide Area Bonjour for LAN and WLAN Networks
Verifying Wide Area Bonjour for LAN and WLAN Networks The following show commands are used to verify Wide Area Bonjour for LAN and WLAN networks: Configuring Wide Area Bonjour Verifying Wide Area Bonjour for LAN and WLAN Networks Command or Action Purpose Step 4 match {all|service-definition-name [message-type {any| announcement|query} ] [source-interface {mDNS-VLAN-number | mDNS-VLAN-range} ] } Example: Device(config-mdns-sl-out)# match APPLE-TV Device(config-mdns-sl-out)# match PRINTER-APPS Checks and matches the controller 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. Step 5 mdns-sd controller service-policy controller-service-policy-name Example: Device(config)# mdns-sd controller service-policy DNAC-CONTROLLER-POLICY Creates a custom mDNS controller service policy. Step 6 service-list controller-service-list-name Example: Device(config-mdns-ser-policy)# service-list WIDE-AREA-SERVICES-LIST Associates a controller service list to a controller service policy. Step 7 exit Example: Device(config-mdns-sd)# exit Returns to global configuration mode.
Step 8 service-export mdns-sd controller controller-name Example: Device(config)# service-export mdns-sd controller DNAC-BONJOUR-CONTROLLER Configures the service export controller to enable Wide Area Bonjour service-routing with Cisco Catalyst Center. Only one service export can be configured. Step 9 controller-service-policy controller-service-policy-name Example: Device(config-mdns-sd-se)# controller-service-policy DNAC-CONTROLLER-POLICY Associates the custom mDNS controller service policy for Wide Area Bonjour service-routing. Step 10 end Example: Device(config-mdns-sd-se)# end Returns to privileged EXEC mode. Configuring Wide Area Bonjour 4