Showing posts with label Cisco. Show all posts
Showing posts with label Cisco. Show all posts

11/08/2019

Switch Cisco SG350-28 28-Port

Switch พ่วง Switch แล้วใช้งานไม่ได้ Error (*** รอ Test ***)
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC d0:2b:20:a4:e7:54 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked


เนื่องจาก Port Lock เพราะ Switch Cisco มีโหมดเรียนรู้ และ Lock Port เพื่อให้มีความปลอดภัยใช้งานได้ใน Mac Address ที่จำกัด โดย Default Port ที่ตั้ง Lock ไว้ให้ผ่านแค่ 10 Mac Address
ทำให้บางเครื่องผ่านได้ใน 10 Mac Address ที่ได้ไปก่อน นอกนั้นจะผ่านไม่ได้ และมี Warning เตือน เพราะเอา Switch ไปพ่วงกันจะมีหลาย Mac Address ที่วิ่งผ่าน Port ที่ใช้ พ่วง ไป Switch ตัวอื่น ทำให้ Ports นั้น Lock และ Mac ที่เกิน 10 ก็จะใช้งานไม่ได้
วิธีแก้
เปลี่ยน Post ที่ใช้เชื่อมโยงระหว่าง Switch ให้รองรับ Mac Address มากขึ้น เช่น 256
เข้าไปที่
Security --> Port Security --> เลือก Port ที่ใช้พ่วงระหว่าง Switch --> Edit
ติ๊ก Interface Status Lock ออก
แล้วแก้ Max No. of Addresses Allowed จาก 10 เป็น 256 แล้วกด Apply
https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-200-series-managed-switches/smb85-port-security-configuration-on-the-200-300-series-managed-sw.html



https://sichedelic.wordpress.com/2011/01/02/port-security-by-default-opps/

Mode Ports Security : หน้า 130

Switch Cisco มีปัญหา ไม่ส่งสัญญาณไปที่ Switch ตัวอื่น

Switch Cisco มีปัญหา Ports Switch ปิดตัวเองใช้งานไม่ได้ เมื่อมีการโยกสายเปลี่ยนสาย ตอนที่เปิดเครื่อง
ทำให้ Ports บาง Ports ถูกปิดใช้งานไม่ได้ โยงไปหา Switch ตัวอื่นก็ทำให้ตัวอื่นใช้งานไม่ได้เช่นกัน
เกิดจาก ตัว Switch เปิดโหมด Spanning tree State ไว้
ถ้าเปิดโหมดนี้ไว้แล้วสายไหนที่พ่วงเข้ากับ Swich ตัวอื่น หรือ Server แล้วมีการโยกสายไปต่อ Ports อื่น จะทำให้ Ports เดิมใช้งานไม่ได้
ที่ Ports จะฟ้อง Down (BPDU Guard) ตามรูป
ถ้าเปิดโหมดแล้ว สลับสาย Lan ที่ต่อกับ Switch ตัวอื่นไปมา ก็จะเป็นอีก Ports นั้นจะขึ้น Down (BPDU Guard) และใช้งานไม่ได้
วิธีแก้ ถ้าเป็นแบบนี้
1. ปิด Spanning Tre State แล้ว Apply
2. ไปที่ spanning Tree --> STP Interface Settings
เลือก Ports ที่มีปัญหา สัยเกตุ BPDU Guard จะเป็น Guarding
เลือก Edit ด้านล่าง
แก้ BPDU Guard จะติ๊ก Enable ไว้ให้ติ๊กออก แล้วกด Apply
3. กดเลือก Port Management --> Error Recovery Settings แล้ว ติ๊กเลือก Interface ที่ มี STP BDU Guard แล้วกด Reactivate ตามรูป
4. เข้าไปที่ Port Settings Ports ที่ใช้งานไม่ได้ก็จะใช้ได้ เอาสาย Lan ต่อเข้าจะใช้งานได้
ถ้าติ๊กปิด STP ไปแล้วตามข้อ 1 ก็จะสามารถโยกสาย Lan เปลี่ยน Ports สลับไปมาได้