swQinQRuleSpvid
Q-IN-Q-MIB ·
.1.3.6.1.4.1.171.12.57.4.2.1.18
Object
column r/w
Integer32
Specifies the SP-VLAN ID to be assigned to the matched packet.
Context
- MIB
- Q-IN-Q-MIB
- OID
.1.3.6.1.4.1.171.12.57.4.2.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swQinQRuleEntry
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 'Q-IN-Q-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Q-IN-Q-MIB::swQinQRuleSpvid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Q-IN-Q-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Q-IN-Q-MIB::swQinQRuleSpvid.<swQinQRuleProfileID>.<swQinQRuleAccessID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Q-IN-Q-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Q-IN-Q-MIB::swQinQRuleSpvid'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-4094