Quite a few IT organizations are still working with traditional L2/L3 networks without a NAC solution (e.g. Cisco ISE) providing automated Vlan allocation for each and every interfaces. Those customers' networking teams spend their time associating switch ports to requested Vlans in a manual, time consuming manner. As vlan association required administrative privileges on the network switches - there is a risk offloading the task to the IT helpdesk. Moreover, the simple vlan association command still requires the network engineer to sit in front of their computer. Using Cisco DNA Center's Intent API, we are able to provide:
- An easy to use Webex Teams bot that will allow network engineers to change switch ports' associated vlan from anywhere (using their smartphone or any device capable of accessing Webex Teams).
- An option to offload the repetitive task to less experienced teams, as the bot cannot make any change except associating vlans.
- Show switches:
- Show list of ports of a selected switch:
- Assign a port to a vlan:
- Schedule a dCloud sandbox
- In case you've SSH'd to a previous dCloud session, clear the relevant SSH keys first
vi ~/.ssh/known_hosts
- Get the dCloud sandbox ready by running
python prepare_dcloud.py
- Run ngrok on the PC running the script
./ngrok http 5000
- Run
python run.py
to get the bot running - Using Webex Teams, add the bot and start a conversation
- Docker support (optional)
- ngrok, for receiving the webhook notifications
- Cisco Webex Teams Token and Teams ID
- How-To Guide https://developer.webex.com/docs/api/getting-started
- Enable Cisco DNA-C as a Platform (the dCloud session is already ready). How-To Guide