반응형 pythonscript1 SecureCRT python script to update hostname and banner This script is to update hostname and banner of cisco swtiches especially IOS. ****** # $language = "python" # $interface = "1.0" # # Author: Ethan Park # Date: 3/2/2020 # This script reads a csv file which contains hostname, IP address and a model # It updates hostname and banner section import csv import math def updateBanner(host, model): hostLength = int(math.ceil((35 - len(host)) / 2)) mode.. 2020. 3. 4. 이전 1 다음 반응형