01-14-2022 11:11 AM
I located a PDF with PNP agent information but this document does not show how to execute or make the PNP run from a switch with some configuration. I am not able to add DHCP option 43 or DNS information in this environment but I see the PNP agent we can add a "transport http ipv4 <ip_address> port <> interface <> but it does not show how I can run the PNP agent from cli so it can go to the DNA center and reg itself. If there is a clear process how we can edit the PNP agent to reg the switch to the DNA center and how we can run it from CLI that will help reg these devices.
I Understand PNP is for Day 0 or N but if I am limited with what discovery options exist I would like to know how I can get PNP agent to do what the PNP script was design to do.
thank you
Solved! Go to Solution.
01-21-2022 11:10 AM
Hello All
thank you for the Good information and the links to the good data. I was able to make it work with the following.
This was a setup where you have a Distribution switch and below are all the Access switches. the Distribution or core will not change but we needed to on-board new Access switch with the least of effort and control which switch will call home and get included into the DNA > provision > plug and play settings.
Note: I checked and it will not show up under provision > inventory > unclaimed
1. create the L3 vlan and L2 vlan
int vlan 900
ip address 10.10.10.10 255.255.255.0
no shut
vlan 900
name switch-mgmt
2. give it a default gateway to exit the switch
ip default-gateway 10.10.10.1
Confirm you are able to ping the DNA center IP address
since we are not going to use vlan 1 on this network we will set pnp to use vlan 900
config t
pnp profile day1
transport http ipv4 192.168.128.5 ( pnp will change it to " transport https ipv4 192.168.128.5 port 443" )
reconnect 30 3 random
#device username admin password 0 password
pnp startup-vlan 900
end
write it
reload device.
now wait about 2 min and you will see the switch call home and reg it self with DNA center. to view the event go to
01-15-2022 11:43 AM
Hi
Make sure you have the right switch and right version. PNP is not an old feature. But, yes PNP is configuravel and pnp is a command on IOS.
Take a look here:
01-18-2022 08:42 AM
Hello all
I looked at the document and what I have are Cat 9200 and Cat 9300 type switches. I do not have the Sx350 Series, SG350X Series or Sx550X Series in my inventory. If you have a document for working with PNP via cli on Cat 9200 or Cat 9300 type switches that will help me with my issue.
Thank you
01-21-2022 01:26 AM
Hi,
As far as i am aware PNP is mainly used for device onboarding, considering that you mention DHCP option 43 i imagine that you are trying to some kind of onboarding.
Have a look to this video:
Although it is not going to explain you how to configure PNP through the CLI it explains different ways of doing ZTP.
Hope this is what you are looking for
01-21-2022 11:10 AM
Hello All
thank you for the Good information and the links to the good data. I was able to make it work with the following.
This was a setup where you have a Distribution switch and below are all the Access switches. the Distribution or core will not change but we needed to on-board new Access switch with the least of effort and control which switch will call home and get included into the DNA > provision > plug and play settings.
Note: I checked and it will not show up under provision > inventory > unclaimed
1. create the L3 vlan and L2 vlan
int vlan 900
ip address 10.10.10.10 255.255.255.0
no shut
vlan 900
name switch-mgmt
2. give it a default gateway to exit the switch
ip default-gateway 10.10.10.1
Confirm you are able to ping the DNA center IP address
since we are not going to use vlan 1 on this network we will set pnp to use vlan 900
config t
pnp profile day1
transport http ipv4 192.168.128.5 ( pnp will change it to " transport https ipv4 192.168.128.5 port 443" )
reconnect 30 3 random
#device username admin password 0 password
pnp startup-vlan 900
end
write it
reload device.
now wait about 2 min and you will see the switch call home and reg it self with DNA center. to view the event go to
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide