swL2PortControlNwayState
DES3828P-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.69.3.2.4.5.1.5
Object
column r/w
Enumeration
Choose the port speed, duplex mode, and N-Way function mode.
Context
- MIB
- DES3828P-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.69.3.2.4.5.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2PortControlEntry
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 'DES3828P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3828P-L2MGMT-MIB::swL2PortControlNwayState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3828P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3828P-L2MGMT-MIB::swL2PortControlNwayState.<swL2PortControlPortIndex>.<swL2PortControlMediumType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3828P-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3828P-L2MGMT-MIB::swL2PortControlNwayState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | nway-enabled |
3 | nway-disabled-10Mbps-Half |
4 | nway-disabled-10Mbps-Full |
5 | nway-disabled-100Mbps-Half |
6 | nway-disabled-100Mbps-Full |
7 | nway-disabled-1Gigabps-Half |
8 | nway-disabled-1Gigabps-Full |
9 | nway-disabled-1Gigabps-Full-master |
10 | nway-disabled-1Gigabps-Full-slave |