cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3282
Views
0
Helpful
2
Replies

Hostname error on 3925 router

Shigeru Akimoto
Level 1
Level 1

Hi all

I was trying to give the following host name to my 3925 router.Iht comes up with the following error.

DRT0(config)#hostname DRT#0

% Hostname contains one or more illegal characters.

% Hostname "DRT#0" is not a legal LAT node name, Using "CISCO_000000"

DRT#0(config)#

Nov 10 12:59:02: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 15

Nov 10 12:59:02: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 15

Nov 10 12:59:02: %CNS-3-WARNING: CNS ID not changed: bad hostname -Process= "Exec", ipl= 0, pid= 15

the IOS is "VVersion 15.1(4)M1"

Any suggestions on this issue?

Ullas

2 Replies 2

johnlloyd_13
Level 9
Level 9

hi ullas,

you may want to re-assign another hostname without the "#" or just ignore the error message since it's non service impacting.

Correct,

# symbol is not smth this commands is expecting according to guide:

The name must also follow the rules for ARPANET host names. They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphens. Names must be 63 characters or fewer. A host name of less than 10 characters is recommended. For more information, refer to RFC 1035, Domain Names—Implementation and Specification.

The other thing is that it as decided to apply some those names as happening in your case. But some time it might chage it - e.g. if name is longer than 16 characters - console will truncate it.

Nik

HTH,
Niko
Review Cisco Networking for a $25 gift card