All MIBs › CISCO-BGP4-MIB › cbgpPeer2LocalAs
cbgpPeer2LocalAs
Module: CISCO-BGP4-MIB
OID (symbolic): CISCO-BGP4-MIB::cbgpPeer2LocalAs
OID (numeric): 1.3.6.1.4.1.9.9.187.1.2.5.1.8
Node type: OBJECT-TYPE
Type: InetAutonomousSystemNumber
Access: read-only
Description: The local AS number for this session.
What is cbgpPeer2LocalAs?
Reports the local Autonomous System (AS) number used for this BGP peering session.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.187.1.2.5.1.8 snmpwalk -v2c -c public <target> CISCO-BGP4-MIB::cbgpPeer2LocalAs
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.187.1.2.5.1.8.1 snmpget -v2c -c public <target> CISCO-BGP4-MIB::cbgpPeer2LocalAs.1
Start monitoring Cisco routers running BGP with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-BGP4-MIB::cbgpPeer2LocalAs OID value, configure state conditions and alerts, and monitor any Cisco routers running BGP from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.187 | ciscoBgp4MIB | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1 | ciscoBgp4MIBObjects | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2 | cbgpPeer | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2.5 | cbgpPeer2Table | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2.5.1 | cbgpPeer2Entry | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2.5.1.8 | cbgpPeer2LocalAs | CISCO-BGP4-MIB |