ipCurCfgGwIpv6Addr
LENOVO-GbTOR-G7028-MIB ·
.1.3.6.1.4.1.20301.2.7.17.3.1.22.2.1.2
Object
column OctetString
The IPv6 address of the gateway. Address should be 4-byte hexadecimal colon notation. Valid IPv6 address should be in any of the following forms xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx or xxxx::xxxx:xxxx:xxxx:xxxx or fe80:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx%interface
Context
- MIB
- LENOVO-GbTOR-G7028-MIB
- OID
.1.3.6.1.4.1.20301.2.7.17.3.1.22.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ipCurCfgGwIpv6Entry
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-G7028-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G7028-MIB::ipCurCfgGwIpv6Addr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-GbTOR-G7028-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G7028-MIB::ipCurCfgGwIpv6Addr.<ipCurCfgGwIpv6Index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G7028-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G7028-MIB::ipCurCfgGwIpv6Addr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-40