bgpPeerAfiSafiTrapPrefix
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.2.1.20
Object
Gives finer control of the configuration provided by
bgpPeerTrapPrefix.
To disable sending of traps for all address families, set
bgpPeerTrapPrefix to 'false'.
To enable the sending of traps, set bgpPeerTrapPrefix to
'true' and set bgpPeerTrapPrefix to 'true' for those address
families for which this behavior is required.
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.20- 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::bgpPeerAfiSafiTrapPrefix'
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::bgpPeerAfiSafiTrapPrefix.<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::bgpPeerAfiSafiTrapPrefix'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of