Re: Cisco 1811 Router VLAN Question

Re: Cisco 1811 Router VLAN Question

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Re: Cisco 1811 Router VLAN Question Scott 05-23-2008
Posted by Scott on May 23, 2008, 3:49 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
The 1811 supports up to 8 VLANS.

switch(config)#vlan 2
switch(config-vlan)#name VLAN2
switch(config-vlan)#int fa 2
switch(config-if)#switchport access vlan 2
switch(config-if)#ip address 10.10.3.1 255.255.255.0

Verify which ports are assigned to which vlan
switch#sh vlan

Posted by Tom on May 23, 2008, 6:57 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
> The 1811 supports up to 8 VLANS.
>
> switch(config)#vlan 2
> switch(config-vlan)#name VLAN2
> switch(config-vlan)#int fa 2
> switch(config-if)#switchport access vlan 2
> switch(config-if)#ip address 10.10.3.1 255.255.255.0
>
> Verify which ports are assigned to which vlan
> switch#sh vlan

Interesting...I had tried this before, but it seem not to work
properly. Also the command "show vlan" fails with ambigous command,
but I can go to vlan database and type show and see the vlans.

How do I know which port vlan 2 is assigned??? For example, will it
be assigned to f2, f3?...I would think f2 would need to somehow be
associated with vlan 2??? For example, if I want to assign 10.10.4.1
to f3 using vlan 3, how does the router associate that port with
vlan3...etc...

Thanks:)

Posted by Trendkill on May 24, 2008, 8:45 am
If you were  Registered and logged in, you could reply and use other advanced thread options
>
> > The 1811 supports up to 8 VLANS.
>
> > switch(config)#vlan 2
> > switch(config-vlan)#name VLAN2
> > switch(config-vlan)#int fa 2
> > switch(config-if)#switchport access vlan 2
> > switch(config-if)#ip address 10.10.3.1 255.255.255.0
>
> > Verify which ports are assigned to which vlan
> > switch#sh vlan
>
> Interesting...I had tried this before, but it seem not to work
> properly. =A0Also the command "show vlan" fails with ambigous command,
> but I can go to vlan database and type show and see the vlans.
>
> How do I know which port vlan 2 is assigned??? =A0For example, will it
> be assigned to f2, f3?...I would think f2 would need to somehow be
> associated with vlan 2??? =A0For example, if I want to assign 10.10.4.1
> to f3 using vlan 3, how does the router associate that port with
> vlan3...etc...
>
> Thanks:)

Two very different things. Putting a port as an access port in vlan 3
immediately makes it a switched port. Which means that whatever you
connect to that router must be addressed in vlan 3's subnet, but the
router will not have an IP on that port. On a l3 switch, show vlan
will tell you what ports are in what vlans, you just need to find the
proper command for this router. Now, if you want to create vlans and
then assign them to layer 2 ports, this kind of eliminates the need to
have a routed port in the same vlan. The SVI is the gateway for the
subnet, and your routed ports are used for building a neighbor/
relationship with another router to advertise whatever subnets or
vlans are off the 1811. Either way, you should not have a case where
you are assigning an IP to a switched port. You are assigning an IP
to a SVI and putting ports in that vlan so that nodes connected to it
can use that subnet/gateway.

'Show int f0/2 switchport' or one of those might work perhaps for your
show vlan question? I have never used the smaller cisco routers, but
that is a command string on a l3 switch that shows a lot of
information about trunks, etc.

Posted by on May 26, 2008, 1:48 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
>
>
>
>
>
>
> > > The 1811 supports up to 8 VLANS.
>
> > > switch(config)#vlan 2
> > > switch(config-vlan)#name VLAN2
> > > switch(config-vlan)#int fa 2
> > > switch(config-if)#switchport access vlan 2
> > > switch(config-if)#ip address 10.10.3.1 255.255.255.0
>
> > > Verify which ports are assigned to which vlan
> > > switch#sh vlan
>
> > Interesting...I had tried this before, but it seem not to work
> > properly. =A0Also the command "show vlan" fails with ambigous command,
> > but I can go to vlan database and type show and see the vlans.
>
> > How do I know which port vlan 2 is assigned??? =A0For example, will it
> > be assigned to f2, f3?...I would think f2 would need to somehow be
> > associated with vlan 2??? =A0For example, if I want to assign 10.10.4.1
> > to f3 using vlan 3, how does the router associate that port with
> > vlan3...etc...
>
> > Thanks:)
>
> Two very different things. =A0Putting a port as an access port in vlan 3
> immediately makes it a switched port. =A0Which means that whatever you
> connect to that router must be addressed in vlan 3's subnet, but the
> router will not have an IP on that port. =A0On a l3 switch, show vlan
> will tell you what ports are in what vlans, you just need to find the
> proper command for this router. =A0Now, if you want to create vlans and
> then assign them to layer 2 ports, this kind of eliminates the need to
> have a routed port in the same vlan. =A0The SVI is the gateway for the
> subnet, and your routed ports are used for building a neighbor/
> relationship with another router to advertise whatever subnets or
> vlans are off the 1811. =A0Either way, you should not have a case where
> you are assigning an IP to a switched port. =A0You are assigning an IP
> to a SVI and putting ports in that vlan so that nodes connected to it
> can use that subnet/gateway.
>
> 'Show int f0/2 switchport' or one of those might work perhaps for your
> show vlan question? =A0I have never used the smaller cisco routers, but
> that is a command string on a l3 switch that shows a lot of
> information about trunks, etc.- Hide quoted text -
>

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
sw mode access ! may or may not be needed
sw access vl 2

interface FastEthernet3
sw 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.

Good luck.




Posted by Tom on May 27, 2008, 11:11 am
If you were  Registered and logged in, you could reply and use other advanced thread options
On May 26, 1:48=A0pm, Bo...@hotmail.co.uk wrote:
>
>
>
>
>
> > > > The 1811 supports up to 8 VLANS.
>
> > > > switch(config)#vlan 2
> > > > switch(config-vlan)#name VLAN2
> > > > switch(config-vlan)#int fa 2
> > > > switch(config-if)#switchport access vlan 2
> > > > switch(config-if)#ip address 10.10.3.1 255.255.255.0
>
> > > > Verify which ports are assigned to which vlan
> > > > switch#sh vlan
>
> > > Interesting...I had tried this before, but it seem not to work
> > > properly. =A0Also the command "show vlan" fails with ambigous command,=

> > > but I can go to vlan database and type show and see the vlans.
>
> > > How do I know which port vlan 2 is assigned??? =A0For example, will it=

> > > be assigned to f2, f3?...I would think f2 would need to somehow be
> > > associated with vlan 2??? =A0For example, if I want to assign 10.10.4.=
1
> > > to f3 using vlan 3, how does the router associate that port with
> > > vlan3...etc...
>
> > > Thanks:)
>
> > Two very different things. =A0Putting a port as an access port in vlan 3=

> > immediately makes it a switched port. =A0Which means that whatever you
> > connect to that router must be addressed in vlan 3's subnet, but the
> > router will not have an IP on that port. =A0On a l3 switch, show vlan
> > will tell you what ports are in what vlans, you just need to find the
> > proper command for this router. =A0Now, if you want to create vlans and
> > then assign them to layer 2 ports, this kind of eliminates the need to
> > have a routed port in the same vlan. =A0The SVI is the gateway for the
> > subnet, and your routed ports are used for building a neighbor/
> > relationship with another router to advertise whatever subnets or
> > vlans are off the 1811. =A0Either way, you should not have a case where
> > you are assigning an IP to a switched port. =A0You are assigning an IP
> > to a SVI and putting ports in that vlan so that nodes connected to it
> > can use that subnet/gateway.
>
> > 'Show int f0/2 switchport' or one of those might work perhaps for your
> > show vlan question? =A0I have never used the smaller cisco routers, but
> > that is a command string on a l3 switch that shows a lot of
> > information about trunks, etc.- Hide quoted text -
>
> 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
> sw mode access =A0! may or may not be needed
> sw access vl 2
>
> interface FastEthernet3
> sw mode access =A0! 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.
>
> Good luck.

Thank everyone for the great feedback and comments!! Really
appreciated!

Similar ThreadsPosted
how to config cisco router 1811, adsl and cablemodem June 4, 2008, 7:29 pm
Question regarding the 1811 May 24, 2007, 7:48 am
2821/1811 Interface Question December 21, 2006, 10:25 am
Switch ports on a 1811 router October 24, 2006, 5:29 pm
cisco 1811 June 1, 2006, 2:36 pm
Cisco 1811 August 7, 2006, 11:24 am
cisco 1811 September 11, 2007, 11:33 pm
Cisco 1811: V.92 configuration November 29, 2005, 5:58 am
Cisco 1811 configs May 9, 2006, 10:10 am
Cisco 1811 with multiple Vlans and internet interfaces February 6, 2006, 4:44 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map