swcfg-backup/swcfg-backup.sample.json

18 lines
762 B
JSON
Raw Normal View History

2022-03-16 16:34:36 +09:00
{
"tftp": {
"server": "192.168.1.100",
"path": "config",
"rootdir": "/var/lib/tftpboot"
},
"backup": {
"destdir": "/backup/switch"
},
"hosts": [
{"hostname": "s5100", "protocol": "telnet", "system": "s5100", "username": "admin", "password": "secret"},
{"hostname": "a5120", "protocol": "telnet", "system": "a5120", "username": "admin", "password": "secret"},
{"hostname": "n4032f", "protocol": "telnet", "system": "n4000", "username": "admin", "password": "secret", "enable": "secret"},
{"hostname": "n3224t", "protocol": "ssh", "system": "n3000", "username": "admin", "password": "secret", "enable": ""},
{"hostname": "s4128f", "protocol": "ssh", "system": "s4000", "username": "admin", "password": "secret"}
]
}