Configuring SNMP notifications and context for SPBM
To report critical SPBM events to an NMS, enable SNMP notifications for SPBM. For SNMP notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see the network management and monitoring configuration guide for the device.
ISIS-SPB shares the standard IS-IS MIB with IS-IS and other protocols that use IS-IS in the control plane. For SNMP to correctly identify a protocol's management information in the standard IS-IS MIB, you must configure a unique context for each of these protocols. If a protocol supports multiple processes, you must assign a unique context to each process.
The context names must be unique among all the protocols and their processes.
Context is a method introduced to SNMPv3 for multiple instance managements. For SNMPv1/v2c, you must specify a context name as a community name for protocol identification.
To enable SNMP notifications for SPBM:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable SNMP notifications for SPBM. | snmp-agent trap enable spbm [ adjacency-state-change | area-mismatch | authentication | authentication-type | b-mac-conflict | buffsize-mismatch | id-length-mismatch | lsdboverload-state-change | lsp-parse-error | lsp-size-exceeded | max-seq-exceeded | maxarea-mismatch | own-lsp-purge | protocol-support | rejected-adjacency | skip-sequence-number | spsource-conflict | version-skew ] * | By default, SNMP notifications for SPBM are enabled. To disable an SNMP notification for SPBM, use the undo form of the command. |
3. Enter SPBM view. | spbm | N/A |
4. Configure an SNMP context for ISIS-SPB. | snmp context-name context-name | By default, no SNMP context is configured for ISIS-SPB. |