bgpRouteMapSeSlaveAsPrependCount
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.5.1.1.61
Object
To prepend AS numbers to the AS-Path, set
bgpRouteMapSeSlaveAsPrependCount to the count of the AS numbers
to prepend, set bgpRouteMapSeSlaveAsPrependSize to indicate
whether the values are 2 or 4 octet AS numbers and fill in
bgpRouteMapSeSlaveAsPrependAsVals with the AS numbers themselves.
When exporting routes to EBGP, BGP applies the AS-prepend
rule before prepending the local AS number as required by
the BGP specification. This ensures that the local AS
number is always the first AS number in the AS path in this
case.
This field can only be updated if the row is not active.
This will be applicable when we are HA slave.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.5.1.1.61- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpRouteMapEntry
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::bgpRouteMapSeSlaveAsPrependCount'
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::bgpRouteMapSeSlaveAsPrependCount.<bgpRmEntIndex>.<bgpRouteMapIndex>.<bgpRouteMapNumber>'
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::bgpRouteMapSeSlaveAsPrependCount'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295