switchport down

Unanswered Question
Sep 10th, 2007


i have a switch and i want that if somebody connect another switch to my switch, the switchport connected to second switch down.


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
jamesmpoplar Mon, 09/10/2007 - 07:01

You could have your switchport just shutdown if it sees more than one MAC, for instance:

interface FastEthernet0/2

switchport mode access

switchport port-security

switchport port-security violation shutdown

spanning-tree portfast

spanning-tree bpduguard enable

And for good measure, the end makes sure that if there is any STP traffic, it blocks it as well.


This Discussion