zyMacFilterAction
ZYXEL-MAC-FILTER-MIB ·
.1.3.6.1.4.1.890.1.15.3.47.1.2.1.4
Object
column r/w
Enumeration
1.discard source : drop the frames from the source MAC address. The switch can still send frames to the MAC address. 2. discard destination: drop the frames to the destination MAC address. The switch can still receive frames originating from the MAC address. 3. both : block traffic to/from the MAC address specified in the MAC field.
Context
- MIB
- ZYXEL-MAC-FILTER-MIB
- OID
.1.3.6.1.4.1.890.1.15.3.47.1.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zyxelMacFilterEntry
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 'ZYXEL-MAC-FILTER-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-MAC-FILTER-MIB::zyMacFilterAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-MAC-FILTER-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-MAC-FILTER-MIB::zyMacFilterAction.<zyMacFilterMacAddress>.<zyMacFilterVid>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-MAC-FILTER-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-MAC-FILTER-MIB::zyMacFilterAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | discardSource |
2 | discardDestination |
3 | both |