Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Assign IP address to switch

Hi All,

I have one switch connected to network. Currently IP address is assigned though DHCP. I want to assign same IP address statically though remote.

How can I assign static IP address.

Switch is cisco 2960G.

current config. on switch.

intreface vlan 1

ip address dhcp

Everyone's tags (2)
2 REPLIES

Assign IP address to switch

Hi Krunal,

The syntax is

ip address

eg:

!

interface vlan1

  ip address 192.168.25.1 255.255.255.0

!

cheers,

Seb.

Assign IP address to switch

Please don't use Vlan1, pick another Vlan for your management.

Make sure you do a no shut on the Vlan Interface once you have assigned the IP address. The VlanID also needs to be allowed across any trunk links before it will show as Up.

171
Views
0
Helpful
2
Replies