swL2TrunkMasterPort
DGS3120-24SC-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.117.4.1.2.9.3.1.3
Object
column r/w
Integer32
This object indicates the master port number of the port trunk entry. When using Port Trunking, you cannot configure the other ports of the group except the master port. Their configuration must be the same as the master port (e.g. speed, duplex, enabled/disabled, flow control, and so on).
Context
- MIB
- DGS3120-24SC-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.117.4.1.2.9.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2TrunkCtrlEntry
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 'DGS3120-24SC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3120-24SC-L2MGMT-MIB::swL2TrunkMasterPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS3120-24SC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3120-24SC-L2MGMT-MIB::swL2TrunkMasterPort.<swL2TrunkIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3120-24SC-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3120-24SC-L2MGMT-MIB::swL2TrunkMasterPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535