BGP4-MIB :: bgpLocalAs

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsBGP4-MIBbgpLocalAs

bgpLocalAs

Module: BGP4-MIB

OID (symbolic): BGP4-MIB::bgpLocalAs

OID (numeric): 1.3.6.1.2.1.15.2

Node type: OBJECT-TYPE

Type: Integer32

Access: read-only

Description: The local autonomous system number.

What is bgpLocalAs?

This Integer32 (0-65535) stores the local autonomous system number, identifying this router in BGP announcements. Example: a bgpLocalAs of 65001 tells peers this router belongs to AS 65001.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.2
snmpwalk -v2c -c public <target> BGP4-MIB::bgpLocalAs

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.15.2.1
snmpget -v2c -c public <target> BGP4-MIB::bgpLocalAs.1

Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-MIB::bgpLocalAs OID value, configure state conditions and alerts, and monitor any BGP-speaking routers from a single console.

OID Breakdown

Upper-level ancestors (7 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
1.3.6.1.2.1.15bgpBGP-MIB
Numeric OIDNameModule
1.3.6.1.2.1.15.2bgpLocalAsBGP4-MIB