Creating Bonjour Fencing Policies

Bonjour Fencing policies can be created and applied to a zone at the same time using the Fencing tab on the Services > Bonjour page.
This topic is reused between SmartZone and Unleashed. Please use appropriate platform-specific conditions while updating this topic.
Bonjour Fencing policies can be created and applied on a per AP and per AP Group basis at the same time.
Note: Bonjour Fencing for a particular service does not work if another service from the same server, which is not fenced, is enabled simultaneously.
Complete the following steps to create a Bonjour Fencing policy.
  1. From the main menu, select Services > Others > Bonjour > Fencing.
  2. Select the zone for which you want to create the policy.
  3. Click Create.
    The Create Bonjour Fencing Policy dialog box is displayed.

    Creating a Bonjour Fencing Policy

  4. Unleashed
    From the main menu, select Services > Bonjour > Bonjour Fencing > Add Bonjour Fencing. Click Add and select Bonjour Fencing.
    The Add page is displayed.

    Bonjour Fencing Tab

  5. Configure the following options:
    • Name: Enter a name for the policy.
    • Description: Type a description for the policy.
    • Fencing Rule: Click Create to create a policy rule.
    • Rules: Click Add Rule to create a policy rule.

      Adding a Bonjour Fencing Policy

    The Fencing Rule dialog box is displayed.

    The Add Rule sidebar is displayed.

    Creating a Fencing Rule

  6. Configure the following options:
    • Device Type: Select Wireless or Wired network connection method for the device advertising Bonjour services.
    • Closest AP: Select the closest AP to create a physical anchor point for fencing; the closest AP is auto-detected for wireless devices, based on the AP association.
    • Service: Select one of the Bonjour services from the list. In SmartZone 5.0, two new services, Chromecast and Other were added. Chromecast behaves as the standard service. If you select Other, the custom service name that is used for service mapping is displayed. Regardless of the selected device type, only three services with the same custom service name can be created.
    • Custom Service Name: Enter a name for mapping services other than the custom services regardless of the device type. You can create a maximum of three services with the same custom service name.
    • Fencing Range: Select Same AP or 1-Hop AP Neighbors as the fencing range.
    • Description: Enter any description you may have for the fencing rule.
    • Device MAC: Enter the MAC address of the device advertising Bonjour services. This option is available only for the Wired device type; it supports up to four wired MAC addresses.
    • Order: Select the order of precedence for the rule from the drop-down list.
    • Description: Optionally, enter a description.
    • Source Type: Select Wireless or Wired as the network connection method for the device advertising Bonjour services.
    • Anchor AP: Enter the MAC address of the AP advertising the Bonjour service. This option is available only for the Wired device type; it supports MAC addresses for up to four wired Bonjour devices.
    • Service: Select one of the Bonjour services from the drop-down list.
    • Fencing Range: Select Same AP or 1-Hop AP Neighbors as the fencing range.
    • Add MAC Address: Click Add MAC Address if you selected Source Type as Wired. Enter the Device MAC address in the new sidebar and click Add. The Device MAC address appears in the Add Rule sidebar. Repeat this action to add up to four MAC addresses (supporting four separate wired Bonjour devices).
  7. SmartZone
    Click OK to save the Bonjour Fencing rule.
    Note: Each policy can contain up to 32 rules.
  8. Unleashed
    Click Add to save the Bonjour Fencing rule.

    You can edit, clone, or delete a Bonjour Fencing policy by selecting a specific policy checkbox and then clicking Edit, Clone, or Delete options, respectively.

  9. SmartZone
    Under Custom Services Mapping, click Create.
    The Custom Services Mapping dialog box is displayed.

    Creating a Custom Services Mapping

  10. SmartZone
    Configure the following options:
    • Service: Select one of the Bonjour services from the list.

    Per Service has only one entry for custom services mapping. For example, AppleTV and Chromecast have only one entry with custom strings (three at most) and the Other type has one entry with custom strings (three at most) because it allows three other rules.

    • This field is available only if you select the Other option from the Service list. Custom Service Name lists all the custom service names with the service type Other created in the fencing rule.
    • Custom String List: Enter the name of the string list in the format _xxxx._xtcp or _xxxx._xudp. You can create only one entry for Custom service and three entries for an Other service.
  11. SmartZone
    Click OK to save the services mapping policy.
  12. SmartZone
    Click OK to save the policy.
    Note: You can also edit or delete the policy by selecting the Configure or Delete respectively, from the Fencing tab.
  13. To apply the Bonjour Fencing Policy on an AP or AP Group, complete the following steps:
    Unleashed
    1. Select Wi-Fi > Access Points, then select AP List or AP Group List.
    2. Select a specific AP or AP Group checkbox and then click Edit. The applicable Edit page is displayed.
      Alternatively, click the AP or AP Group name and then from the Overview page, click Configure. The General tab is displayed by default.
    3. Click the Other tab.
    4. For an AP Group, select a Bonjour Fencing policy from the drop-down list. For an AP, select the Override Group Config checkbox, then select a Bonjour Fencing policy from the drop-down list.
    5. Click Apply to save the changes.