03-26-2007 03:08 AM - edited 03-03-2019 04:18 PM
Hi,
I am currently trying to configure an ADSL Cisco 877 series router.
I am trying to add an IP address to FastEhthernet 0 at interface level. Howvever I am getting the following error message:
% IP addresses may not be configured on L2 links.
Can anyone shed any light on this one.
Many Thanks
Mark
03-26-2007 03:36 AM
Hi
The port which you are trying to configure is a pure L2 port Switch ports which wont support having an L3 ip address assigned to it.
regds
03-26-2007 03:49 AM
Mark
Edwin is correct that the interface you are trying to use is a layer 2 switch port. It is associated with a layer 3 SVI or VLAN and it is the layer 3 interface where you configure the IP address.
HTH
Rick
03-27-2007 06:17 AM
The physical interfaces are L2 compliant and wont accept IP addresses. The option you have is to configure a Switched Virtual Interface (SVI), and add the particular interface to that vlan. Please find sample configs below;
#
conf t
int vlan 2
ip address 10.1.1.1 255.255.255.0
!
int f0
switchport access vlan 2
please rate if this helps. Thanks.
04-06-2007 10:28 AM
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