hwTrapSynAdminStatus
HUAWEI-SNMP-NOTIFICATION-MIB ·
.1.3.6.1.4.1.2011.6.30.11.1.1.6
Object
column r/w
Enumeration
Trap synchronization management status.
Options:
1. other(1) -other.
2. stop(2) -stop.
3. interval(3) -indicates the traps with the serial numbers in the range of
the synchronization serial numbers are synchronized. In this case,
you must specify the index and issue the starting serial number of trap
and the ending serial number of trap.
4. all(4) -indicates that all the traps are synchronized.
In this case, you can only specify the index and issue the last object
5. intervalsynfile(5)-indicates that the traps with specified serial numbers
form to a file and then the file is synchronized. In this case,
you must specify the index and issue the starting serial number of trap
that is synchronized and the ending serial number of trap that is synchronized.
6. allsynfile(6) -indicates that all the traps form to a file and then the file is synchronized.
In this case, you can only specify the index and issue the last object.
Context
- MIB
- HUAWEI-SNMP-NOTIFICATION-MIB
- OID
.1.3.6.1.4.1.2011.6.30.11.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwTrapSynEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapSynAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapSynAdminStatus.<hwTrapSynType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwTrapSynAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | stop |
3 | interval |
4 | all |
5 | intervalsynfile |
6 | allsynfile |