dhcpIpSourceGuardControl

ZXR10-SWITCH-MIB · .1.3.6.1.4.1.3902.3.102.23.2.1.3

Object

column r/w Enumeration
Control the ip-source-guard configure, 
if 0, disable current function;
if 1, ip-source-guard is based on ip;
if 2, ip-source-guard is based on mac;
if 3, ip-source-guard is based on mac and ip.

Context

MIB
ZXR10-SWITCH-MIB
OID
.1.3.6.1.4.1.3902.3.102.23.2.1.3
Type
column
Access
readwrite
Status
current
Parent
dhcpIpSourceGuardEntry

Walk 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 'ZXR10-SWITCH-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-SWITCH-MIB::dhcpIpSourceGuardControl'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-SWITCH-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-SWITCH-MIB::dhcpIpSourceGuardControl.<dhcpIpSourceGuardSlot>.<dhcpIpSourceGuardPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-SWITCH-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-SWITCH-MIB::dhcpIpSourceGuardControl'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0disable
1ip-base
2mac-base
3mac-ip-base