
Resetting Ports
Resetting Ports
The Digi CM allows you to restart all processes associated with a port and to disconnect all sessions.
To reset an individual port:
1.Click Serial port > Configuration > Port number.
2.Click Reset this port: Reset.
Reset individual port settings
Individual ports can be reverted to factory defaults.
1.Click Serial port > Configuration > Port number.
2.Click Set this port as factory default: Set.
Port Title
The Digi CM offers multiple ways to configure the port title; both manually and automatically. The default is set to “Port Title # xx” with xx being the port- number.
Automatic Device Recognition allows the Digi CM to evaluate the attached devices and populate the port title. Additionally the Digi CM can generate a SNMP trap or send an
If Active detect is selected, a configurable probe string (carriage return =0x0d by default) is sent to the console port and the response is saved to a file at /var/run/systemrep_raw.portxx with xx being the port number.
This file is parsed using a script /tmp/cnf/active_detect and the operating system and device name are written to files: /var/run/HostnamePortxx and /var/run/OSPortxx.
The commands to parse the system response are user customizable, so if you have a device that is not recognized immediately by the Digi CM, he can add a rule to the file.
If Passive detect is selected, no probe string is sent to the attached device but the port buffer is analyzed.
The script /tmp/cnf/passive_detect is executed and the results are saved to files: /var/run/HostnamePortxx and /var/run/OSPortxx.
After editing the scripts as either active_detect or passive_detect, save them to flash using the saveconf command so they are not lost after a reboot.
Configuring Automatic Device Recognition
Configure a serial port for Automatic Device Recognition.
1.Access the web interface.
2.Under the Serial Port heading, Click Configuration.
3.Choose All or an Individual port > Serial port parameters.
4.Edit the fields as they apply to your configuration.
42 | Chapter 4 |