Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

How to change the IP address for the switch?

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

2 REPLIES

Re: How to change the IP address for the switch?

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.

New Member

Re: How to change the IP address for the switch?

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.

355
Views
0
Helpful
2
Replies
CreatePlease to create content