option82PortStrategy
GBNL3If-MIB ·
.1.3.6.1.4.1.13464.1.2.5.1.5.5.1.2
Object
column r/w
Enumeration
Actions when receive packets with option82.drop(1) means drop packets, keep(2) means not change the packet replace(3) means relace option82 value, appendhostname(4) means append option82 suboption 9 with hostname, appendhostnameip(5) means append option82 suboption 9 with hostname and ip.default is replace(3).
Context
- MIB
- GBNL3If-MIB
- OID
.1.3.6.1.4.1.13464.1.2.5.1.5.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- option82PortEntry
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 'GBNL3If-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNL3If-MIB::option82PortStrategy'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GBNL3If-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNL3If-MIB::option82PortStrategy.<option82PortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GBNL3If-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GBNL3If-MIB::option82PortStrategy'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | drop |
2 | keep |
3 | replace |
4 | appendhostname |
5 | appendhostnameip |