swIpMacBindingPortIPProtocol
IP-MAC-BIND-MIB ·
.1.3.6.1.4.1.171.12.23.3.2.1.18
Object
column r/w
Enumeration
This object is used to set which kind of IP packets need to be checked by IP-MAC-PORT binding on the specified port. ipv4: Only IPv4 packets will be checked. ipv6: Only IPv6 packets will be checked. all: Both IPv4 and IPv6 packets will be checked.
Context
- MIB
- IP-MAC-BIND-MIB
- OID
.1.3.6.1.4.1.171.12.23.3.2.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Default
all- Parent
- swIpMacBindingPortEntry
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 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MAC-BIND-MIB::swIpMacBindingPortIPProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MAC-BIND-MIB::swIpMacBindingPortIPProtocol.<swIpMacBindingPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-MAC-BIND-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-MAC-BIND-MIB::swIpMacBindingPortIPProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | all |
2 | ipv4 |
3 | ipv6 |