unable to set ip on L2 help!!!!!!!

Unanswered Question
Jan 11th, 2008

i have a 2811 with 16 port switch but when i attempt to assign a ip address to fa1/0 i get the message unable to add ip on L2. Is the a reason for this?????help

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Edison Ortiz Fri, 01/11/2008 - 17:05

The reason is, those are Layer2 switchports.

You need to create a Vlan and associate those ports to the Vlan, for instance:

1) Create Layer 2 Vlan

Rack1SW1#vlan database

Rack1SW1(vlan)#Vlan 100

VLAN 100 added:

Name: VLAN0100

Rack1SW1(vlan)#exit

2) Create Layer 3 Vlan

Rack1SW1(config)#inter vlan 100

Rack1SW1(config-if)#ip add 192.168.100.1 255.255.255.0

3) Assign Vlan to the Port

Rack1SW1(config)#int f1/0

Rack1SW1(config-if)#switchport access vlan 100

HTH,

__

Edison.

avionics Fri, 01/11/2008 - 22:01

thanks for the help i will see it that resolves my issue.

Actions

This Discussion