pcePcepPeerRole
PCE-PCEP-MIB ·
.1.3.6.1.2.1.227.1.2.1.3
Object
column Enumeration
The role that this peer took the last time a session was established. It takes one of the following values. - unknown(0): this peer's role is not known. - pcc(1): this peer is a Path Computation Client (PCC). - pce(2): this peer is a Path Computation Element (PCE). - pccAndPce(3): this peer is both a PCC and a PCE.
Context
- MIB
- PCE-PCEP-MIB
- OID
.1.3.6.1.2.1.227.1.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- pcePcepPeerEntry
- Groups
- 1
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 'PCE-PCEP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PCE-PCEP-MIB::pcePcepPeerRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PCE-PCEP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PCE-PCEP-MIB::pcePcepPeerRole.<pcePcepEntityIndex>.<pcePcepPeerAddrType>.<pcePcepPeerAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PCE-PCEP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PCE-PCEP-MIB::pcePcepPeerRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unknown |
1 | pcc |
2 | pce |
3 | pccAndPce |
Conformance
Member of