VLAN How to share between two switches

Sep 04, 2006 1 Replies

Hello



My question is i have two switches 1900



senario is like this



each 1 switch have 12 host both switch are connected to each other


1 switch that is 1900A

PSM PSM PSM PSM F0/26



second one is having



MSP MSP MSP MSP F0/27



p=purchase s=sales m=marketing



Now my question is i used static



here is my config



vlan 2 name P vlan 3 name S vlan 4 name M



int e0/1 vlan-membership static 2 int e0/2 vlan-membership static 3 int e0/3 vlan-membership static 4 int e0/4 vlan-membership static 2



.........contd



vtp server vtp domain cisco vtp password cisco1 etc int f0/26 trunk on



etc


now what to do with switch be. I heard that it will automatically(the server) will send vtp messages to client so what i have to do is



1 name vlan
2 add ports to vlan than what else ?

Please guide me so that i can do it by my self also i use boson and netvisualizer for testing this (demo)



boson sim copied sh run and sh vtp

1912A#sh vtp VTP version: 1 Configuration revision: 0 Maximum VLANs supported locally: 1005 Number of existing VLANs: 8 VTP domain name : something VTP Password : cisco VTP operating mode : Server VTP pruning mode : Enabled VTP traps generation : Disabled Configuration last modified by: 0.0.0.0 at 00-00-0000 00:00:00

1912A#sh run Building configuration... Current configuration: ! ! vtp domain "something" vtp pruning enable ! vlan 2 name purchase vlan 3 name sales vlan 4 name marketing ! ! ! ! hostname "1912A" ! ! ! ! ip address 172.16.10.60 255.255.255.0 ip default-gateway 172.16.10.1 ! ! ! ! ! ! ! ! ! interface Ethernet0/1

vlan-membership static 2 ! interface Ethernet0/2

vlan-membership static 3 ! interface Ethernet0/3

vlan-membership static 4 ! interface Ethernet0/4

vlan-membership static 2 ! interface Ethernet0/5

vlan-membership static 3 ! interface Ethernet0/6

vlan-membership static 4 ! interface Ethernet0/7

vlan-membership static 2 ! interface Ethernet0/8

vlan-membership static 3 ! interface Ethernet0/9

vlan-membership static 4 ! interface Ethernet0/10

vlan-membership static 2 ! interface Ethernet0/11

vlan-membership static 3 ! interface Ethernet0/12

vlan-membership static 4 ! interface FastEthernet0/26

! ! trunk On ! interface FastEthernet0/27

! ! line console ! End

switch b

1912A#sh vtp VTP version: 1 Configuration revision: 0 Maximum VLANs supported locally: 1005 Number of existing VLANs: 8 VTP domain name : something VTP Password : cisco VTP operating mode : Server VTP pruning mode : Enabled VTP traps generation : Disabled Configuration last modified by: 0.0.0.0 at 00-00-0000 00:00:00

1912A#sh run Building configuration... Current configuration: ! ! vtp domain "something" vtp pruning enable ! vlan 2 name purchase vlan 3 name sales vlan 4 name marketing ! ! ! ! hostname "1912A" ! ! ! ! ip address 172.16.10.60 255.255.255.0 ip default-gateway 172.16.10.1 ! ! ! ! ! ! ! ! ! interface Ethernet0/1

vlan-membership static 2 ! interface Ethernet0/2

vlan-membership static 3 ! interface Ethernet0/3

vlan-membership static 4 ! interface Ethernet0/4

vlan-membership static 2 ! interface Ethernet0/5

vlan-membership static 3 ! interface Ethernet0/6

vlan-membership static 4 ! interface Ethernet0/7

vlan-membership static 2 ! interface Ethernet0/8

vlan-membership static 3 ! interface Ethernet0/9

vlan-membership static 4 ! interface Ethernet0/10

vlan-membership static 2 ! interface Ethernet0/11

vlan-membership static 3 ! interface Ethernet0/12

vlan-membership static 4 ! interface FastEthernet0/26

! ! trunk On ! interface FastEthernet0/27

! ! line console ! End

switchA is connect with switchB fa0/26--------------------fa0/27

Kindly help i want to know how will a host from a purchase vlan will connect to other switch (B)'s host which are in the purchse vlan.

Means

172.16.10.2> ping 172.16.10.16 and it should be successfull because they are in the same vlan

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required