- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 12:30 AM - edited 03-07-2019 02:11 AM
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
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 12:51 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 12:37 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 12:42 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2019 10:20 PM
Hi vipin
Make sure the switch model. you can try # set system mode route it will work.
Regards
Ashish kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 12:51 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 01:51 AM
Hi Naidu,
Thank you very much........It is working.........
Thanks
Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011 01:53 AM
Hi Vipin,
Glad my post helped you...Keep posting CSC
Please rate the helpful posts.
Regards,
Naidu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2019 10:14 PM
Thanks & Regards
Ashish Kumar
