scEthPortSpeed
XSWITCH-MIB ·
.1.3.6.1.4.1.81.28.2.1.1.1.29
Object
column mandatory
r/w
Enumeration
This parameter defines the port speed: ethernet(1) and fastEthernet(2).
Context
- MIB
- XSWITCH-MIB
- OID
.1.3.6.1.4.1.81.28.2.1.1.1.29- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- scEthPortEntry
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 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XSWITCH-MIB::scEthPortSpeed'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XSWITCH-MIB::scEthPortSpeed.<scEthPortGroupId>.<scEthPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XSWITCH-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XSWITCH-MIB::scEthPortSpeed'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ethernet |
2 | fastEthernet |
3 | gigabitEthernet |
4 | a155Mbps |
5 | a622Mbps |
255 | notSupported |