hwIpDslamIpOptionPacketPolicy
HUAWEI-IPDSLAM-SECURITY-MIB ·
.1.3.6.1.4.1.2011.6.47.78
Object
scalar r/w
Enumeration
Used for setting or querying the ip option packet-policy. Options: 1. tocpu(1) -indicates the ip option packet-policy is to cpu 2. forward(2) -indicates the ip option packet-policy is forward 3. discard(3) -indicates the ip option packet-policy is discard Default: tocpu(1)
Context
- MIB
- HUAWEI-IPDSLAM-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.6.47.78- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwIpDslamSecurity
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-SECURITY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-SECURITY-MIB::hwIpDslamIpOptionPacketPolicy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-SECURITY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-SECURITY-MIB::hwIpDslamIpOptionPacketPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | tocpu |
2 | forward |
3 | discard |