Take annotated screenshots of the output for each step
Pre-lab:
1. Find a YouTube on the Atom editor and watch it.
2. Watch the YouTube video -
https://www.youtube.com/watch?v=PRHClwLsTss
3. Watch the YouTube video -
https://www.youtube.com/watch?v=RmfvX5DIRnc
Note: The video uses a different platform, but the Python part of the video is relevant.
Note: Your Sandbox will be valid and usable for about 100 minutes. Wait until you have watched the videos and are prepared before launching the sandbox lab. If you are unsure of how to use any Cisco commands, practice on Packet Tracer and write down the command sequences you need. The sandbox time goes very fast.
Part 1.
1. Reserve an instance of the “Cisco Modeling Labs” (CML), from the Sandbox, Networking section. It will take 10-15 minutes for the CML instance to be provisioned and made available.
2. Once the CML is available, follow the Cisco AnyConnect VPN process from the last lab to connect to your sandbox.
3. RDP into to the Devbox, which will be our Linux/Python platform in this lab.
4. “edge-sw01” (from this point on, this will be referred to as the “Switch”) is the device we want to configure and the Devbox is the only computer we will use to complete any actions or run Python scripts
5. Use Terminal (the Linux CLI) to verify that you can ping Switch from the Devbox. Do not proceed if you cannot successfully complete this step
6. Use Windows or Mac CLI to Telnet into the Switch. Verify that you can login and use the switch as you normally would. Note – Windows users may need to install Telnet from Control Panel, Programs & Features
a. How many ports does the switch have?
b. List the specific ports
c. Use the Hostname command to change the switch name to “S1”
7. Configure the Switch for SSH access. Use Putty or Mac Terminal to SSH into the Switch.
8. Using the Cisco CLI, create a VLAN between 100-199. Assign that VLAN an IP and subnet mask. Avoid using any IP in the 10.10.20.X/24 range.
a. Perform a Show run, to verify that the VLAN was created.
9. Write a Python script that will ask the user for a VLAN number, then ask for an IP address for that VLAN. Then SSH into the switch using Netmiko and configure the VLAN with the IP address. Finally, display the VLAN information.