Advertisement
Guest User

Switches example

a guest
Mar 15th, 2023
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. =-----+ +-------+ +-------+ +-------+ +-----+
  2. | PC1 |---|a Sw1 b|---|a Sw2 b|---|a Sw3 b|---| PC2 |
  3. +-----+ +-------+ +-------+ +-------+ +-----+
  4.  
  5. - If PC2 MAC address is not in Sw1 MAC table, it must flood the first frame destined to PC2 out of all connected interfaces
  6. - If PC2 MAC address is in Sw1 MAC table, it forwards frames destined to PC2 out of port b
  7. - When PC2 MAC address ages out, it's removed from MAC table and Sw1 must again flood the first frame
  8. - If all switches are running LLDP or CDP, Sw1 can know something about the capabilities of Sw2
  9. - Sw1 has no means of knowing anything about the capabilities of Sw3 or PC2
  10. - If Sw2 isn't running LLDP or CDP, Sw1 knows nothing about its capabilities either
  11.  
  12.  
  13. Examples from Sw1 (Cisco 2960) CDP and LLDP info when Sw2 is running both:
  14.  
  15. Switch#show lldp neighbors
  16. Capability codes:
  17. (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
  18. (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
  19. Device ID Local Intf Hold-time Capability Port ID
  20. Switch Fa0/1 120 B Fa0/1
  21.  
  22. Total entries displayed: 1
  23.  
  24.  
  25. Switch#show cdp neighbors
  26. Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
  27. S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
  28. Device ID Local Intrfce Holdtme Capability Platform Port ID
  29. Switch Fas 0/1 168 S 2960 Fas 0/1
  30.  
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement