switchPortDuplex
ELH100-MIB ·
.1.3.6.1.4.1.52.259.10.3.4.1.1.1.5
Object
column mandatory
Enumeration
The duplex mode in which the switch port is currently operating. If the port is inactive (port 2 on media modules and port 3 on internal switch modules), notApplicable(3) is returned.
Context
- MIB
- ELH100-MIB
- OID
.1.3.6.1.4.1.52.259.10.3.4.1.1.1.5- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- switchPortEntry
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 'ELH100-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ELH100-MIB::switchPortDuplex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ELH100-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ELH100-MIB::switchPortDuplex.<switchPortGroupID>.<switchPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ELH100-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ELH100-MIB::switchPortDuplex'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | halfDuplex |
2 | fullDuplex |
3 | notApplicable |