bgpRmEntLocalAs
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.2.1.1.6
Object
The local autonomous system number.
For a router not in a confederation, it is equivalent to
the Base Scalar bgpM2LocalAs. For a router in a
confederation, it is equivalent to the Base Scalar
bgpM2ConfederationId. If bgpRmEntConfederationId is not
0, then this router is in a confederation.
If the bgpAsSize is twoOctet, then the range is
constrained to be 0-65535. A non-mappable 4-octet AS
number should only be used when all BGP speakers within
the AS support 4-octet AS numbers.
This field can only be changed when the Admin Status is
down.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.2.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpRmEntEntry
- 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::bgpRmEntLocalAs'
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::bgpRmEntLocalAs.<bgpRmEntIndex>'
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::bgpRmEntLocalAs'
Syntax
- Source
- BgpAutonomousSystemNumber
- Base type
Unsigned32
Values & Constraints
Object Constraints
range: 1-2147483647
Conformance
Member of