All MIBs › MY-PRIVATE-VLAN-MIB › mypvlanPortMode
mypvlanPortMode
Module: MY-PRIVATE-VLAN-MIB
OID (symbolic): MY-PRIVATE-VLAN-MIB::mypvlanPortMode
OID (numeric): 1.3.6.1.4.1.171.10.97.2.44.1.2.3.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The Private VLAN port mode on this port.
nonPrivateVlan(1) -- this port is configured to be a non-Private-VLAN port.
host(2) -- this port is configured to be a Private-VLAN host port, i.e., private port.
promiscuous(3) -- this port is configured to be a Private-VLAN promiscuous port.
What is mypvlanPortMode?
This read-write object sets a port's role within the Private VLAN feature: nonPrivateVlan for a regular port, host for a private VLAN host, isolated or community-facing, port, or promiscuous for a port that can reach all associated secondary VLANs. Admins choose promiscuous for uplink or gateway ports that need visibility into all secondary VLANs under a primary, and host for end-station ports that should stay isolated from each other. Setting mypvlanPortMode to host(2) on an access port and configuring its primary and secondary VLAN via mypvlanPrivatePortPrimaryVlan and mypvlanPrivatePortSecondaryVlan makes that port a private VLAN host port serving one isolated segment.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.44.1.2.3.1.1 snmpwalk -v2c -c public <target> MY-PRIVATE-VLAN-MIB::mypvlanPortMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.44.1.2.3.1.1.1 snmpget -v2c -c public <target> MY-PRIVATE-VLAN-MIB::mypvlanPortMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.10.97.2.44.1.2.3.1.1.1 i <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::mypvlanPortMode 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.3 | mypvlanPortModeTable | MY-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.44.1.2.3.1 | mypvlanPortModeEntry | MY-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.44.1.2.3.1.1 | mypvlanPortMode | MY-PRIVATE-VLAN-MIB |