bgpRouteMapSeExtCommAct
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.5.1.1.23
Object
The action to take on the extended community list if this
route map matches the route. Note that if the action is
AMB_BGP_SET_SPECIFIC or AMB_BGP_REMOVE_ALL_AND_SET, the
bgpRouteMapSeExtComm field should only contain a single
specific extended community value, which will be added to
the route. If the action is AMB_BGP_REMOVE_SPECIFIC, then
the bgpRouteMapSeExtComm field must contain a regular
expression string that matches the extended community (or
communities) to be removed. The
possible action values are:
AMB_BGP_NONE - Ignore the value of bgpRouteMapSeExtComm
and do nothing.
AMB_BGP_REMOVE_ALL - Ignore the value of
bgpRouteMapSeExtComm and remove all extended communities
from the route.
AMB_BGP_REMOVE_SPECIFIC - Remove from the route all
extended communities that match the regular expression in
bgpRouteMapSeExtComm.
AMB_BGP_SET_SPECIFIC - Append the extended community in
bgpRouteMapSeExtComm to the extended communities list.
AMB_BGP_REMOVE_ALL_AND_SET - Remove all extended
communities from the route and replace them with the
extended community in bgpRouteMapSeExtComm.
Note that you can delete or add a list of extended communities
using the bgpRouteMapSeXCommListDel and
bgpRouteMapSeXCommListAdd fields.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.5.1.1.23- 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::bgpRouteMapSeExtCommAct'
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::bgpRouteMapSeExtCommAct.<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::bgpRouteMapSeExtCommAct'
Syntax
- Source
- BgpCommunityAction
- Base type
Enumeration
Values & Constraints
Type Values
0 | none |
1 | removeAll |
2 | removeSpecific |
3 | setSpecific |
4 | removeAllAndSet |
Conformance
Member of