cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2012
Views
15
Helpful
4
Replies

Pnp Agent information and How to execute on a switch

EddyFonseca3815
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

Activities > Audit Logs  to see the device make the call.
thank you again for your assistance.
 
 

 

View solution in original post

4 Replies 4

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:

 

https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-350-series-managed-switches/smb5792-configure-the-pnp-settings-on-a-switch-through-the-cli.html 

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

 

 

 

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:

https://www.ciscolive.com/on-demand/on-demand-library.html?search=from%20zero%20to%20hero&search=from+zero+to+hero#/video/1636411296062002rdMg 

 

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

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

Activities > Audit Logs  to see the device make the call.
thank you again for your assistance.
 
 

 

Review Cisco Networking for a $25 gift card