0
اتصال با پورتی دیگر
سلام
من پورت های سوئیچ 2960 رو اینطوری کانفیگ کردم.یک سیستم مثلا به پورت 4 وصله و داره کار میکنه و مشکلی نداره کابل رو از 4 بر میدارم و میزارم روی یه پورت دیگر مثل 5
ولی unplug میزنه بدون اینکه پورت shutdown باشه.
interface GigabitEthernet0/4 switchport access vlan 100 switchport mode access switchport nonegotiate switchport port-security maximum 3 switchport port-security switchport port-security violation protect switchport port-security mac-address sticky switchport port-security mac-address sticky xxxx.xxxx.xxxx no cdp enable spanning-tree portfast spanning-tree bpduguard enable
3 پاسخ
0
خودم آخرش به خودم جواب دادم مگه چیه :)
0
show interface GigabitEthernet0/4
اینجا بزار لطفا
0
به علت وجود دستور
switchport port-security violation protect switchport port-security mac-address sticky switchport port-security mac-address sticky xxxx.xxxx.xxxx
تا وقتی که mac سیستم در یک پورت رجیستر شده باشه در پورت دیگه قابلیت up شدن نداره.
دستور زیر را بزنید:
clear port-security sticky interface gigabitEthernet0/4
مشکل شما حل میشه
اگر دستورات ریکاوری رو زدین که هیچ وگرنه باید shutdown and no shut down رو هم انجام بدین.
مستندات:
switchport port-security violation { protect | restrict | shutdown } protect: Drops all the packets from the insecure hosts at the port-security process level but does not increment the security-violation count. restrict: Drops all the packets from the insecure hosts at the port-security process level and increments the security-violation count. shutdown: Shuts down the port if there is a security violation.