ifMainPortRole
ARICENT-CFA-MIB ·
.1.3.6.1.4.1.2076.27.1.4.1.15
Object
column r/w
Enumeration
This object is for indicating the port role for each interface.
A port is termed as uplink port when it is connected to the
network.
A port is termed as downlink when it is connected towards host
end-points
Context
- MIB
- ARICENT-CFA-MIB
- OID
.1.3.6.1.4.1.2076.27.1.4.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ifMainEntry
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 'ARICENT-CFA-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ARICENT-CFA-MIB::ifMainPortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ARICENT-CFA-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ARICENT-CFA-MIB::ifMainPortRole.<ifMainIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ARICENT-CFA-MIB' -M '/opt/observium/mibs/aricent:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ARICENT-CFA-MIB::ifMainPortRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | uplink |
2 | downlink |