bgpRouteMapMaAsExp
RAD-RadBgp-MIB ·
.1.3.6.1.4.1.164.11.4.7.1.15
Object
column r/w
OctetString
Contains the regular expression to use when matching the AS-Path for a route. This is stored here in ASCII format. AS numbers are matched as decimal numbers. For example, the AS number '0x0123' should be represented in the regular expression string as '291'. A NULL string indicates that the field is not in use. This field is readable and writeable. The range of valid lengths for this field is 0 - 127.
Context
- MIB
- RAD-RadBgp-MIB
- OID
.1.3.6.1.4.1.164.11.4.7.1.15- 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::bgpRouteMapMaAsExp'
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::bgpRouteMapMaAsExp.<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::bgpRouteMapMaAsExp'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-127