10-13-2017 09:48 AM - edited 03-08-2019 12:21 PM
we can not assign ip address to switch ports. then how can we telnet into a switch
Solved! Go to Solution.
10-13-2017 10:01 AM - edited 10-13-2017 10:02 AM
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.
10-13-2017 10:01 AM - edited 10-13-2017 10:02 AM
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.
10-13-2017 11:18 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide