All MIBs › MY-PRIVATE-VLAN-MIB › mypvlanPrivatePortSecondaryVlan
mypvlanPrivatePortSecondaryVlan
Module: MY-PRIVATE-VLAN-MIB
OID (symbolic): MY-PRIVATE-VLAN-MIB::mypvlanPrivatePortSecondaryVlan
OID (numeric): 1.3.6.1.4.1.171.10.97.2.44.1.2.1.1.2
Node type: OBJECT-TYPE
Type: VlanIndexOrZero
Access: read-write
Description: The VLAN ID of the secondary VLAN configured on this private port.If mypvlanPrivatePortPrimaryVlan and mypvlanPrivatePortSecondaryVlan are both zero when set the mib, it means delete the private-vlan configuration on the host port.
What is mypvlanPrivatePortSecondaryVlan?
This read-write object configures the secondary, isolated or community, VLAN ID associated with a private host port, paired with mypvlanPrivatePortPrimaryVlan to complete the port's private VLAN membership. As with its primary-VLAN counterpart, setting both this object and mypvlanPrivatePortPrimaryVlan to zero removes the port's private VLAN configuration entirely. Setting mypvlanPrivatePortSecondaryVlan to 202 on a port, along with a primary VLAN of 100, places that host port into community VLAN 202 under primary VLAN 100.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.44.1.2.1.1.2 snmpwalk -v2c -c public <target> MY-PRIVATE-VLAN-MIB::mypvlanPrivatePortSecondaryVlan
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.44.1.2.1.1.2.1 snmpget -v2c -c public <target> MY-PRIVATE-VLAN-MIB::mypvlanPrivatePortSecondaryVlan.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.44.1.2.1.1.2.1 s <value>
Start monitoring D-Link managed switch (Private VLAN feature) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-PRIVATE-VLAN-MIB::mypvlanPrivatePortSecondaryVlan OID value, configure state conditions and alerts, and monitor any D-Link managed switch (Private VLAN feature) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.44 | myPrivateVlanMIB | MY-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.44.1 | mypvlanMIBObjects | MY-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.44.1.2 | mypvlanPortObjects | MY-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.44.1.2.1 | mypvlanPrivatePortTable | MY-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.44.1.2.1.1 | mypvlanPrivatePortEntry | MY-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.44.1.2.1.1.2 | mypvlanPrivatePortSecondaryVlan | MY-PRIVATE-VLAN-MIB |