Moblie

Tuesday, June 9, 2009

Port Security on Switch

The port security standard configuration on switch. Its the Industry standard configuration on switches. The port will block or disable if any broadcast happen in the Local Area Network..

Example of switch configuration in LAN .
******************** Switch Config ******************
conf t
interface FastEthernet0/1
description **** CONNECTED TO ROUTER ****
!
interface FastEthernet0/2
switchport mode access
spanning-tree portfast
spanning-tree bpduguard enable
description **** CONNECTED TO XYZ SERVER ****
switchport port-security violation protect
storm-control broadcast level 50.50
storm-control multicast level 50.50
!
interface range FastEthernet0/2 - 23
switchport mode access
spanning-tree portfast
spanning-tree bpduguard enable
switchport port-security violation protect
storm-control broadcast level 50.50
storm-control multicast level 50.50
!
interface FastEthernet0/24
description **** CONNECTED TO Switch 2****
switchport port-security violation protect
udld port aggressive
switchport mode trunk
spanning-tree guard loop

!
end
*************************************************************

No comments:

Post a Comment