swPrivateVlanId
PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.171.12.69.3.1.1.1
Object
column Q-BRIDGE-MIBVlanId
The VLAN-ID referring to the private VLAN of the private VLAN domain. A private VLAN is the unique and common VLAN identifier of the whole private VLAN domain. Every port in a private VLAN is a member of the private VLAN. The IP subnet of the private VLAN shall be associated with the private VLAN. Only the private VLAN is visible outside of the domain.
Context
- MIB
- PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.171.12.69.3.1.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swPrivateVlanEntry
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 'PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRIVATE-VLAN-MIB::swPrivateVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PRIVATE-VLAN-MIB::swPrivateVlanId.<swPrivateVlanId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PRIVATE-VLAN-MIB::swPrivateVlanId'
Syntax
- Source
- Q-BRIDGE-MIBVlanId
- Base type
Integer32
Values & Constraints
Type Constraints
range: 1..4094