swSecondaryVlanPorts
PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.171.12.69.3.2.1.3
Object
If swSecondaryVlanType is isolated, the ports in the isolated VLAN of the private VLAN have complete Layer 2 separation from other ports within the same private
VLAN, except for the promiscuous and trunk ports.
If swSecondaryVlanType is community, the ports can communicate with other ports
in the same Secondary VLAN and with promiscuous ports.
Context
- MIB
- PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.171.12.69.3.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swSecondaryVlanEntry
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::swSecondaryVlanPorts'
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::swSecondaryVlanPorts.<swPrivateVlanId>.<swSecondaryVlanId>'
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::swSecondaryVlanPorts'
Syntax
- Source
- Q-BRIDGE-MIBPortList
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.