rcStaticSmacPolicy
SWITCH-MACCONFIG-MIB ·
.1.3.6.1.4.1.8886.6.1.3.3.1.2
Object
column mandatory
r/w
Enumeration
The port static source mac policy.0:normal transmitting, 1:drop,2: mirror.
Context
- MIB
- SWITCH-MACCONFIG-MIB
- OID
.1.3.6.1.4.1.8886.6.1.3.3.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- rcStaticMacPortEntry
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 'SWITCH-MACCONFIG-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MACCONFIG-MIB::rcStaticSmacPolicy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-MACCONFIG-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MACCONFIG-MIB::rcStaticSmacPolicy.<rcPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-MACCONFIG-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-MACCONFIG-MIB::rcStaticSmacPolicy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normal-transmit |
1 | drop |
2 | mirror |