hh3cBgpPeerSessionLocalPort
HH3C-BGP-VPN-MIB ·
.1.3.6.1.4.1.25506.2.202.1.1.6.1.7
Object
column Integer32
The local port for BGP peers.
Context
- MIB
- HH3C-BGP-VPN-MIB
- OID
.1.3.6.1.4.1.25506.2.202.1.1.6.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cBgpPeerSessionEntry
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 'HH3C-BGP-VPN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-BGP-VPN-MIB::hh3cBgpPeerSessionLocalPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-BGP-VPN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-BGP-VPN-MIB::hh3cBgpPeerSessionLocalPort.<hh3cBgpPeerSessionVrfId>.<hh3cBgpPeerSessionRemoteAddrType>.<hh3cBgpPeerSessionRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-BGP-VPN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-BGP-VPN-MIB::hh3cBgpPeerSessionLocalPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535