bgpRouteMapMaAs
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.5.1.1.9
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'. The string is not NULL-terminated. A NULL string or a ma_as_exp_len value of zero indicates that the field is not in use.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.5.1.1.9- 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::bgpRouteMapMaAs'
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::bgpRouteMapMaAs.<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::bgpRouteMapMaAs'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-127
Conformance
Member of