Creating command IP on switch

Answered Question
Feb 27th, 2009
User Badges:

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!!

Correct Answer by Jon Marshall about 8 years 3 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
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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
User Badges:

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!

Leo Laohoo Fri, 02/27/2009 - 15:52
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Ahhhhhhhhhhhhhhhhhhh ... it's called Management IP Address. :)

Actions

This Discussion