cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1192
Views
0
Helpful
3
Replies

How do I do a telnet connection with a Switch using name or DNS?

sergiom2105
Level 1
Level 1

Hi guys, I am configuring a telnet connection but i dont know how to do with a name for example: suppose you have a sw names SW1, i want to do ping to that name and do a telnet connection with that name... I dont know if you can understand me, please can somebody help me?... Thanks.

PD1: i have a DNS server

PD2: it is just a practice in PKT.

3 Replies 3

Charles Hill
VIP Alumni
VIP Alumni

One way you can accomplish this is by using the alias commands.

Say you want to connect to SW1 by typing SW1, enter the following commands:

 

conf t

alias exec SW1 telnet "ip address of SW1"

 

Hope this helps.

sergiom2105
Level 1
Level 1

I want to show the topology, maybe you can undestand better. So, i cant connect PC6 with sw by telnet with also thename BOG_SN1_SW, but server an PC5 cant connect to BOG_SN1_SW.
PD: all topology is in OSPF 

 

sergiom2105
Level 1
Level 1

I forgot to put command "ip default-gateway" to do a conection with others lans, thank you.