|
146 DOMINION SX I NSTALLATION AND O PERATIONS MANUALExtensions to TCLVarious extensions have been incorporated into TCL to support functions to interact with theRaritanConsole unit. The command info comm amp (executed in a Script Shell Window) lists all thecommands that are supported.ampsetconfiguration, ampaddsubscription, amprmsubscription, ampsetipacl, amprmipacl, ampadduser,amprmuser are commands that make configuration changes to the Raritan unit. ampsave must be executedin order for the changes to become effective, and may be executed at the end of executing a set of thesecommands or after each command. Please note that in some cases (network), ampsave causes the unit toreboot. Use ampreload to revert changes before a save is executed.ampgetconfigurationReturns a list of categories that can be displayedUsage: ampgetconfiguration% ampgetconfigurationnetworkmodemdatacomsmtpradiusIf a specific category is specified, then the data for that category will be displayed.Usage: ampgetconfiguration • Category: can be network, datacom, smtp, and radius• Port_number: valid port number, applies only to datacom category; otherwise not used% ampgetconfiguration networkHostname: RaritanConsole_C3200IP:10.0.1.41SubnetMask:255.0.0.0Gateway:10.0.1.41PortAddress:2398TerminalType:VT100ampsetconfigurationSets the specified field to the value passed. Returns an error if the interpreter cannot get the config lock.Usage: ampsetconfiguration • Category: network, datacom, smtp, radius• Field_name: field to be altered in a particular category• Value: new valueSetting a specific parameter is done as follows (changing a port configuration):% ampsetconfiguration network portaddress 2398configuration successful% ampsaveImportant! An ampsave command must be executed in order for any changes to take effect. In theinstance above, a reboot occurs. PreviousNext |