CLI
Information – 278
•
•
•
•
•
•
save_configuration: print the card configuration in JSON format to standard output.
restore_configuration -h
restore_configuration: restore the card configuration from a JSON-formatted standard input.
7.7.14.3 Examples of usage
7.7.14.3.1 From a linux host:
Save over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS save_configuration -p $PASSPHRASE> $FILE
Restore over SSH: cat $FILE | sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS restore_configuration -p $PASSPHRASE
7.7.14.3.2 From a Windows host:
Save over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch save_configuration -p $PASSPHRASE > $FILE
Restore over SSH: type $FILE | plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch restore_configuration -p $PASSPHRASE
(Require plink tools from putty)
Where:
$USER is user name (the user shall have administrator profile)
$PASSWORD is the user password
$PASSPHRASE is any passphrase to encrypt/decrypt sensible data.
$CARD_ADDRESS is IP or hostname of the card
$FILE is a path to the JSON file (on your host computer) where the configuration is saved or restored.
7.7.14.4 Specifics
7.7.14.5 Access rights per profiles
Administrator
Operator
Viewer
save_configuration
restore_configuration
7.7.15 sanitize
7.7.15.1 Description
Sanitize command to return card to factory reset configuration.
7.7.15.2 Access
Administrator
7.7.15.3 Help
sanitize
-h, --help
Display help page
--withoutconfirmation Do factory reset of the card without confirmation
<cr>
Do factory reset of the card
Summary of Contents for Network-M3
Page 1: ...UPS Network Management Card Network M3 User s Guide English 10 27 2023...
Page 2: ......
Page 10: ...Table of Contents 10 Applicable product Eaton UPS ATS...
Page 32: ...Home Contextual help of the web interface 32 3 2 7 1 3 Battery mode 3 2 7 1 4 Off mode...
Page 34: ...Home Contextual help of the web interface 34 3 2 7 2 3 Battery mode 3 2 7 2 4 Off mode...
Page 36: ...Home Contextual help of the web interface 36 3 2 7 3 2 Bypass mode 3 2 7 3 3 Battery mode...
Page 63: ...Protection Contextual help of the web interface 63 Example 2 Immediate OFF...
Page 64: ...Protection Contextual help of the web interface 64 Example 4 Custom Settings 1...
Page 120: ...Settings Contextual help of the web interface 120 3 7 6 3 SSH 3 7 6 4 SNMP 3 7 6 5 MQTT...
Page 287: ...Acronyms and abbreviations Information 287...
Page 294: ......