Version 6.6 79 Mediant 2000
User's Manual 5. CLI-Based Management
5.4.5 Configuration Commands
The commands under the CONFiguration directory query and modify the current device
configuration. The following commands are available:
Table 7: Configuration CLI Commands
Command Short
Format
Arguments Description
SetConfigParam IP
/conf/scp ip ip-addr subnet def-
gw
Sets the IP address, subnet mask,
and default gateway address of the
device (on-the-fly).
Note: This command may cause
disruption of service. The CLI session
may disconnect since the device
changes its IP address.
RestoreFactorySettings
/conf/rfs
Restores all parameters to factory
settings.
SaveAndRestart
/conf/sar
Saves all current configurations to the
non-volatile memory and resets the
device.
ConfigFile
/conf/cf view | get | set Retrieves the full ini file from the
device and allows loading a new ini
file directly in the CLI session.
Note: The argument view displays the
file, page by page. The argument get
displays the file without breaks.
5.4.6 PSTN Commands
The commands under the PSTN directory allow you to perform various PSTN actions.
Table 8: PSTN CLI Command
Command Short
Format
Arguments Description
PstnLoopCommands
PS/PH/PLC <TrunkId>
<LoopCode>
<BChannel>
Activates a loopback on a specific trunk
and B-channel. For loopback on the
entire trunk, set BChannel=(-1).
The valid value options for LoopCode
include the following:
ï‚§ 0 = NO_LOOPS
ï‚§ 1 = REMOTE_LOOP (whole trunk
only)
ï‚§ 2 = LINE_PAYLOAD_LOOP (whole
trunk only)
ï‚§ 3 = LOCAL_ALL_CHANNELS_LOOP
(whole trunk only)
PstnSendAlarm
PS/PH/PSA <TrunkId>
<AlarmSendCode>
Sends an alarm signal at the Tx interface
or on a specific Trunk ID. The valid value
options for AlarmSendCode include the