allow-service (bonjour-gw-discovery-policy-cofig-mode)
Enables discovery of Bonjour devices and the services they provide on
Local or Tunneled VLANs
Supported in the following platforms:
- Access Points — AP7502, AP7522,
AP7532, AP7562, AP7602, AP7612, AP7622, AP7632, AP7662, AP8163, AP8432, AP8533
- Wireless Controller — RFS4010
- Service Platforms — NX5500, NX7500,
NX9500, NX9600, VX9000
Syntax
allow-service <BONJOUR-SERVICE-NAME> [local|tunneled]
allow-service <BONJOUR-SERVICE-NAME> local {instance-name contains <WORD>} ({service-vlans <WORD>})
allow-service <BONJOUR-SERVICE-NAME> tunneled {instance-name contains <WORD>}
Parameters
allow-service <BONJOUR-SERVICE-NAME> local {instance-name contains <WORD>} ({service-vlans <WORD>})
allow-service <BONJOUR-SERVICE-NAME> |
Configures the services that can be discovered by the
Bonjour gateway. And also configures the VLANs on which the selected services can be
discovered.
- <BONJOUR-SERVICE-NAME> – You can either select the Bonjour services from a
set of system-provided, pre-defined Apple services, or use an existing alias to
define a service not available in the predefined list.
The predefined Apple
services available are: Afp, AirPlay, AirPort, AirPrint, AirTunes,
AppleTimeMachine, Chromecast, Daap, HomeSharing, Printer, and
Scanner.
Use the <WORD> keyword to define a service not included in
the system-provided, pre-defined list. Ensure this device is registered with
the Multicast DNS Responder (mDNSResponder).
|
local |
Select to enable the discovery of the selected Bonjour
Services on the local VLAN |
instance-name contains <WORD> |
Optional. Specifies the selected Bonjour service‘s
instance name. When specified, the Bonjour service discovery queries contain the
instance name. of the service to be discovered.This option is useful especially
in large distributed, enterprise networks. Use it to create different instances of
a Bonjour service for the different organizations or departments (VLANs) within
your network. Creating instances allows you to advertise specific service
instances for a specific set of VLANs, instead of advertising top-level Bonjour
Services to various allocated VLAN(s).
- contains <WORD> – Specify the instance name. You can either directly
specify the string value to be used as a match criteria, or use a string alias
(for example, $BONJOUR-STRING) to identify the string to match. If using a
string alias, ensure that it is existing and configured. For information on
configuring a string alias, see alias.
|
service-vlans <WORD> |
Optional. Configures a VLAN or a list of VLANs on which
the selected service is discoverable. When specified, Bonjour discovery queries are
delivered to all clients on the specified VLANs. Applicable only if enabling Bonjour
Services discovery on local VLANs. |
|
|
|
|
|
allow-service <BONJOUR-SERVICE-NAME> tunneled {instance-name contains <WORD>}
allow-service <BONJOUR-SERVICE-NAME> |
Configures the services that can be discovered by the
Bonjour gateway. And also configures the VLANs on which the selected services can be
discovered.
- <BONJOUR-SERVICE-NAME> – You can either select the Bonjour Services from a
set of system-provided, pre-defined Apple services, or use an existing alias to
define a service not available in the predefined list.
The predefined Apple
services available are: Afp, AirPlay, AirPort, AirPrint, AirTunes,
AppleTimeMachine, Chromecast, Daap, HomeSharing, Printer, and
Scanner.
Use the <WORD> keyword to define a service not included in
the system-provided, predefine list.
|
tunneled |
Select to enable the discovery of the selected Bonjour
Services on tunneled VLANs |
instance-name contains <WORD> |
Optional. Adds a Bonjour Service instance name. If you
have a large enterprise network, use this option to create different Bonjour Service
instances for the different organizations or departments (VLANS) within your
network. Creating instances allows you to advertise specific service instances for a
specific set of VLANs, instead of advertising top-level Bonjour Services to various
allocated VLAN(s).
- contains <WORD> – Specify the sub-string to match. You can either directly
specify the string value to be used as a match criteria, or use a string alias
(for example, $BONJOUR-STRING) to identify the string to match. If using a
string alias, ensure that it is existing and configured. For information on
configuring aliases, see alias.
|
|
Examples
nx9500-6C8809(config-bonjour-gw-discovery-policy-test)#allow-service Afp local
nx9500-6C8809(config-bonjour-gw-discovery-policy-test)#allow-service Printer lo
cal instance-name contains $Bonjour_Service service-vlans 1,2
nx9500-6C8809(config-bonjour-gw-discovery-policy-test)#show context
bonjour-gw-discovery-policy test
allow-service Printer local service-vlans 1-2 instance-name contains $Bonjour_Service
allow-service Afp local
nx9500-6C8809(config-bonjour-gw-discovery-policy-test)#
Following example configures the string alias named $Bonjour_Service:
nx9500-6C8809(config)#alias string $Bonjour_Service admin
nx9500-6C8809(config)#commit
nx9500-6C8809(config)#show context include-factory | include alias string
alias string $Bonjour_Service admin
nx9500-6C8809(config)#