agentSwitchDVlanTagPrimaryTPid
NETGEAR-SWITCHING-MIB ·
.1.3.6.1.4.1.4526.10.1.2.8.11.2.1.2
Object
column r/w
Enumeration
Specifies if this TPID is primary TPID for the switch or not. As the system needs one TPID to be active all the time, setting the object to false doesn't modify/remove the entry. Adding another entry and setting it to true overwrites the previous primary TPID.
Context
- MIB
- NETGEAR-SWITCHING-MIB
- OID
.1.3.6.1.4.1.4526.10.1.2.8.11.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentSwitchDVlanTagEntry
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 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETGEAR-SWITCHING-MIB::agentSwitchDVlanTagPrimaryTPid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETGEAR-SWITCHING-MIB::agentSwitchDVlanTagPrimaryTPid.<agentSwitchDVlanTagTPid>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETGEAR-SWITCHING-MIB::agentSwitchDVlanTagPrimaryTPid'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | true |
2 | false |