hcsNewCfgAddOffsetCmd
ALTEON-CHEETAH-LAYER4-MIB ·
.1.3.6.1.4.1.1872.2.5.4.1.1.13.3.1.9
Object
column r/w
Integer32
Append an 'offset' command to the script. The set value of this object should be the offset from the beginning of the data area of the TCP/UDP packet to start matching the string configured in the last bexpect command. The 'offset ' characters will be automatically appended. Also a 'null terminator'(\0) will be automatically appended. The null terminator and the 'offset ' characters will be counted as characters in the script. When read, the return value has no significant meaning, but a 1 is always returned.
Context
- MIB
- ALTEON-CHEETAH-LAYER4-MIB
- OID
.1.3.6.1.4.1.1872.2.5.4.1.1.13.3.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hcsNewCfgTableEntry
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 'ALTEON-CHEETAH-LAYER4-MIB' -M '/opt/observium/mibs/radware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALTEON-CHEETAH-LAYER4-MIB::hcsNewCfgAddOffsetCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ALTEON-CHEETAH-LAYER4-MIB' -M '/opt/observium/mibs/radware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALTEON-CHEETAH-LAYER4-MIB::hcsNewCfgAddOffsetCmd.<hcsNewCfgScriptIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ALTEON-CHEETAH-LAYER4-MIB' -M '/opt/observium/mibs/radware:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ALTEON-CHEETAH-LAYER4-MIB::hcsNewCfgAddOffsetCmd'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-1464