05-19-2011 12:05 AM - edited 03-06-2019 05:08 PM
Cisco 857 router has 4 ports
and I would like to configure multiple subnets in different interfaces in cisco 857
It seems to be 2 options to achieve this L2 ports to make it work as L3 port below.
If the port can be L2 or L3 then
config t
no switchport
ip addresss
If it is only L2 port then
int vlanZ
ip address ....
int X
switchport access vlan Z
However, in my try, neither "no switchport" nor "switchport access vlan Z" is working.
my show version result iis below. would you please tell me how to configure L2 port into L3 port for my router
yourname#show version
Cisco IOS Software, C850 Software (C850-ADVSECURITYK9-M), Version 12.4(15)T14, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 18-Aug-10 02:37 by prod_rel_team
ROM: System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
yourname uptime is 12 minutes
System returned to ROM by power-on
System image file is "flash:c850-advsecurityk9-mz.
Solved! Go to Solution.
05-19-2011 01:24 AM
Hi,
It doesn't support to do what you want. You need cisco 870 series to do so.
Ref: http://www.cisco.com/en/US/docs/routers/access/800/850/software/configuration/guide/dhcpvlan.html
However, If you just want to differentiate users and don't care about the broadcast domain and security policy won't be applied on gateway, you can use "secondary ip address" on interface-vlan 1".
HTH,
Toshi
05-19-2011 12:44 AM
Hi,
However, in my try, neither "no switchport" nor "switchport access vlan Z" is working.
AFAIK you can't configure VLANs on a 857 and the switch ports are L2 only.
Regards.
Alain.
05-19-2011 01:13 AM
I can assign ip address to vlan,
int vlanZ
ip address ....
int X
but What i can not do is switchport command to assign this vlan to the port.
Is there anyway to construct different subnetwork in different port with this router?
because it is the whole point why I bought this router.
05-19-2011 12:55 AM
Hi,
Please try add another vlan in vlan database.
R857#vlan database
R857(vlan)#vlan 2
If it's not allowed you to create more than 1 vlan in DB. This router won't support "switchport access vlan". Cisco877 can add more than 1 vlan I used to do it. I think that "no switchport" command doesn't support on this platform.
HTH,
Toshi
05-19-2011 01:13 AM
I can assign ip address to vlan,
int vlanZ
ip address ....
int X
but What i can not do is switchport command to assign this vlan to the port.
Is there anyway to construct different subnetwork in different port with this router?
because it is the whole point why I bought this router.
05-19-2011 01:24 AM
Hi,
It doesn't support to do what you want. You need cisco 870 series to do so.
Ref: http://www.cisco.com/en/US/docs/routers/access/800/850/software/configuration/guide/dhcpvlan.html
However, If you just want to differentiate users and don't care about the broadcast domain and security policy won't be applied on gateway, you can use "secondary ip address" on interface-vlan 1".
HTH,
Toshi
05-30-2011 06:20 AM
Je vous remercie de votre conseil toshi. je vais essayer ca et je vous dirai le resultat.
05-30-2011 03:12 PM
850 will support only ONE (1) VLAN.
The 870 (depending on what IOS version your running) will support either TWO (2) or TEN (10) VLANs.
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