All MIBs › CISCO-PRIVATE-VLAN-MIB › cpvlanPromPortSecondaryRemap4k
cpvlanPromPortSecondaryRemap4k
Module: CISCO-PRIVATE-VLAN-MIB
OID (symbolic): CISCO-PRIVATE-VLAN-MIB::cpvlanPromPortSecondaryRemap4k
OID (numeric): 1.3.6.1.4.1.9.9.173.1.2.2.1.5
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description:
A string of octets containing one bit per VLAN for VLANs with VlanIndexOrZero values of 3072 through 4095 in the management domain on this port. The first octet corresponds to VLANs with VlanIndexOrZero values of 3072 through 3079; the second octet to VLANs 3080 through 3087; etc. The most significant bit of each octet corresponds to the lowest value VlanIndexOrZero in that octet.
A bit can only be set to '1' when the bit is corresponding to a VLAN of Private VLAN isolated or community type which has already been associated with a primary VLAN. Setting this bit to '1' makes this promiscuous port remap the secondary VLAN to its associated primary VLAN for egress traffic on the fly, or remap the associated primary VLAN to the secondary VLAN if the secondary VLAN is of twoWayCommunity type and the object value of cpvlanPromPortTwoWayRemapCapable for this promiscuous port is true(1).
Note that if the length of this string is less than 128 octets, any 'missing' octets are assumed to contain the value zero. An NMS may omit any zero-valued octets from the end of this string in order to reduce SetPDU size, and the agent may also omit zero-valued trailing octets, to reduce the size of GetResponse PDUs.
This object is only instantiated on devices which support the range of VlanIndexOrZero up to 4095.
What is cpvlanPromPortSecondaryRemap4k?
This OID is a bit pattern controlling which virtual LANs (numbered 3072-4095) are remapped on a port in a Cisco Private VLAN setup, a security feature isolating traffic between ports. Each bit represents one VLAN; setting it allows secondary VLAN traffic through. A Cisco network admin configuring a secure network segment would set this to control which isolated VLANs can communicate.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.2.1.5 snmpwalk -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanPromPortSecondaryRemap4k
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.2.1.5.1 snmpget -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanPromPortSecondaryRemap4k.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.173.1.2.2.1.5.1 s <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.2 | cpvlanPromPortTable | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2.2.1 | cpvlanPromPortEntry | CISCO-PRIVATE-VLAN-MIB |
| 1.3.6.1.4.1.9.9.173.1.2.2.1.5 | cpvlanPromPortSecondaryRemap4k | CISCO-PRIVATE-VLAN-MIB |