ほぼ全ての機能を新サイトへ移行しました

switchport port-security violation anchor.png

機種
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アドレスからのパケットは全て破棄される。
protectrestrict同様、違反が発生してもダウン状態にはならない。違反を起こしたアドレスからのパケットは破棄されるが、違反の記録は一切残らない。
Tips
参考リンク
ネットワークエンジニアとして switchport port-security
Google検索
タグ
Security

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom
Counter: 6601, today: 1, yesterday: 1
最終更新: 2009-08-04 (火) 16:03:21 (JST) (5385d) by staff_mita
Copyright (c) 2020 Ping-t All rights reserved.
ログイン
ユーザ名 or E-Mailアドレス:

パスワード:







プレミアムコンテンツ

受験チケット(割引)

Contact

LPI-Japan Logo

LPI Logo