EasyManua.ls Logo

Eaton Network-M3 - Rest Set; Rest Exec; Save_Configuration | Restore_Configuration

Eaton Network-M3
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CLI
Information – 277
7.7.11.3 Example
rest get /managers/1/networkService/networkInterfaces/eth1/ipv4/address
=>
10.130.33.195
7.7.12 rest set
7.7.12.1 Usage
rest set <path> <payload>
This command sets the resource identified by <path> with the given <payload>
rest set ?
This command print the help for the command.
7.7.12.2 Example
Set IPv4 address :
rest set /managers/1/networkService/networkInterfaces/eth1/ipv4/settings/manual/address 192.168.47.136
Set a field to an empty value or reset a field :
rest set /managers/1/identification/location ""
7.7.13 rest exec
7.7.13.1 Usage
rest exec <path> [payload]
This command runs the action at the resource identified by <path>. <payload> is an optional argument and is action dependent.
rest exec ?
This command will print the help for the command.
7.7.13.2 Example
Switch On immediately:
rest exec /powerDistributions/1/outlets/1/actions/switchOn
Switch On After 5 second delay:
rest exec /powerDistributions/1/outlets/1/actions/switchOn 5
7.7.14 save_configuration | restore_configuration
7.7.14.1 Description
Save_configuration and restore_configuration are using JSON format to save and restorecertain part of the configuration of the
card.
7.7.14.2 Help
save_configuration -h

Table of Contents

Related product manuals