All MIBs › CISCO-PRIVATE-VLAN-MIB › cpvlanPortMode
cpvlanPortMode
Module: CISCO-PRIVATE-VLAN-MIB
OID (symbolic): CISCO-PRIVATE-VLAN-MIB::cpvlanPortMode
OID (numeric): 1.3.6.1.4.1.9.9.173.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.
secondaryTrunk(4) -- this port is configured to be a Private-VLAN isolated trunk port or community trunk port.
promiscuousTrunk(5) -- this port is configured to be a Private-VLAN promiscuous trunk port.
What is cpvlanPortMode?
Configures the Private VLAN role of a switch port, such as non-Private-VLAN, host, promiscuous, or trunk, determining how it participates in Private VLAN forwarding.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.3.1.1 snmpwalk -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanPortMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.3.1.1.1 snmpget -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanPortMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.173.1.2.3.1.1.1 i <value>
Start monitoring Cisco Catalyst/Nexus switches (Private VLAN) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-PRIVATE-VLAN-MIB::cpvlanPortMode OID value, configure state conditions and alerts, and monitor any Cisco Catalyst/Nexus switches (Private VLAN) from a single console.
OID Breakdown
Upper-level ancestors (8 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.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.173 | ciscoPrivateVlanMIB | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1 | cpvlanMIBObjects | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2 | cpvlanPortObjects | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2.3 | cpvlanPortModeTable | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2.3.1 | cpvlanPortModeEntry | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2.3.1.1 | cpvlanPortMode | CISCO-PRIVATE-VLAN-MIB |