bgpRouteMapSeCommAct
RAD-RadBgp-MIB ·
.1.3.6.1.4.1.164.11.4.7.1.6
Object
The action to take on the 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
field bgpRouteMapSeComm must only contain a string
representation of a single specific community value, which
will be added to the route. If the action is
AMB_BGP_REMOVE_SPECIFIC, then the bgpRouteMapSeComm field
must contain a regular expression string that matches the
community (or communities) to be removed. The possible
action values are:
AMB_BGP_NONE - Ignore the value of bgpRouteMapSeComm and
do nothing.
AMB_BGP_REMOVE_ALL - Ignore the value of bgpRouteMapSeComm
and remove all communities from the route.
AMB_BGP_REMOVE_SPECIFIC - Remove from the route all
communities that match the regular expression in
bgpRouteMapSeComm.
AMB_BGP_SET_SPECIFIC - Append the community in
bgpRouteMapSeComm to the communities list.
AMB_BGP_REMOVE_ALL_AND_SET - Remove all communities from
the route and replace them with the community in
bgpRouteMapSeComm.
Context
- MIB
- RAD-RadBgp-MIB
- OID
.1.3.6.1.4.1.164.11.4.7.1.6- 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 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpRouteMapSeCommAct'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpRouteMapSeCommAct.<bgpRouteMapIndex>.<bgpRouteMapNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-RadBgp-MIB::bgpRouteMapSeCommAct'
Syntax
- Source
- BgpCommunityAction
- Base type
Enumeration
Values & Constraints
Type Values
0 | none |
1 | removeAll |
2 | removeSpecific |
3 | setSpecific |
4 | removeAllAndSet |