With the exception of its local console port, all of your Opengear device's RS-232 and USB serial ports are set to Disabled Mode by default.
To allow network connections to console ports, you must configure at least these settings at a minimum:
- Set the Common Settings to match the connected device (not generally required for USB)
- Set the port to Console Server Mode (aka portmanager mode)
This can be accomplished via the web UI or CLI: See the current Opengear User Manual for full details.
https://ftp.opengear.com/download/documentation/manual/current/IM_ACM_and_CM7100/
Configure ports via web UI
- Login to the Opengear web UI as root or an admin group user
- Click Serial & Network -> Serial Port -> Port X -> Edit
- Alternatively, to configure multiple ports at once:
- Click Serial & Network -> Serial Port -> Edit Multiple Ports
- Unselect the ports you do not wish to configure
- Set the Baud Rate to match the connected device (e.g. Cisco device consoles are generally 9600bps)
- If required, set the Data Bits, Parity and Stop Bits (these are typically 8-None-1)
- If required, set Flow Control (console connections do not typically use flow control)
- If prompted, set the configurable Port Pinout to match your cabling
- Select Console Server Mode
- Scroll down and Apply
Configure ports via CLI
Login to the Opengear CLI as root or an admin group user.
Run these commands to minimally configure port 2 in the configuration given in the web UI example above:
config -s config.ports.port2.mode=portmanager config -s config.ports.port2.speed=9600 config -r serialconfig
A more complete configuration might look like:
config -s config.ports.port2.mode=portmanager config -s config.ports.port2.label='Switch Console' config -s config.ports.port2.speed=9600 config -s config.ports.port2.charsize=8 config -s config.ports.port2.parity=None config -s config.ports.port2.stop=1 config -s config.ports.port2.flowcontrol=None config -s config.ports.port2.pinout=X2 config -s config.ports.port2.protocol=RS232 config -s config.ports.port2.loglevel=0 config -s config.ports.port2.escapechar='~' config -s config.ports.port2.powermenu=on config -s config.ports.port2.ssh=on config -s config.ports.port2.webshell=on config -r serialconfig
To configure multiple ports at once, enclose the above -s commands in a basic loop, e.g.:
for PORT in 1 2 3 10 47 48
do config -s config.ports.port$PORT.mode=portmanager config -s config.ports.port$PORT.speed=9600 done config -r serialconfig
Similarly, to configure all (48) ports:
for (( PORT=48 ; PORT > 0 ; PORT-- ))
do config -s config.ports.port$PORT.mode=portmanager config -s config.ports.port$PORT.speed=9600 done config -r serialconfig
Comments
0 comments
Article is closed for comments.