cisco hostname too long

Sotiris Tsimbonis stsimb at
Wed Jan 4 17:21:59 UTC 2006

john heasley said the following on 4/1/2006 7:01 μμ:

> The regex does not exactly limit the length of the hostname, it grabs up
> to the first 14 characters, which IOS truncates the name to when entering
> config mode (see -x).  w/o truncation, the regex would not match.
> my router's configured hostname is "somereallylonghostnamehere" and it
> works fine.  Something else is wrong; if altering the size of the bound
> atom fixes it, it may be an expect or regex library problem.  what is
> the full hostname?

It's "pcsrouter(02)"..


More information about the Rancid-discuss mailing list