bgpRouteMapSeAs
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.5.1.1.18
Object
column r/w
Integer32
The number of times the local AS number is prepended to the AS path if there is a match. This is only relevant if the route map is being used for exporting routes, or for setting attributes for an aggregate route which does not have the AS_SET option set. This value is only used if the value of bgpRouteMapSeAsAct is AMB_BGP_PATH_SET or AMB_BGP_REM_MATCH_AND_SET.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.5.1.1.18- 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::bgpRouteMapSeAs'
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::bgpRouteMapSeAs.<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::bgpRouteMapSeAs'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of