bgpPeerCeaseErrorSubcode
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.95
Object
This field is now deprecated - use
bgpPeerStatusCeaseErrorSubcode instead.
The error subcode to be sent in the Cease Notification
messages triggered by MIB requests that set the state of
the BGP peer from 'up' to 'down'. If set to 'none' then
DC-BGP chooses the subcode itself.
This field does not affect the error subcode for Cease
Notification messages triggered for other reasons.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.95- 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::bgpPeerCeaseErrorSubcode'
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::bgpPeerCeaseErrorSubcode.<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::bgpPeerCeaseErrorSubcode'
Syntax
- Source
- BgpCeaseErrorSubcode
- Base type
Enumeration
Values & Constraints
Type Values
0 | none |
2 | adminShutdown |
3 | peerUnconfig |
4 | adminReset |
6 | configChange |
8 | noResource |
Conformance
Member of