juniBgpNetworkWeight
Juniper-BGP-MIB ·
.1.3.6.1.4.1.4874.2.2.29.1.16.1.9
Object
column r/w
Integer32
If juniBgpNetworkWeight specified is set to true(1) then this object specifies the weight of the network. Otherwise the weight of the network is determined by the IGP metric of the prefix. This object can only be set at row creation.
Context
- MIB
- Juniper-BGP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.29.1.16.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- juniBgpNetworkEntry
- Groups
- 2
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 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpNetworkWeight'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpNetworkWeight.<juniBgpNetworkVrfName>.<juniBgpNetworkAfi>.<juniBgpNetworkSafi>.<juniBgpNetworkIpAddrPrefix>.<juniBgpNetworkIpAddrPrefixLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-BGP-MIB::juniBgpNetworkWeight'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535