01-11-2008 04:12 PM - edited 03-05-2019 08:25 PM
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
01-11-2008 05:05 PM
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.
01-11-2008 10:01 PM
thanks for the help i will see it that resolves my issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide