_____________________________________________________________________
724-746-5500 | b lackb o x.co m
Page 169
Additionally, before any port can function properly, you need to set the port mode. Set any port to run
in one of the five possible modes (refer
Chapter 4
for details): [
Console server
mode|Device mode|SDT
mode|Terminal server mode|Serial bridge mode]. All these modes are mutually exclusive.
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
For a device mode port, set the port type to
ups, rpc,
or
enviro:
# config -s config.ports.port5.device.type=[ups | rpc | enviro]
For port 5 as a UPS port:
# 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
SDT mode
To enable access over SSH to a host connected to serial port 5:
# config -s config.ports.port5.mode=sdt
# config -s config.ports.port5.sdt.ssh=on