- The Sandisk Extreme Pro 2TB Portable SSD is $70 off during Amazon's Spring Sale
- I tested a self-cleaning robot vacuum that can wipe your baseboards - And it's $400 off right now
- 5 fun Linux commands you'll want to try at least once
- Using Privileged Access Management to protect Active Directory
- Gartner to CIOs: Prepare to spend more money on generative AI
N9K Remote Python
original Link # https://github.com/datacenter/nexus9000 # Copyright (C) 2013 Cisco Systems Inc. # All rights reserved import sys sys.path.append(“./cisco”) sys.path.append(“./utils”) from nxapi_utils import NXAPITransport from cisco.interface import Interface ################### # NXAPI init block ################### target_url = “http://10.30.14.8/ins” username = “admin” password = “admin” NXAPITransport.init(target_url=target_url, username=username, password=password) ################### ################### # cli/clip/clid are changed a bit, but largely the same ################### print NXAPITransport.cli(“show version“) NXAPITransport.clip(“show interface brief“) NXAPITransport.clic(“conf t ;interface eth4/1 ;no shut“) print NXAPITransport.clid(“show version“) ################### #…
Read More