Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Hostname error on 3925 router

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

Hostname error on 3925 router

hi ullas,

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

Cisco Employee

Hostname error on 3925 router

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

1515
Views
0
Helpful
2
Replies
CreatePlease login to create content