bgpNewCfgPeerMetric
LENOVO-GbTOR-G8296-MIB ·
.1.3.6.1.4.1.19046.2.7.22.3.1.12.4.1.10
Object
column r/w
Unsigned32
The metric value of the BGP peer. A value of '0' means none
Context
- MIB
- LENOVO-GbTOR-G8296-MIB
- OID
.1.3.6.1.4.1.19046.2.7.22.3.1.12.4.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpNewCfgPeerEntry
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 'LENOVO-GbTOR-G8296-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8296-MIB::bgpNewCfgPeerMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-GbTOR-G8296-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8296-MIB::bgpNewCfgPeerMetric.<bgpNewCfgPeerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G8296-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G8296-MIB::bgpNewCfgPeerMetric'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-4294967294