All MIBs › CISCO-PRIVATE-VLAN-MIB › cpvlanTrunkPortDynamicState
cpvlanTrunkPortDynamicState
Module: CISCO-PRIVATE-VLAN-MIB
OID (symbolic): CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortDynamicState
OID (numeric): 1.3.6.1.4.1.9.9.173.1.2.4.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
For private VLAN trunk ports, this object allows the operator to mandate the trunking behavior of the port
on(1) dictates that the private VLAN port will always be a trunk. If the negotiation is supported on this port, negotiation will take place with the far end to attempt to bring the far end into trunking state.
onNoNegotiate(2) is used to indicate that the interface is permanently set to be a trunk, and no negotiation takes place with the far end on the link to ensure consistent operation. This is similar to on(1) except no negotiation takes place with the far end.
If a port does not support negotiation, the value of on(1) is not allowed. If the port's cpvlanTrunkPortEncapType is set to negotiate(3), onNoNegotiate(2) is not allowed.
What is cpvlanTrunkPortDynamicState?
Controls whether a Private VLAN trunk port is forced to always operate as a trunk or negotiates trunking behavior dynamically with its peer.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.4.1.1 snmpwalk -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortDynamicState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.4.1.1.1 snmpget -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortDynamicState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.173.1.2.4.1.1.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> cpvlanTrunkPortDynamicState.1
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.4 | cpvlanTrunkPortTable | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2.4.1 | cpvlanTrunkPortEntry | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2.4.1.1 | cpvlanTrunkPortDynamicState | CISCO-PRIVATE-VLAN-MIB |