All MIBs › MY-PRIVATE-VLAN-MIB › mypvlanPrivatePortPrimaryVlan
mypvlanPrivatePortPrimaryVlan
Module: MY-PRIVATE-VLAN-MIB
OID (symbolic): MY-PRIVATE-VLAN-MIB::mypvlanPrivatePortPrimaryVlan
OID (numeric): 1.3.6.1.4.1.171.10.97.2.44.1.2.1.1.1
Node type: OBJECT-TYPE
Type: VlanIndexOrZero
Access: read-write
Description: The VLAN ID of the primary 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 mypvlanPrivatePortPrimaryVlan?
This read-write object configures the primary VLAN ID associated with a private, host, port, working together with mypvlanPrivatePortSecondaryVlan to fully define that port's private VLAN membership. Setting both this object and mypvlanPrivatePortSecondaryVlan to zero deletes the private VLAN configuration on that host port, while setting both nonzero configures it. Setting mypvlanPrivatePortPrimaryVlan to 100 alongside a secondary VLAN of 201 on a given interface configures that port as a host port belonging to isolated VLAN 201 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.1 snmpwalk -v2c -c public <target> MY-PRIVATE-VLAN-MIB::mypvlanPrivatePortPrimaryVlan
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.1.1 snmpget -v2c -c public <target> MY-PRIVATE-VLAN-MIB::mypvlanPrivatePortPrimaryVlan.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.1.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::mypvlanPrivatePortPrimaryVlan 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.1 | mypvlanPrivatePortPrimaryVlan | MY-PRIVATE-VLAN-MIB |