atiswitchPortState
AtiSwitch-MIB ·
.1.3.6.1.4.1.207.8.15.3.1.1.7
Object
column r/w
Enumeration
This attribute allows an admin request to disable or enable communications on this port. It also responds with the status of the port. Except enabled(1) and disabled(2), all values are read-only status.
Context
- MIB
- AtiSwitch-MIB
- OID
.1.3.6.1.4.1.207.8.15.3.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- atiswitchPortEntry
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 'AtiSwitch-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AtiSwitch-MIB::atiswitchPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AtiSwitch-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AtiSwitch-MIB::atiswitchPortState.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AtiSwitch-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AtiSwitch-MIB::atiswitchPortState'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.