cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2513
Views
10
Helpful
2
Replies

telnet to switch

jonk34567
Level 4
Level 4

we can not assign ip address to switch ports. then how can we telnet into a switch 

1 Accepted Solution

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni

Hi

Yeah on some switches, you can't assign any L3 information. On some of them, you'll need to do "no switchport' before being able to add an IP address.

For those where you cant, you have the OOB management port or you can create a SVI (interface vlan) on which an IP can be assigned. Let's assume you're using vlan 2 on your switch, you can create "interface vlan 2" and attach an ip address. Don't forget to setup the default-gateway with command ip default-gateway x.x.x.x"

Hope that helps

 

[EDIT] I just to forget to recommend not using telnet but ssh instead.


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

2 Replies 2

Francesco Molino
VIP Alumni
VIP Alumni

Hi

Yeah on some switches, you can't assign any L3 information. On some of them, you'll need to do "no switchport' before being able to add an IP address.

For those where you cant, you have the OOB management port or you can create a SVI (interface vlan) on which an IP can be assigned. Let's assume you're using vlan 2 on your switch, you can create "interface vlan 2" and attach an ip address. Don't forget to setup the default-gateway with command ip default-gateway x.x.x.x"

Hope that helps

 

[EDIT] I just to forget to recommend not using telnet but ssh instead.


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

andre.ortega
Spotlight
Spotlight

Some switches have dedicated management interface, where you can configure IP.
Others allow you create a interface VLAN (L3 interface) where you can configure IP.