Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
We have a 5585 pair in active/standby. Each 5585 is directly connected to a Nexus 7k. The 5585's failover link is directly connected via 10g fiber between buildings. I have two new FP4125's that I have created a logical ASA on each one, copied the co...
I'm trying to get a list of all my devices in DNAC except for access points. I'm not sure how to correctly go about that though. I can't put ?family!= or ?family#. How can I get everything that isn't an access point? Here's my python BASE_URL = 'http...
I am trying to find the device ID in our DNAC server and having issues. We have some devices in DNAC by IP address and some by dnsname. We have a python script that adds/deletes devices via IP address on our other NMS softwares and I'd like to add th...
I'm trying to create an endpoint via the API and assign it to a specific group and can't figure out where I'm going wrong. Can someone give me a hint? ISE_LAB_URL="https://serverurl.com:9060/ers/"CONFIG_ENDPOINT_URL="config/endpoint"CONFIG_ENDPOINT_...
We have a bunch of 4500 switches and a mix of Sup8e, Sup8le, and Sup7e. We have some SUP8e's that are hardware version 1.2 and some are 1.3. We seem to be having an issue with some of the 1.2 versions that don't happen on the 1.3 versions. Is there a...
I think I have what I want. dev_fam = ['Switches and Hubs', 'Storage Networking', 'Security and VPN', 'Wireless Controller', 'Third Party Device']
for x in dev_fam:
query_string_params = {'family': x}
response = requests.get(BASE_URL + DEVIC...
For anyone doing a google search for the error and trying to find Craig's link like I was, it has since been moved and looks like it lives here now: https://community.cisco.com/t5/security-knowledge-base/ise-profiling-design-guide/ta-p/3739456?dtid=o...
Thank you so much! I'm excited to be learning python and appreciate the honest reply without being snarky like most people! It's very helpful and encouraging.
That was it! Thank you! I'm still learning. what does the "repr" do? this is what I changed my function to. def getHost(ip):
"""
This method returns the host name for a
given IP address
"""
try:
data = socket.gethostbyadd...