Cisco Support Community
Community Member

cisco 2950 catalyst

need help, what configuration should i put to my cat 2950 if I connect a hub of different network to its port.Also, to my router what additional config. will I put. please refer to my attachment for more details. thanks a million!


Re: cisco 2950 catalyst

HI Revilo,

I think you forgot to attach any attachment.

To come to your question if you are connecting your hub which belongs to different networks to switchport you need to assign your switchports into some vlans.

First create some vlans on your switch.

switch(config)#vlan database

switch(config-vlan)#vlan 2

switch(config-vlan)#vlan 3

once vlans are created fo to the specific interfaces

switch(config)#int fa0/1

switch(config-int)#switchport mode access

switch(config-int)#switchport access vlan 2

same way you can do for rest of the ports.

Also remember default setting for switchport is in vlan 1.



Community Member

Re: cisco 2950 catalyst

thanks, here's the attachment. How about to my router? what additional config would I add?

thanks again!

Re: cisco 2950 catalyst

Hi Revillo,

Looking at your attachment it seems that you want to have comminication between your vlans or different networks.

If I am right you have to configure inter vlan routing on your router.

Router config

router(config)#int fa0/1.1

router(config-subint)#ip add

router(config-subint)#encapsulation dot1q

router(config-subint)#int fa0/1.2

router(config-subint)#ip add

router(config-subint)#encapsulation dot1q

Make sure that switch port connected to router has this config

switch(config)#int fa0/10

switch(config-int)#switchport trunk encapsulation dot1q

switch(config-int)#switchport mode trunk

HTH, if yes please rate the post.


Community Member

Re: cisco 2950 catalyst

excellent thanks a lot!

CreatePlease to create content