switchport port-security violation
- 機種
- Switch(K)
- モード
- Interface(M)
- デフォルト
- shutdown
- IOS
- 12.2(14)SX
- 試験レベル
- BCMSN
- 構文
- switchport port-security violation {shutdown | restrict | protect}
- 使用例
Switch#show port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) --------------------------------------------------------------------------- Fa0/3 1024 1 0 Shutdown --------------------------------------------------------------------------- Total Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 5120 Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int fa0/3 Switch(config-if)#switchport port-security violation ? protect Security violation protect mode restrict Security violation restrict mode shutdown Security violation shutdown mode Switch(config-if)#switchport port-security violation protect Switch(config-if)#end Switch#sh port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) --------------------------------------------------------------------------- Fa0/3 1024 1 0 Protect --------------------------------------------------------------------------- Total Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 5120 Switch#
- 解説
- 該当インターフェースでセキュリティ違反が発生した際の動作モードを指定します。
コマンド | 意味 |
shutdown | 該当インターフェースでセキュリティ違反が発生した際、即座にエラーディセーブルにします。 |
restrict | 該当インターフェースでセキュリティ違反が発生してもダウンに状態にはならない代わりに、違反を起こしたMACアドレスからのパケットは全て破棄される。 |
protect | restrict同様、違反が発生してもダウン状態にはならない。違反を起こしたアドレスからのパケットは破棄されるが、違反の記録は一切残らない。 |
- Tips
- タグ
- Security
Counter: 6601,
today: 1,
yesterday: 1
最終更新: 2009-08-04 (火) 16:03:21 (JST) (5385d) by staff_mita