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

Unable to login through hostname

                   Hi:

I am unable to login to switch c3560 through Hostname but able to login through IP address.

when i am putting the command :

login authentication telnetpwd

getting the below message:

AAA: Warning authentication list "telnetpwd" is not defined for LOGIN.

Everyone's tags (4)
2 ACCEPTED SOLUTIONS

Accepted Solutions

Unable to login through hostname

mohammad izharul haque wrote:

                   Hi:

I am unable to login to switch c3560 through Hostname but able to login through IP address.

when i am putting the command :

login authentication telnetpwd

getting the below message:

AAA: Warning authentication list "telnetpwd" is not defined for LOGIN.


Hello ,

Are you saying you want to login using hostname from the LAN, then you should have dns entry for the switch with respect to ip address.

Hope to Help !!

Regards

Ganeshh Iyer

VIP Purple

Unable to login through hostname

so why did you configure the command "login authentication telnetpwd"?

For accessing the switch with the hostname:

just do a ping with the hostname and with the FQDN. If your machine doesn't show you the IP of the switch, then the PC doesn't know how to translate the name into an IP address. The name should be added to your DNS, or you could modify your local host-table.

5 REPLIES
VIP Purple

Unable to login through hostname

The line-command "login authentication ..." references an aaa-config that is missing. If you want to use AAA for authentication you need to enable it:

aaa new-model

aaa authentication login telnetpwd line        ! if you want to use the line-PW

aaa authentication login telnetpwd local      ! if you want to use the local usernames

But what exactly do you mean with "unable to login"? Your description sounds more like a problem with the name-resolution then a problem with the router.

Community Member

Re: Unable to login through hostname

Actually in the switch i want to login through hostname as well, i am able to login through ip address.

As there is no any AAA configuration is there so i would be great if you suggest me the command to use,to access the switch from hostname as well.

Sent from Cisco Technical Support iPhone App

VIP Purple

Unable to login through hostname

so why did you configure the command "login authentication telnetpwd"?

For accessing the switch with the hostname:

just do a ping with the hostname and with the FQDN. If your machine doesn't show you the IP of the switch, then the PC doesn't know how to translate the name into an IP address. The name should be added to your DNS, or you could modify your local host-table.

Unable to login through hostname

mohammad izharul haque wrote:

                   Hi:

I am unable to login to switch c3560 through Hostname but able to login through IP address.

when i am putting the command :

login authentication telnetpwd

getting the below message:

AAA: Warning authentication list "telnetpwd" is not defined for LOGIN.


Hello ,

Are you saying you want to login using hostname from the LAN, then you should have dns entry for the switch with respect to ip address.

Hope to Help !!

Regards

Ganeshh Iyer

Community Member

Unable to login through hostname

Hi Karsten/Ganeshh

Thanks a lot...

you are right PC was unable to translate the ip in to hostname, manually i did in to PC host file it worked

now i need to make entry in to DNS to work from any Laptop/PC......

great help......

699
Views
5
Helpful
5
Replies
CreatePlease to create content