I can’t assign IP address in my CISCO switch?

Asked By 250 points N/A Posted on -
qa-featured

I'm working in an AD firm and using CISCO switch for our network. Recently we have purchased Cisco 2960 series switch. I’ve tried myself to assign static IP on switch but failed. For your information we are using Mac address. Is there anyone to instruct me, how can I assign IP address in Cisco switch?

Regards,

Hossain

SHARE
Best Answer by bappy
Best Answer
Best Answer
Answered By 0 points N/A #90171

I can’t assign IP address in my CISCO switch?

qa-featured

Hi Hossain,

As you may know there are layer 2 and layer 3 switches. A layer 2 switch only does layer 2 forwarding; as such it doesn't have any additional IP interfaces. On a layer 2 switches the IP address is instead assigned to the vlan interface: Layer 2 threat defense capabilities, Routing: Basic Layer 3 static routing with 16 routes. The serial, which you mentioned they are layer 2.

Config t

Interface vlan 1

IP address 192.168.1.1 255.255.255.0

Important note:

* On a L2 switch you can assign an IP to any vlan you want (vlan 1, vlan 2, vlan 4000). You can only assign an IP address to one vlan at a time on a l2 switch. If you configured an IP on a vlan and then try to assign an IP to another vlan, the switch will shut down the first vlan and bring up the second vlan interface)

Config t

Int fa0/1

IP address 192.168.1.1 255.255.255.0

Assign an ip address to a physical fast Ethernet port on the switch

Interface vlan 1

IP address 192.168.2.1 255.255.255.0

Assign an ip address to the virtual (vlan) interface on the switch

Hope above information will help you. Please get back to me whether you are able to do it or not. Cheers!

Bappy

Answered By 250 points N/A #90172

I can’t assign IP address in my CISCO switch?

qa-featured

Dear Bappy,

Thanks for your information, I've followed your suggestions but I am not able to do it. The thing is, first I have configured as IP address on a vlan and then tried to assign as IP to another Vlan but the switch automatically shut down. What should I do now? Thanks.

Hossain

Answered By 0 points N/A #90173

I can’t assign IP address in my CISCO switch?

qa-featured

 

You can't configure an IP on a vlan and then to another vlan. If you do this, your switch will shut down the first vlan and bring up the second vlan interface. So, what you have to do now is, reset the switch and then configure again. Cheers!

 
Bappy
Answered By 250 points N/A #90174

I can’t assign IP address in my CISCO switch?

qa-featured

Thanks, I've reset my switch and then configure again. Now I am able to assign an IP address successfully. It's working well. Thanks.

Hossain

Answered By 0 points N/A #90175

I can’t assign IP address in my CISCO switch?

qa-featured

Dear Hossain,

It's good to here from you that, you can able to assign your IP address successfully. It was really difficult task which you've done very easily as per my instruction’s, appreciate you for this.

Regards,

Bappy

Answered By 0 points N/A #90177

I can’t assign IP address in my CISCO switch?

qa-featured

Hi Hossain,

Could you please try with the following solution. This will help you to assign IP address in your Router. First you have to enter, privileged EXEC mode – Router enables password; then Enter the configure terminal command Router config terminal then Interface type port for Cisco 2960 series.

To Enter the interface configuration mode you can follow this example- Router (config) interface Ethernet/1. Now enter the IP address and subnet mask of the interface using the IP address, Like Router (congig-if)IP address 192.168.10.1 255.255.255.0. After doing this Exit the configuration mode by pressing Ctrl-Z. I think if you follow the above instructions, your problem can be solved.

Regards,

Sumya

Answered By 0 points N/A #90178

I can’t assign IP address in my CISCO switch?

qa-featured

Try this Cisco 2960 Guide.

Hope it would help you more.

Related Questions