試験項目 5.4 · CCNA-148
SNMP in Network Operations
ドメイン 5 · AI・ネットワーク運用・管理 · SNMP
このページのゴール
SNMP Polling、Trap / Inform、VersionごとのSecurity特性を、Network Monitoring・Troubleshooting・Alertingでどのように利用するか説明できるようにする。
このページで学ぶこと
- SNMP Polling
- Operational Metrics Collection
- Trend / Performance Monitoring
- Polling for Troubleshooting
- SNMP Trap
- SNMP Inform
- Trap vs Inform Trade-off
- Polling + Notification
- SNMPv1 / v2c Community-Based Security
- SNMPv3 Security Model
- SNMP Version選択
SNMP Polling
PollingではNMSが一定間隔でAgentへGET / GETNEXT / GETBULKなどを送り、現在の状態やCounterを収集する。Manager起点の定期的な情報取得が中心である。
状態・Counterの収集
Interface Status、Error Counter、Traffic量などを定期収集すると、現在のDevice状態を一元的に把握できる。取得可能な値はMIB / OIDで表現されるManaged Objectに依存する。
Trend / Performance Monitoring
Polling結果を時間軸で蓄積すると、Traffic増加、Error Counterの推移、利用率などをTrendとして確認できる。一度のSnapshotだけでは分からない変化を把握できる。
Troubleshooting
障害発生時には関連するStatusやCounterをPollingして、現在状態や変化を追加確認できる。SNMPだけで原因が自動的に確定するわけではないが、切り分け材料を提供する。
Trap
TrapはAgentがEvent発生時にManagerへ送るUnsolicited Notificationである。事前のPolling Requestを必要とせず、Acknowledgementを要求しないため送信側はManagerの受信完了を確認しない。
Inform
InformもAgent起点のNotificationだが、ManagerからResponse / Acknowledgementを要求し、未応答時に再送できる。InformはSNMPv1では利用できず、SNMPv2c / SNMPv3で利用できる。
Trap / Inform Trade-off
TrapはAcknowledgementがないためOverheadが比較的小さい一方、送信側はDelivery確認を行えない。InformはAcknowledgement / RetryによりTrapよりDelivery確認性が高いが、その分Trafficや処理Overheadが増える。
Polling + Notification
Pollingは定常状態・Counter・Trendの把握に向き、NotificationはEventを速やかに知らせる用途に向く。両者を組み合わせることで、Event検知後にPollingで現在状態や関連Counterを確認する運用ができる。
SNMPv1 / SNMPv2c
SNMPv1とSNMPv2cはCommunity Stringを利用するCommunity-basedな方式である。Community StringをEncryption Keyと同一視せず、v1 / v2c自体はSNMPv3のPrivacy機能のような暗号化を提供しない。
SNMPv3
SNMPv3はUser-based Security Modelを利用し、Security LevelとしてnoAuthNoPriv、authNoPriv、authPrivを選択できる。SNMPv3だから常にAuthenticationとEncryptionの両方を使うとは限らない。
SNMP Versionの選択
Security要件が高くAuthenticationやPrivacyが必要ならSNMPv3が適する。Community-based Compatibilityを使うv1 / v2cと、User-based Securityを利用できるv3の違いを理解する。
他の監視Mechanismとの関係
SNMP NotificationとSyslog Messageは同じものではない。Network Operationsでは複数のMonitoring Mechanismを併用できるが、Syslog Severity・Facility・Message解析はObjective 5.6の責任範囲とする。
重要な注意点
PollingはEvent発生の瞬間を必ず通知する仕組みではない。TrapはAcknowledgementなし、InformはAcknowledgementありだが最終Deliveryを絶対保証するものではない。SNMPv1はInform非対応で、SNMPv3もSecurity LevelによってAuthentication / Privacyの有無が変わる。
理解確認
このページの内容を24問で確認します。
理解確認24問へ →