Releases: ipcjk/mlxsh
Version 0.6
mlxsh 0.5 with support for the Brocade || Extreme Networks SLX
mlxsh 0.4 with shell-mode, autocompletion and command history
mlxsh 0.3 with support for more vendors
mlxsh 0.3 is there and I have added a lot of features and more vendor support.
New hardware and vendors:
- Brocade VDX
- Brocade SLX
- Juniper JunOS
New features:
- SSH Strict Host Key Checking, supporting OpenSSH format (hashed and normalized)
- New command line parameters for ssh client connections (-s, -sf, -i)
Development:
- Added a generic router structure and a router interface to make the development for new devices more faster and easier
0.2c
Version 0.2b
- support for "aaa authentication login privilege-mode"
Version 0.2a
- fixed ssh ciphers for old version of ironware: xmr, mlx, turboiron
- minor fix for direct hostname call
0.2
Readme @
https://github.com/ipcjk/mlxsh/blob/master/README.md
New features:
-
hosts config file in YAML:
-
Hostname: frankfurt-rt1
Username: frankfurt
Password: password
EnablePassword: enable
DeviceType: mlx
KeyFile: /Users/joerg/.ssh/id_rsa2
Labels:
location: frankfurt
environment: production
type: mlx
sweetrouter: yes -
ssh key auth for login
-
one-liners on command line:
mlxsh -hostname frankfurt-rt1 -script "show uptime"
mlxsh -hostname frankfurt-rt1 -username operator -password foo -enable foo -script "show ip bgp summ"
-
several commands on command line:
mlxsh -hostname frankfurt-rt1 -script 'show uptime; show module | include NI-XMR; show version' -
grep-able output:
mlxsh -hostname frankfurt-rt1 -script "show uptime" | grep MP
- label-based execution and configuration on router-groups, also great for scheduled maintenance within cron, reloading IX-configs at night, reload the router for testing HA, ….
mlxsh -label "location=frankfurt,type=mlx" -script 'show ip cache'
mlxsh -label "location=munich" -config scripts/bgp_neighbor
mlxsh -label "mission=DECIX" -routerdb='/home/mlxsh/mlxsh.yaml' -config /home/ixgen/decix
-
mass / parallel execution in background on router-groups with the -c flag, defaults to two
mlxsh -c10 -label "location=munich" -script 'show ip bgp 8.8.8.8' -
docker image ready:
docker run -ti joerg/mlxsh /bin/sh
Version 0.1 ready to go ;-)
For releasing the first version I have renamed the project. Gone is the brand "Brocade" and the project is now called mlxsh for MLX Shell.
Mlxsh can now be configured by a yaml file and execute commands on several routers in a one-after-another loop. It is also possible to enter user specified labels for all routers, so command executions can be narrowed down to the least needed level.
Have fun! 👍