LAB – 4
In this lab we are going to onboard Branch2-Edge1 using URL based onboarding. In this
case the ZTP will provide a URL within encoded token to activate the customer premises
edge. The information required to configure the IP connectivity will be embedded in URL.
Topology:
Step 1 would be creating a template for Branch2-Edge1. Go to the GUI, select the
Workflows tab and click on Templates. Now, select the template and clone it as shown
below.
Change the name of the template to Branch_vEdge_Template_MPLS and click Continue.
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
In the interfaces settings change the Network Name to MPLS and click Continue.
Continue with the default settings and Click Recreate under the Management Servers
Tab.
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
Once you click on recreate another template will be added to the list.
Now we will add another device group for our Branch2-Edge1 by going into the
Configuration tab and selecting the Devices Groups under the Devices menu.
Click on + button to create a new Device Group. Fill in the details as shown below and
click OK.
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
After this we need to add another device in the Workflows, Devices settings. Use the
details as shown below and click Continue:
In the Location Information tab add the following details and click Continue.
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
Under the URL Based ZTP tab add the following information and click Continue.
Under Bind Data click on the Device name and fill in the interface details as shown below.
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
Click on OK and Click Deploy to add the device. You can check the details under the
Administration Menu inside Hardware details with the Shipped Status.
Now, select the device Branch2-Edge1 and fetch out the URL Based ZTP information.
Copy the URL and paste it in notepad for future use.
Now, we will go to the device Branch2-Edge1 and will run the file default-device.cfg from
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
the bootcfg folder. Follow the commands given below to do the same.
Use the command show interface brief | tab to check the updated details.
Go to the BR2-LAN and use the following commands to configure ip address on interface
gi 0/0
enable
conf t
hostname BR2-LAN
interface gig 0/0
ip address 192.168.2.2 255.255.255.0
no shutdown
exit
interface gi 0/1
ip address 10.255.1.101 255.255.255.0
no shut
exit
end
write
Open the Command Prompt as an administrator on your windows machine and add a
route for 192.168.2.0 with 10.255.1.101 as gateway.
Now we are going to configure NAT on BR2-LAN so that our windows machine can
communicate with Edge Router.
Go to the BR2-LAN and use the following commands:
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
access-list 10 permit 10.255.1.0 0.0.0.255
ip nat inside source list 10 interface gi 0/0 overload
interface gi 0/0
ip nat outside
exit
interface gi 0/1
ip nat inside
exit
Next step would be opening the URL which you pasted earlier in the notepad on your
browser. FlexVNF Web-UI will open up. Go to the Activation tab and click on Manual
Configuration to look into the details. Click on Start Activation to begin the activation
process.
Allow the device to reboot itself to complete the activation process.
After the reboot is done you will find out the status for the device changes from shipped
to claimed in GUI.
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs
You can confirm the completion of configurations by running the command show
interfaces brief | tab in Branch2-Edge1 CLI.
Telegram Channel for Jobs - https://t.me/nwopenings
Telegram Group for Discussions - https://t.me/pynetlabs
LinkedIn for Latest Updates - https://www.linkedin.com/company/pynetlabs