cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
652
Views
0
Helpful
2
Replies

How to change the IP address for the switch?

ssweehin
Level 1
Level 1

How to change the IP address for the switch? Will it affect anythings after changing the IP address?

2 Replies 2

Collin Clark
VIP Alumni
VIP Alumni

Assuming that the IP address is assigned to vlan 1,

config t

int vlan 1

ip address [new ip address] [netmask]

As soon as you hit enter, you'll lose management connectivity, but you should be able to connect to the new address. If you're changing management networks, you'll want to double check gateway/connectivity before making the change.

Hope that helps.

Ibbywannit
Level 1
Level 1

If you are running a Layer 3 switch with the appropriate IOS then to assign an IP address to a specific port you would run the

"no switchport" command.

Review Cisco Networking for a $25 gift card