All MIBs › DC-BGP-MIB › bgpPeerSelectedLocalAs
bgpPeerSelectedLocalAs
Module: DC-BGP-MIB
OID (symbolic): DC-BGP-MIB::bgpPeerSelectedLocalAs
OID (numeric): 1.2.826.0.1.1578918.5.65.1.3.1.1.1.97
Node type: OBJECT-TYPE
Type: BgpAutonomousSystemNumber
Access: read-only
Description: The local AS number used on this session.
If bgpPeerConfAltLocalAs is set to a non-zero value, then the session might have been set up advertising one of two 'local AS' numbers (bgpRmEntLocalAs or bgpPeerConfAltLocalAs). This field reports which local AS number was used.
If, as normal, bgpPeerConfAltLocalAs is zero, then the AS number advertised for the session (and reported by this field) is bgpRmEntLocalAs, or bgpRmEntLocalMbrAs (if this router is in a confederation along with the peer).
If the bgpPeerState is not 'established', then this field is zero.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.2.826.0.1.1578918.5.65.1.3.1.1.1.97 snmpwalk -v2c -c public <target> DC-BGP-MIB::bgpPeerSelectedLocalAs
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.2.826.0.1.1578918.5.65.1.3.1.1.1.97.1 snmpget -v2c -c public <target> DC-BGP-MIB::bgpPeerSelectedLocalAs.1
Start monitoring Router/switch running Data Connection (DC) routing protocol software stack (BGP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DC-BGP-MIB::bgpPeerSelectedLocalAs OID value, configure state conditions and alerts, and monitor any Router/switch running Data Connection (DC) routing protocol software stack (BGP) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.2 | member_body | IEEE802dot11-MIB |
| 1.2.826 | gb | METASWITCH-MIB |
| 1.2.826.0 | gbNational | METASWITCH-MIB |
| 1.2.826.0.1 | gbNatCompany | METASWITCH-MIB |
| 1.2.826.0.1.1578918 | dataConnection | METASWITCH-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.2.826.0.1.1578918.5.65.1 | bgpMib | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3 | bgpPeer | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1 | bgpPeerData | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1.1 | bgpPeerTable | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1.1.1 | bgpPeerEntry | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1.1.1.97 | bgpPeerSelectedLocalAs | DC-BGP-MIB |