netportRole
NETAPP-MIB ·
.1.3.6.1.4.1.789.1.22.2.1.3
Object
column Enumeration
Role of the port. A port must have one of the following roles: cluster(1), data(2), mgmt(3), intercluster(4), cluster-mgmt(5) or undef(0). The cluster port is used to communicate to other node(s) in the cluster. The data port services clients' requests. It is where all the file requests come in. The management port is used by administrator to manage resources within a node. The intercluster port is used to communicate to other cluster. The cluster-mgmt port is used to manage resources within the cluster. The undef role is for the port that has not yet been assigned a role.
Context
- MIB
- NETAPP-MIB
- OID
.1.3.6.1.4.1.789.1.22.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- netportEntry
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 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::netportRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::netportRole.<netportNode>.<netportPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETAPP-MIB::netportRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | undef |
1 | cluster |
2 | data |
3 | node-mgmt |
4 | intercluster |
5 | cluster-mgmt |