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>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.9 | cisco | CISCO-SMI |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| 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 |