swPortTrunkMasterPort
COMPAQ-L2MGMT-MIB ·
.1.3.6.1.4.1.232.161.3.2.1.3.1.3
Object
column Integer32
The object indicates the master port number of the port trunk entry.The first port of the trunk is implicitly configured to be the master logical port.When using Port Trunk, you can not configure the other ports of the group except the master port. Their configuration must be same as the master port (e.g. speed, duplex, enabled/disabled, flow control, and so on).
Context
- MIB
- COMPAQ-L2MGMT-MIB
- OID
.1.3.6.1.4.1.232.161.3.2.1.3.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swPortTrunkEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'COMPAQ-L2MGMT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-L2MGMT-MIB::swPortTrunkMasterPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'COMPAQ-L2MGMT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-L2MGMT-MIB::swPortTrunkMasterPort.<swPortTrunkIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'COMPAQ-L2MGMT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'COMPAQ-L2MGMT-MIB::swPortTrunkMasterPort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647