hwFirewallDefault
HUAWEI-IPDSLAM-SECURITY-MIB ·
.1.3.6.1.4.1.2011.6.47.47
Object
scalar r/w
Enumeration
indicate the firewall default operation to the packet which does not match the acl rules existed in the interface. Options: 1. permit(1) -indicates the firewall permit the packet defaultly. 2. deny(2) -indicates the firewall deny the packet defaultly. default:permit(1)
Context
- MIB
- HUAWEI-IPDSLAM-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.6.47.47- 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::hwFirewallDefault.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::hwFirewallDefault'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | permit |
2 | deny |