swZoneDefenseMacProtocol
ZONE-DEFENSE-MGMT-MIB ·
.1.3.6.1.4.1.171.12.92.1.2.1.3
Object
column r/w
Enumeration
Specifies the IP protocol that needs to be filtered.
all(1) - Packet that matches the MAC address of this entry will be dropped.
icmp(2) - Filter the ICMP protocol packet.
All ICMP packets that match the MAC address of this entry will be dropped.
tcp(3) - Specify the TCP protocol packet.
udp(4) - Specify the UDP protocol packet.
Context
- MIB
- ZONE-DEFENSE-MGMT-MIB
- OID
.1.3.6.1.4.1.171.12.92.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swZoneDefenseMacEntry
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 'ZONE-DEFENSE-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZONE-DEFENSE-MGMT-MIB::swZoneDefenseMacProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZONE-DEFENSE-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZONE-DEFENSE-MGMT-MIB::swZoneDefenseMacProtocol.<swZoneDefenseMacAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZONE-DEFENSE-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZONE-DEFENSE-MGMT-MIB::swZoneDefenseMacProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | all |
2 | icmp |
3 | tcp |
4 | udp |