bgpRouteMapSeSlaveAsAct
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.5.1.1.60
Object
Whether or not the value in bgpRouteMapSeSlaveAs should be used
for updating attributes. The possible action values are:
AMB_BGP_PATH_NONE - Ignore bgpRouteMapSeAs and do nothing.
AMB_BGP_PATH_SET - Prepend the local AS number the number
of times specified by bgpRouteMapSeSlaveAs.
AMB_BGP_PATH_REM_MATCH - Remove all AS numbers in the
AS-Path matched by the regular expression in
bgpRouteMapMaAs.
AMB_BGP_PATH_REM_MATCH_AND_SET - Remove all AS numbers in
the AS-Path matched by the regular expression in
bgpRouteMapMaAs and prepend the local AS number the number
of times specified by bgpRouteMapSeSlaveAs.
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.60- 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::bgpRouteMapSeSlaveAsAct'
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::bgpRouteMapSeSlaveAsAct.<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::bgpRouteMapSeSlaveAsAct'
Syntax
- Source
- BgpAsPathAction
- Base type
Enumeration
Values & Constraints
Type Values
0 | none |
1 | set |
2 | remMatch |
3 | remMatchAndSet |