cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
24750
Views
11
Helpful
7
Replies

L2 interface to L3 interface

vipinrajrc
Level 3
Level 3

Hi Experts,

Is it possible to convert a L2 interface to L3 interface????

Today i tried to configure IP address in 1811router. Interface fa6.

But it showed some error as "L2 interface is ot able to configure an IP address." I have enable "ip routing" in this router, but still same error message.

Is there anyway to do this????

Thanks

Vipin

Thanks and Regards, Vipin
1 Accepted Solution

Accepted Solutions

Hi Vipin,


The "switch modules in routers" vary a bit. I would guess that
yours might be like a one or two port router with a 9 port HWIC
ethernet module in it.

If it is you can do something like

create vlans 3, 4, 5, 6, 7, 8

interface FastEthernet2
switchport mode access ! may or may not be needed
switchport access vl 2

interface FastEthernet3
swit mode access ! may or may not be needed
sw access vl 3

int vl 2
ip address x.x.x.x
no shut

int vl 3
ip address y.y.y.y
no shut

You create vlans either with

conf t
vlan 2
vlan 3
end

or

vlan dat
vl 2
vl 3
exit

Latter roughly; may have forgotten.
You have to make a point of saving it anyway.
Think it may prompt.

On the 9 port HWIC it is not possible to
assign an IP address directly to a port.


Please rate the helpful posts.
Regards,
Naidu.

View solution in original post

7 Replies 7

cadet alain
VIP Alumni
VIP Alumni

Hi,

to convert a L2 port to a L3 port the command is no switchport under the interface then you can configure an ip address.

I'm not sure though that you can do this on the switch module on a 1811.

Regards.

Alain.

Don't forget to rate helpful posts.

Hi,

I Have tried it...

It is showing like incomplete commanad..

Please see the following output..... Which one should i select??? Right now that port is conncted to a switch......

1811(config-if)#no switchport
% Incomplete command.

1811(config-if)#no switchport ?
  access     Set access mode characteristics of the interface
  mode       Set trunking mode of the interface
  priority   Set 802.1p priorities
  protected  Configure an interface to be a protected port
  trunk      Set trunking characteristics of the interface
  voice      Voice appliance attributes

Thanks

Vipin

Thanks and Regards, Vipin

Hi vipin

Make sure the switch model. you can try # set system mode route it will work.

Regards

Ashish kumar

 

Hi Vipin,


The "switch modules in routers" vary a bit. I would guess that
yours might be like a one or two port router with a 9 port HWIC
ethernet module in it.

If it is you can do something like

create vlans 3, 4, 5, 6, 7, 8

interface FastEthernet2
switchport mode access ! may or may not be needed
switchport access vl 2

interface FastEthernet3
swit mode access ! may or may not be needed
sw access vl 3

int vl 2
ip address x.x.x.x
no shut

int vl 3
ip address y.y.y.y
no shut

You create vlans either with

conf t
vlan 2
vlan 3
end

or

vlan dat
vl 2
vl 3
exit

Latter roughly; may have forgotten.
You have to make a point of saving it anyway.
Think it may prompt.

On the 9 port HWIC it is not possible to
assign an IP address directly to a port.


Please rate the helpful posts.
Regards,
Naidu.

Hi Naidu,

Thank you very much........It is working.........

Thanks

Vipin

Thanks and Regards, Vipin

Hi Vipin,


Glad my post helped you...Keep posting CSC


Please rate the helpful posts.
Regards,
Naidu.

Yes, using #no switchport command you can make interface as L3 service. This command generally uses when we are going to configure ISP connection on sg350 switch.
Thanks & Regards
Ashish Kumar
Review Cisco Networking for a $25 gift card