bgpRouteMapSeAsAct
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.5.1.1.19
Object
Whether or not the value in bgpRouteMapSeAs 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 bgpRouteMapSeAs.
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 bgpRouteMapSeAs.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.5.1.1.19- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpRouteMapEntry
- 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::bgpRouteMapSeAsAct'
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::bgpRouteMapSeAsAct.<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::bgpRouteMapSeAsAct'
Syntax
- Source
- BgpAsPathAction
- Base type
Enumeration
Values & Constraints
Type Values
0 | none |
1 | set |
2 | remMatch |
3 | remMatchAndSet |
Conformance
Member of