swIpMacBindingAllPortState
IP-MAC-BIND-MIB ·
.1.3.6.1.4.1.171.12.23.3.1
Object
scalar r/w
Enumeration
This object enables/disables IP-MAC binding on all the system ports.
This action is only applicable when users have write privileges,
and can only be viewed when users have read privileges.
Note:
enable-strict (2): This means strict mode (SW learning). In this mode all packets will be sent
to the CPU. The user can choose if the port will check the ARP packets
and IP packets of the IP-MAC-PORT Binding entries. If the MAC
address can be found or not found by the entry, the MAC address will
be set as a dynamic learned or blocked entry, respectively. Other
packets will be sent to the CPU and dropped.
enable-loose (4) : This means loose mode (HW learning): Only ARP packets and IP
broadcast packets will be sent to the CPU. If the user chooses ,
the port will directly learn MAC addresses on non-ARP and non-IP
broadcast packets, so these packets will be bypassed.
However, if the switch receives ARP or IP broadcast packets and
cannot bypass the IP MAC Binding checks, the switch will set
this MAC address as blocked and all packets from this MAC
address will be dropped.
Context
- MIB
- IP-MAC-BIND-MIB
- OID
.1.3.6.1.4.1.171.12.23.3.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swIpMacBindingPortMgmt
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 '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::swIpMacBindingAllPortState.0'
More examples
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::swIpMacBindingAllPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | enable-strict |
3 | disable |
4 | enable-loose |