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

C881 - Setting a L2 port to L3

E.Zilio
Level 1
Level 1

Hi;

I have to configure a C881 to use in addition to the WAN port (the WAN port will be connected to a hub switch that will go to an MPLS network to an ISP) plus another port as the client's LAN access.

It turns out that with the exception of the WAN port, the others I cannot provide an IP - a warning appears (for example, Fast Ethernet 0):

ROUTER-1 (config-if) #ip add 189.20.198.97 255.255.255.248
% IP addresses may not be configured on L2 links.

How do I make an L2 port work as L3?

Greetings

Emerson Zilio

1 Accepted Solution

Accepted Solutions
2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

If this switch module then it will be Layer 2 only - you can do below :

 

interface FastEthernet2    - change the interface you like to configure
switchport access vlan  12    - change the vlan number you required

no shut

!

interface  vlan  12
ip add 189.20.198.97 255.255.255.248
no shut

 

 

Other option may not be required, 

 

interface FastEthernet2 

no switchport  -- this makes Layer 2 Layer 3 port - so you can allocate IP address

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks a lot!