Advertisement
cuzor

Untitled

May 3rd, 2024
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. Core switch:
  2. ------------
  3.  
  4. interface config good:
  5.  
  6. interface Gi1/0/5
  7. channel-group 7 mode active
  8. switchport mode trunk
  9. no lldp transmit
  10. lldp transmit-tlv port-desc sys-name sys-desc sys-cap
  11. lldp transmit-mgmt
  12. no lldp med
  13. exit
  14.  
  15. Interface config bad:
  16.  
  17. interface Gi1/0/22
  18. channel-group 24 mode active
  19. switchport mode trunk
  20. no lldp transmit
  21. lldp transmit-tlv port-desc sys-name sys-desc sys-cap
  22. lldp transmit-mgmt
  23. no lldp med
  24. exit
  25.  
  26. Port channel 7 config:
  27.  
  28. interface port-channel 7
  29. spanning-tree tcnguard
  30. switchport mode trunk
  31. exit
  32.  
  33. Port channel 24 config:
  34.  
  35. interface port-channel 24
  36. spanning-tree tcnguard
  37. no spanning-tree auto-portfast
  38. switchport mode trunk
  39. exit
  40.  
  41.  
  42. Config Access switch 7 (core learns macs from this one):
  43. ---------------------------------------------------------
  44.  
  45. interface GigabitEthernet1/1/1
  46. switchport mode trunk
  47. switchport nonegotiate
  48. channel-group 1 mode active
  49. !
  50.  
  51. interface GigabitEthernet2/0/16 (a device is connected to this port)
  52. !
  53.  
  54. interface Port-channel1 (link to core)
  55. switchport mode trunk
  56. switchport nonegotiate
  57. !
  58.  
  59. Config Access switch 24 (core does not learn macs from this one):
  60. -----------------------------------------------------------------
  61. interface GigabitEthernet1/0/45
  62. description link to csw_capa
  63. switchport mode trunk
  64. switchport nonegotiate
  65. channel-group 6 mode active
  66.  
  67. interface GigabitEthernet1/0/41 (a device is connected to this port)
  68. !
  69. interface GigabitEthernet2/0/45 (link to core switch)
  70. switchport mode trunk
  71. switchport nonegotiate
  72. channel-group 6 mode active
  73.  
  74. interface Port-channel6
  75. switchport mode trunk
  76. switchport nonegotiate
  77. spanning-tree link-type point-to-point
  78.  
  79.  
  80. output show trunk on access switch 24:
  81. Port Mode Encapsulation Status Native vlan
  82. Po6 on 802.1q trunking 1
  83.  
  84. Port Vlans allowed on trunk
  85. Po6 1-4094
  86.  
  87. Port Vlans allowed and active in management domain
  88. Po6 1,100-105,108-110
  89.  
  90. Port Vlans in spanning tree forwarding state and not pruned
  91. Po6 1,100-105,108-110
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement