Sotiris Tsimbonis | 4 Jan 2006 18:21
Picon

Re: cisco hostname too long

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)"..

Sotiris.


Gmane