copy running-config startup-config
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 6 Apr 2022 18:38:10 +0000 (20:38 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 6 Apr 2022 18:38:10 +0000 (20:38 +0200)
ssh-switch-write [new file with mode: 0755]

diff --git a/ssh-switch-write b/ssh-switch-write
new file mode 100755 (executable)
index 0000000..83f047c
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh -xe
+
+test -z "$1" && echo "Usage: $0 sw-aula " && exit 1
+
+sw=$1
+NO_LOG=1 ./dell-switch.pl $sw 'copy running-config startup-config'