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

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

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
Hall of Fame Super Bronze

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

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.

New Member

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

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

148
Views
5
Helpful
2
Replies