Creating command IP on switch

Answered Question
Feb 27th, 2009

I currently have to console into one of my switches that uses a private 172.x.x.x address and want to give it a command IP address in order to SSH into it. I'm not sure what the commands would be to do this....any help would be greatly appreciated!!

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 7 years 10 months ago

Kristy

To access a switch remotely you need a L3 vlan interface that is up/up with an IP address. Assuming vlan 1 interface on your switch

int vlan 1

ip address 192.168.5.10 255.255.255.0

ip default-gateway 192.168.5.1

where 192.168.5.1 is the L3 routed interface for vlan 1.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Fri, 02/27/2009 - 07:54

Kristy

To access a switch remotely you need a L3 vlan interface that is up/up with an IP address. Assuming vlan 1 interface on your switch

int vlan 1

ip address 192.168.5.10 255.255.255.0

ip default-gateway 192.168.5.1

where 192.168.5.1 is the L3 routed interface for vlan 1.

Jon

waldronks Fri, 02/27/2009 - 08:00

I know how to enable SSH or telnet, what I want to know is how to set up the command IP address on the switch so that I no longer have to console into the switch to get into it.

I believe Jon answered my question....thanks Jon!

Actions

This Discussion