bgpPeerAfiSafiPreserveNh
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.2.1.44
Object
This field is used to preserve the BGP next hop when
forwarding routes to this eBGP peer.
By default, the next hop of a route is preserved when
advertising the route to an iBGP peer, but is updated when
advertising the route to an eBGP peer. Setting this to
'true' over-rides this behavior and preserves the next hop
when routes are advertised to this eBGP peer.
The peer may be configured to ignore this field and
instead obtain the value from a peer-group as explained in
the table description.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.3.1.2.1.44- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpPeerAfiSafiEntry
- 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::bgpPeerAfiSafiPreserveNh'
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::bgpPeerAfiSafiPreserveNh.<bgpRmEntIndex>.<bgpPeerLocalAddrType>.<bgpPeerLocalAddr>.<bgpPeerLocalPort>.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpPeerRemotePort>.<bgpPeerLocalAddrScopeId>.<bgpPeerAfiSafiAfi>.<bgpPeerAfiSafiSafi>'
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::bgpPeerAfiSafiPreserveNh'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of