A Python module for applying Telnet configurations to Cisco devices.
Project description
cisco_telnet
A Python module for applying Telnet configurations to Cisco devices.
Features
- Connects to Cisco devices via Telnet
- Authenticates with username and password
- Enters enable and configuration modes
- Sends a list of configuration commands
- Prints device responses
Installation
pip install cisco_telnet
Usage
import asyncio
from cisco_telnet import apply_telnet_config
commands = [
"interface FastEthernet0/1",
"description Connected to Server",
"no shutdown"
]
async def main():
await apply_telnet_config(
commands,
host="192.168.1.1",
username="admin",
password="your_password"
)
asyncio.run(main())
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cisco_telnet-0.1.0.tar.gz
(1.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cisco_telnet-0.1.0.tar.gz.
File metadata
- Download URL: cisco_telnet-0.1.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f509d6197089bb0443516e957783925a0a88834a05ae55f544de265f6f1066e8
|
|
| MD5 |
1edfe6eeb19339c2f7eb7a07d58c095d
|
|
| BLAKE2b-256 |
aad65ec6184066c80e78653852062e2df6b4bf19781cb77a5c107f528ce0f858
|
File details
Details for the file cisco_telnet-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cisco_telnet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77cb29cdb669905e1192e3db1039a91d3fd2b8555b938b2856c46f98f80d51df
|
|
| MD5 |
c5e2a7d1cff477308b52296ab810786b
|
|
| BLAKE2b-256 |
99f45366bbbde967ad5bc36b90f86f55b3941cd4977b7a7381f795e8a75eb913
|