Skip to content

Instantly share code, notes, and snippets.

View SlodeSoft's full-sized avatar

EXSoft SlodeSoft

  • In the Slode
View GitHub Profile
@SlodeSoft
SlodeSoft / README.md
Last active January 30, 2023 18:43 — forked from iyre/cisco-ap-config.py
Cisco Telnet Bulk CONFIG - Switch Catalyst

Cisco Telnet Bulk CONFIG

How To ?

  1. Pull all files to your environment. [All the Files have to be in the same directory]
  2. Modify scripting.ini with your Connection Information.
  3. Modify hosts.txt & commands.txt to match with your network env.
  4. Check bulk.log to get informations about the execution.
  • You have to install telnetlib python lib, for the telnet connections on you network devices
@iyre
iyre / cisco-ap-config.py
Created February 25, 2020 02:23
python telnetlib to configure cisco ios
import getpass
import sys
import telnetlib
import os
# Variables
tacacs = '.tacacslogin'
commandsfile = 'commands.txt'
hostsfile = 'hosts.txt'
verbose = "yes"
@jlinoff
jlinoff / copy_large_file.py
Last active February 1, 2022 23:47
Python example that shows how to copy a large file showing progress.
#!/usr/bin/env python
'''
Copy a large file showing progress.
MIT License
Copyright (c) 2015 Joe Linoff
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
@clemensg
clemensg / etc_sysctl.conf
Created February 5, 2014 16:50
My FreeBSD /etc/sysctl.conf
# /etc/sysctl.conf
# Clemens Gruber, 2014
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
security.bsd.see_other_uids=0
## I/O