Bonjour is a technology by Apple that allows devices on the same network to discover and connect to each other without any additional configuration. The latest Cisco Small Business Switches are able to broadcast Bonjour Discovery packets that advertise the services they provide. These advertisements can be read by other devices on the network, such as network management tools or third-party applications.
The objective of this document is to show you how to configure the Bonjour settings through the Command Line Interface (CLI) of your switch.
Step 1. Log in to the switch console. The default username and password is cisco/cisco. If you have configured a new username or password, enter the credentials instead.
Note: To learn how to access an SMB switch CLI through SSH or Telnet, click here.
Note: The commands may vary depending on the exact model of your switch. In this example, the SG350X switch is accessed through Telnet.
Step 2. From the Privileged EXEC mode of the switch, enter the Global Configuration mode by entering the following:
Step 3. To globally enable Bonjour on the switch, enter the following:
Note: This feature is enabled by default.
Step 4. (Optional) To globally disable Bonjour on the switch, enter the following:
Note: If Bonjour is disabled, the switch stops sending Bonjour Discovery advertisements and stops listening for Bonjour Discovery advertisements sent by other devices.
Step 5. To add L2 interfaces to the Bonjour L2 interface list, enter the following:
Note: The Bonjour L2 interface list specifies a set of interfaces on which Bonjour is enabled.
Note: In this example, VLAN 10-20 are added to the Bonjour L2 interface list.
Step 6. Enter the exit command to go back to the Privileged EXEC mode of the switch:
Step 7. (Optional) To display Bonjour information on the switch, enter the following:
Step 8. (Optional) In the Privileged EXEC mode of the switch, save the configured settings to the startup configuration file by entering the following:
Step 9. (Optional) Press Y for Yes or N for No on your keyboard once the Overwrite file [startup-config].... prompt appears.
You should now have successfully configured the Bonjour settings on your switch through the CLI.