snmp-agent trap enable trill
Use snmp-agent trap enable trill to enable SNMP notification sending for TRILL.
Use undo snmp-agent trap enable trill to disable SNMP notification sending for TRILL.
Syntax
snmp-agent trap enable trill [ adjacency-state-change | area-mismatch | buffsize-mismatch | id-length-mismatch | lsdboverload-state-change | lsp-parse-error | lsp-size-exceeded | max-seq-exceeded | maxarea-mismatch | new-drb | own-lsp-purge | protocol-support | rejected-adjacency | skip-sequence-number | topology-change | version-skew ] *
undo snmp-agent trap enable trill [ adjacency-state-change | area-mismatch | buffsize-mismatch | id-length-mismatch | lsdboverload-state-change | lsp-parse-error | lsp-size-exceeded | max-seq-exceeded | maxarea-mismatch | new-drb | own-lsp-purge | protocol-support | rejected-adjacency | skip-sequence-number | topology-change | version-skew ] *
Default
The trapping function is enabled for TRILL.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
adjacency-state-change: Specifies notifications about TRILL adjacency state changes.
area-mismatch: Specifies notifications about mismatches in area addresses between Hello packets.
buffsize-mismatch: Specifies notifications about buffer size mismatches for LSPs.
id-length-mismatch: Specifies notifications about mismatches in system ID lengths of TRILL frames.
lsdboverload-state-change: Specifies notifications about LSDB overload state changes.
lsp-parse-error: Specifies notifications about LSP packet parse errors.
lsp-size-exceeded: Specifies notifications about oversized LSPs that result in flooding failures.
max-seq-exceeded: Specifies notifications about LSPs with exceeded serial numbers.
maxarea-mismatch: Specifies notifications about mismatches in maximum area address values.
new-drb: Specifies notifications sent about becoming new DRBs.
own-lsp-purge: Specifies notifications about attempts to purge local LSPs.
protocol-support: Specifies notifications about supported protocol mismatches.
rejected-adjacency: Specifies notifications about mismatched Hello adjacencies that have been rejected.
skip-sequence-number: Specifies notifications about system ID duplications.
topology-change: Specifies notifications sent when the AVF state changes.
version-skew: Specifies notifications about mismatches in Hello packet protocol versions.
Usage guidelines
After you enable SNMP notification sending for TRILL, TRILL will generate notifications to notify the NMS of important events on the local module and send the notifications to the SNMP module. You can set the notification sending parameters in SNMP. For more information about notifications, see Network Management and Monitoring Configuration Guide.
Examples
# Disable SNMP notification sending for TRILL.
<Sysname> system-view [Sysname] undo snmp-agent trap enable trill