swPortStatus
STAND-ALONE-ETHERNET-SWITCH-MIB ·
.1.3.6.1.4.1.437.1.1.3.3.1.1.9
Object
column mandatory
Enumeration
Current operational status of the port. Possible values are:
enabled : normal operation (transmit and receive)
disabled-mgmt : disabled by explicit management action
suspended-linkbeat : suspended due to absence of linkbeat
suspended-jabber : suspended because port is jabbering
suspended-violation : suspended due to a secured address
violation
disabled-violation : disabled due to a secured address
violation
suspended-not-present: there is no module inserted in the
expansion slot.
suspended-not-recognized: there is an unrecognized module
inserted in the expansion slot.
reset : the port is currently in the reset
state.
suspended-ringdown : suspended due to a ring-down condition
suspended-stp : Spanning Tree Protocol non forwarding state
disabled-self-test : disabled because port fails self-test
enable-degraded : connectivity still present but performance
is lowered due to errors.
suspended-atm-lane-down: Non-trunk ATM module using LANE suspended
because there is no active LANE client.
suspended-no-vlan : the port is not assigned to a VLAN or the
assigned VLAN does not exist.
disabled-no-vlan : vlan of the port is suspended or does not exist.
suspended-atm-network-down: ATM module suspended due to ATM network down,
or ATM physical layer down.
suspended-disl : suspended while port is negotiating trunking
mode using the Dynamic Inter Switch Link
protocol.
The default value is enabled(1), unless POST has detected
a failure on the port, in which case, it is
disabled-self-test(9). Any swPortStatus of type
disabled-xxxx (except disabled-self-test) is saved across
a system reset so a port may also come up with such a status.
Context
- MIB
- STAND-ALONE-ETHERNET-SWITCH-MIB
- OID
.1.3.6.1.4.1.437.1.1.3.3.1.1.9- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- swPortEntry
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 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortStatus.<swPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled-mgmt |
3 | suspended-linkbeat |
4 | suspended-jabber |
5 | suspended-violation |
7 | disabled-violation |
9 | suspended-not-present |
10 | suspended-not-recognized |
11 | reset |
12 | suspended-ringdown |
13 | suspended-stp |
14 | disabled-self-test |
15 | enable-degraded |
16 | suspended-atm-lane-down |
17 | suspended-no-vlan |
18 | disabled-no-vlan |
19 | suspended-atm-network-down |
20 | suspended-disl |