cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
342
Views
5
Helpful
2
Replies

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

avionics
Level 1
Level 1

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

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

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.

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

Review Cisco Networking products for a $25 gift card