181
Chapter 14: Command Line Configuration
The following command will synchronize the live system with the new configuration:
# config -r serialconfig
Note:Supportedserialportbaud-ratesare‘50’,‘75’,‘110’,‘134’,‘150’,‘200’,‘300’,‘600’,
‘1200’,‘1800’,‘2400’,‘4800’,‘9600’,'19200','38400','57600','115200',and'230400'.
Supportedparityvaluesare'None','Odd','Even','Mark'and'Space'.
Supporteddata-bitsvaluesare'8','7','6'and'5'.
Supportedstop-bitsvaluesare'1','1.5'and'2'.
Supportedow-controlvaluesare'Hardware','Software'and'None'.
Additionally,beforeanyportcanfunctionproperly,themodeoftheportneedstobeset.Anyportcanbesettoruninone
ofthevepossiblemodes(referChapter4fordetails):[ConsoleServermode|Devicemode|SDTmode|Terminalserver
mode|Serialbridgemode].Allthesemodesaremutuallyexclusive.
Console Server mode
The command to set the port in portmanager mode:
# config -s config.ports.port5.mode=portmanager
To set the following optional config elements for this mode:
Data accumulation period 100 ms
Escape character % (default is ~)
log level 2 (default is 0)
Shell power command menu Enabled
RFC2217 access Enabled
Limit pot to 1 connection Enabled
SSH access Enabled
TCP access Enabled
telnet access Disabled
Unauthorized telnet access Disabled
# config -s config.ports.port5.delay=100
# config -s config.ports.port5.escapechar=%
# config -s config.ports.port5.loglevel=2
# config -s config.ports.port5.powermenu=on
# config -s config.ports.port5.rfc2217=on
# config -s config.ports.port5.singleconn=on
# config -s config.ports.port5.ssh=on
# config -s config.ports.port5.tcp=on
# config -d config.ports.port5.telnet
# config -d config.ports.port5.unauthtel
Device Mode
Foradevicemodeport,settheporttypetoeitherups,rpc,orenviro:
# config -s config.ports.port5.device.type=[ups | rpc | enviro]
Forport5asaUPSport:
# config -s config.ports.port5.mode=reserved
For port 5 as an RPC port:
# config -s config.ports.port5.mode=powerman
For port 5 as an Environmental port:
# config -s config.ports.port5.mode=reserved