Expert - Ports - Hostname Discovery
An administrator can use the Expert - Ports - Hostname Discovery screen to configure lists of
probe and answer strings that apply to all serial ports that have been configured for hostname
discovery. See Hostname Discovery on page 13 for details about how the strings are used for
other configurations needed for hostname discovery to work.
If you want the console server to attempt to discover the hostname, select Expert - Ports -
Hostname Discovery and enter the time-out value in seconds in the field provided. If the
console server cannot discover the hostname in the allotted time, the default target device name
is used.
The probe and answer strings can be left blank. The default strings have a broad range and
work in most cases.
Fields Accepted Values
Hostname DiscoveryProbe Strings
Alistof strings,delimited bydoublequotes(“) and separatedby
spaces.ThefollowingC-styleescapesequencesareaccepted: “\n”
(new line;“\r” (carriage return); “\t” (horizontaltabulation);“\f” (form-
feed); “\\” ((backslash) and“\”” (double-quote).Probe stringscan
havemore than oneescape sequenceand use regular characters,but
simpler sequencessuchas“\r” or “\n” arerecommended.“\n” isthe
defaultifno stringsaredefined.
Hostname Discover Answer Strings
Alistof strings,delimited bydoublequotes(“) and separatedby
spaces.Mustbewritten asPOSIXextendedregular expressions.Ifno
stringsare defined,then“([A-Za-z0-9\\.-_]+)[]+[Ll]ogin[:]?[ ]?$” isthe
default.If the user regexhasmorethanone group, then onlythe first
groupismatched.
Table 9.14: Expert - Ports - Hostname Discovery Fields
To configure hostname discovery probe and answer strings [Expert]:
1. Select Expert - Ports - Hostname Discovery. The Hostname Discovery screen appears.
2. Enter one or more strings delimited by double quotes and separated by spaces.
3. Click apply changes.
Chapter 9: Ports Menu and Forms 127