tBgpPeerNgPeerType
TIMETRA-BGP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.14.4.7.1.27
Object
The value of tBgpPeerNgPeerType specifies the type of peer -
noType(1), internal(2) and external(3).
Default value if not set is noType - the peer has to infer its value
based on local-as, and peer-as in that case.
If tBgpPeerNgPeerAS4Byte is set to a non-default value, the value of
the object tBgpPeerNgPeerType is inferred from tBgpPeerNgPeerAS4Byte
regardless of the currently set value of tBgpPeerNgPeerType.
If tBgpPeerNgPeerAS4Byte is set to its default value, the object
tBgpPeerNgPeerType inherits its value from tBgpPeerGroupPeerAS4Byte.
Context
- MIB
- TIMETRA-BGP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.14.4.7.1.27- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tBgpPeerNgEntry
- Groups
- 7
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 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgPeerType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgPeerType.<tBgpPeerNgInstanceIndex>.<tBgpPeerNgAddressType>.<tBgpPeerNgAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-BGP-MIB::tBgpPeerNgPeerType'
Syntax
- Source
- BgpPeerType
- Base type
Enumeration
Values & Constraints
Type Values
1 | noType |
2 | internal |
3 | external |