All MIBs › BGP4V2-MIB › bgp4V2PeerLocalAs
bgp4V2PeerLocalAs
Module: BGP4V2-MIB
OID (symbolic): BGP4V2-MIB::bgp4V2PeerLocalAs
OID (numeric): 1.3.6.1.4.1.1991.3.5.1.1.2.1.7
Node type: OBJECT-TYPE
Type: InetAutonomousSystemNumber
Access: read-only
Description: Some implementations of BGP can represent themselves as multiple ASes. This is the AS that this peering session is representing itself as to the remote peer.
What is bgp4V2PeerLocalAs?
Some routers represent themselves as different ASes for different peers; this is the AS sent to this particular neighbor in the BGP OPEN message. Example: a multihomed router might send AS 65001 to one peer and AS 65002 to another for traffic engineering.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.2.1.7 snmpwalk -v2c -c public <target> BGP4V2-MIB::bgp4V2PeerLocalAs
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.2.1.7.1 snmpget -v2c -c public <target> BGP4V2-MIB::bgp4V2PeerLocalAs.1
Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4V2-MIB::bgp4V2PeerLocalAs OID value, configure state conditions and alerts, and monitor any BGP-speaking routers from a single console.
OID Breakdown
Upper-level ancestors (9 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.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.3 | experimental | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.3.5 | bgp4V2Root | FOUNDRY-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.1991.3.5.1 | bgp4V2 | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1 | bgp4V2Objects | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.2 | bgp4V2PeerTable | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.2.1 | bgp4V2PeerEntry | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.2.1.7 | bgp4V2PeerLocalAs | BGP4V2-MIB |