09-29-2004 08:24 AM - edited 03-02-2019 06:52 PM
I have two sites on my campus - A and B. I have a catalyst 2950 at each site connected by fibre. How do I configure a port on site B's switch to only comunicate with one port on site A's switch?
Thanks
RN
09-29-2004 08:42 AM
Well if you have the switches connected via ethernet and don't have any VLAN's setup, than the default will be all ports will see each other.
09-29-2004 08:46 AM
When you have only two clients nothings is to do. But this would not be normal;-))
Lets us assume that you have several clients on site a and b. Client 1 /site a should connect to client 2 / site B. The you configure on the port connected to the clients this:
conf t
vlan 2
name Datavlan
exit
inte fastethernet 0/1
switchport
switcport access vlan 2
switchport mode access
end
wr t
The connection between the client could configured as trunk:
Switch# configure terminal
Switch(config)# interface fastethernet0/4
Switch(config-if)# switchport mode dynamic desirable
Switch(config-if)# end
Set all interface to no shut and you can works.
When you want you can more vlans on both sites:
Switch# configure terminal
Switch(config)# vlan 20
Switch(config-vlan)# name test20
Switch(config-vlan)# end
end
That you don't must create the vlans on both sites do this:
Switch A:
Switch# config terminal
Switch(config)# vtp mode server
Switch(config)# vtp domain name_vtp_domain
Switch(config)# end
Site B:
Switch# config terminal
Switch(config)# vtp mode client
Switch(config)# vtp domain name_vtp_domain
Switch(config)# end
A complete overview about the configuration steps and the explaining you will find here:
Regards
Peter
09-29-2004 12:10 PM
Thanks Flunkert,
The whole story...
Site B has a internet connection that I would like to pipe to site A where our PIX resides. So I would need just one port at site B to communicate with just one port at Site A. These two ports should only be able to communicate with each other and that is it.
Does the above config do this for me?
Thanks
RN
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