greSrcIpAddr
BIANCA-BRICK-GRE-MIB ·
.1.3.6.1.4.1.272.4.23.5.1.7
Object
The source IP address used when sending GRE packets. If this value is set to 0.0.0.0, the IP address of the interface used to route packets towards the remote partner will be automatically selected for this purpose.
Context
- MIB
- BIANCA-BRICK-GRE-MIB
- OID
.1.3.6.1.4.1.272.4.23.5.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- greIfEntry
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 'BIANCA-BRICK-GRE-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-GRE-MIB::greSrcIpAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-BRICK-GRE-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-GRE-MIB::greSrcIpAddr.<greDstIpAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-BRICK-GRE-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-BRICK-GRE-MIB::greSrcIpAddr'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4