[ale] C2900

Jimmy Oliver jimmyoliver at gmail.com
Sat Dec 18 12:49:01 EST 2004


Please see my corrections below.. I left out/combined a command


On Sat, 18 Dec 2004 11:15:31 -0500, Jimmy Oliver <jimmyoliver at gmail.com> wrote:
> Hi,
> This switch does support vlans.  They are very easy to setup.  Follow
> these steps to create a vlan named foo with and id of 500 and add a
> port to the vlan.
> To show the existing vlan config do a
> switch# show vlan brief
> To create a vlan do a
> switch#configure terminal
> switch(config)#vlan 500
> switch(config-vlan)#name foo
> switch(config-vlan)#interface fastethernet 0/5

***************************************************************
> switch(config-if)#switchport mode access vlan 500    

*************************************************************
Change this to 
switch(config-if)#switchport mode access 
switch(config-if)#switchport access vlan 500


> switch(config-if)#end
> switch#show vlan brief
> This should show something like
> VLAN Name                             Status    Ports
> ---- -------------------------------- --------- -------------------------------
> 500  foo                              active    Fa0/5
> 1002 fddi-default                     active
> 1003 token-ring-default               active
> 1004 fddinet-default                  active
> 1005 trnet-default                    active
> 
> (**note that I have omitted some vlans from my exampler**)
> 
> Then to add more ports to the vlan just repeat the commands, Just
> substitute the 0/5 for whatever port you want to add to the vlan
> switch#configure terminal
> switch(config-vlan)#interface fastethernet 0/5
> switch(config-if)#switchport mode access vlan 500
> switch(config-if)#end
> 
> Hope this helps,
> -Jimmy
> 
> ----------------------------------
> Jimmy Oliver aka jimbo
> http://www.gojimbo.com
> email:  jimbo at gojimbo.com
> lists:  jimmyoliver at gmail.com
> 


-- 
________________________
Jimmy Oliver aka jimbo
http://www.gojimbo.com
email:  jimbo at gojimbo.com
lists:  jimmyoliver at gmail.com



More information about the Ale mailing list