Telegram - ?

4

! , Port-Security , Cisco.

, Port-Security. Port-Security , . MAC-.

, MAC-. , MAC-, .


Port-Security

port-security:

  • MAC- MAC-, , switchport port-security mac-address [MAC-] . MAC-, , .
  • MAC- - MAC-, . MAC-, , .
  • Sticky MAC- - MAC-, , .


Sticky MAC-

port-security sticky MAC-, , sticky . switchport port-security mac-address sticky .

, MAC- ( , , sticky ) sticky MAC-. sticky MAC- .

sticky . sticky MAC- switchport port-security mac-address sticky [MAC-], .

sticky MAC- , . sticky , .

sticky no switchport port-security mac-address sticky , , .

Sticky port-security

, port-security , , - switchport port-security


:

  • MAC- , , MAC- , .
  • , , VLAN.

:

  • Protect - MAC- , , , MAC- . .
  • Restrict , Protect, .
  • Shutdown , . . (error-disabled), shutdown no shutdown .

, port-security violation {protect | restrict |shutdown} .

syslog
Protect

Restrict
Shutdown

:

Switch#interface fa0/1      
Switch(config-ig)#switchport mode access    access
Switch(config-ig)#switchport port-security   port-security
Switch(config-ig)#switchport port-security maximum 50       
Switch(config-ig)#switchport port-security mac-address sticky   sticky 

port-security switchport port-security , , sticky , shutdown.


port-security show port-security [_] .

MAC- show port-security address.


?