hwIpDslamArpDetectMode
HUAWEI-IPDSLAM-SECURITY-MIB ·
.1.3.6.1.4.1.2011.6.47.21
Object
scalar r/w
Enumeration
Used for setting or querying the arp detection mode. when dhcp spoofing send the arp detecting packet,use the gateway mode, the source mac will be the gateway mac,or if use the dummy mode, the source mac will be the mac of the bridge and the ip address should set to 0. Options: 1. gateway(1) -the source mac will be the gateway mac 2. dummy(2) -the source mac will be the bridge mac Default: dummy(2)
Context
- MIB
- HUAWEI-IPDSLAM-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.6.47.21- 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::hwIpDslamArpDetectMode.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::hwIpDslamArpDetectMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | gateway |
2 | dummy |