1 00:00:00,780 --> 00:00:01,140 Now. 2 00:00:01,140 --> 00:00:03,360 How do switches learn about each other? 3 00:00:03,969 --> 00:00:11,350 As mentioned, bridge protocol data units or BPD use are sent out of all ports on switches by default 4 00:00:11,350 --> 00:00:14,400 every 2 seconds when running spanning tree. 5 00:00:14,410 --> 00:00:20,920 So switches will learn about each other when they receive BPD use from other switches on their ports. 6 00:00:21,220 --> 00:00:27,850 As an example, in this topology switch, one will know that there's a loop because it's receiving a 7 00:00:27,880 --> 00:00:33,490 BPD due from switch two on port two as well as port three. 8 00:00:33,580 --> 00:00:40,900 So BPD use from a switch with the same bridge ID are received on multiple ports and thus switch. 9 00:00:40,900 --> 00:00:45,850 One knows that there's a loop between itself and switch two in the same way. 10 00:00:45,850 --> 00:00:52,720 Switch two knows that there's a loop because it receives BPD use from switch one on both Port one and 11 00:00:52,720 --> 00:00:53,740 port three. 12 00:00:54,010 --> 00:00:59,910 In other words, it's receiving BPD use from the same switch on multiple ports. 13 00:00:59,920 --> 00:01:01,660 Hence there must be a loop. 14 00:01:02,680 --> 00:01:08,260 Now, BP does contain lots of information, and I'll demonstrate that in a moment. 15 00:01:08,910 --> 00:01:15,990 One of the pieces of information that a BPU contains is the bridge ID of the sending switch. 16 00:01:16,290 --> 00:01:21,540 A spending tree bridge ID is an eight byte of value unique to the switch. 17 00:01:21,810 --> 00:01:28,920 It consists once again of a two byte priority field and a six byte system ID, with the system ID being 18 00:01:28,920 --> 00:01:32,070 based on the burnt in Mac address of the switch. 19 00:01:32,460 --> 00:01:41,960 So in other words, the bridge ID consists of the property 32768 by default in decimal or 8000 in hexadecimal. 20 00:01:41,970 --> 00:01:44,130 And the MAC address of the switch. 21 00:01:45,110 --> 00:01:51,770 That means that the bridge ID is going to be unique in spending tree so bpd use contain information 22 00:01:51,770 --> 00:01:59,540 about spending tree switches send BPD use using their unique mac address to a destination multicast 23 00:01:59,540 --> 00:02:15,470 address of zero one ATC 2000000 or if using per VLAN spanning tree 01000c cc cc cd they have three kinds 24 00:02:15,470 --> 00:02:22,850 of BPD use a configuration BPU which is used by spending tree to provide information to switches, a 25 00:02:22,850 --> 00:02:31,040 topology change BPU to tell switches of a change and an acknowledgement BPU which is used to confirm 26 00:02:31,040 --> 00:02:37,340 the receipt of a topology change notification beads are sent by default every 2 seconds once again.