bgpPeerTtl
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.49
Object
The Time To Live used by the connection on this peer.
Directly connected peers should have this set to one. A
value of zero indicates the TTL socket option will not be
set for this peer. The sockets layer will therefore
insert its default value of TTL into all packets.
This field is ignored for peers identified only by
interface since they must be directly connected.
This field can be changed at any time. However, if the
field is changed while the peer is admin_status UP, the
change will only take effect after the peer has been
cycled admin_status DOWN and then UP, thus forcing the
peer session to be restarted. In this case, until the
peer is set admin_status DOWN, the peer will be marked as
out of date (as reported by the config_state field in the
AMB_BGP_PEER_STATUS row for the peer).
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.49- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpPeerEntry
- 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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerTtl'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerTtl.<bgpRmEntIndex>.<bgpPeerLocalAddrType>.<bgpPeerLocalAddr>.<bgpPeerLocalPort>.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpPeerRemotePort>.<bgpPeerLocalAddrScopeId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpPeerTtl'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of