- 差分 を表示
- ソース を表示
- Ciscoコマンド集/S/switchport port-security violation へ行く。
1: 2009-01-07 (水) 16:15:39 staff_mita | 現: 2009-08-04 (火) 16:03:21 staff_mita | ||
---|---|---|---|
Line 9: | Line 9: | ||
:モード| &tag(Interface(M)); | :モード| &tag(Interface(M)); | ||
- | :デフォルト|- | + | :デフォルト|shutdown |
- | + | ||
- | :IOS| | + | |
+ | :IOS|12.2(14)SX | ||
:試験レベル| &tag(BCMSN); | :試験レベル| &tag(BCMSN); | ||
Line 22: | Line 21: | ||
:使用例| | :使用例| | ||
+ | #pre(soft){{ | ||
+ | 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# | ||
+ | }} | ||
#footnotes(nohr); | #footnotes(nohr); | ||
- | :解説| | + | :解説|該当インターフェースでセキュリティ違反が発生した際の動作モードを指定します。~ |
- | //セキュリティ違反時の動作モードを指定 | + | |
+ | |コマンド|意味|h | ||
+ | |shutdown|該当インターフェースでセキュリティ違反が発生した際、即座にエラーディセーブルにします。| | ||
+ | |restrict|該当インターフェースでセキュリティ違反が発生してもダウンに状態にはならない代わりに、違反を起こしたMACアドレスからのパケットは全て破棄される。| | ||
+ | |protect|restrict同様、違反が発生してもダウン状態にはならない。違反を起こしたアドレスからのパケットは破棄されるが、違反の記録は一切残らない。| | ||
#footnotes(nohr); | #footnotes(nohr); | ||
Line 33: | Line 64: | ||
#footnotes(nohr); | #footnotes(nohr); | ||
- | :参考リンク|[[Google検索>Google検索:"switchport port-security violation" ( cisco | ccna | ccnp | ccie ) -"cisco-records" -"ISBN" -"ISBN4"]] | + | :参考リンク|[[ネットワークエンジニアとして switchport port-security>http://www.infraexpert.com/study/portbase4.htm]] |
+ | [[Google検索>Google検索:"switchport port-security violation" ( cisco | ccna | ccnp | ccie ) -"cisco-records" -"ISBN" -"ISBN4"]] | ||
- | :タグ|&tag(,,,,,); | + | :タグ|&tag(Security,,,,,); |
- Ciscoコマンド集/S/switchport port-security violation のバックアップ一覧
- Ciscoコマンド集/S/switchport port-security violation のバックアップの現在との差分(No. All)
- 1: 2009-01-07 (水) 16:15:39 staff_mita
- 2: 2009-02-06 (金) 13:43:22 staff_mita
Counter: 6670,
today: 1,
yesterday: 0