cwsEncryptionPreSharedKeyValue
CIENA-WS-ENCRYPTION-MIB ·
.1.3.6.1.4.1.1271.3.4.23.4.1.2
Object
column r/w
OctetString
Value for a pre-shared-key (PSK).
The value must be specified as a hexadecimal encoded string.
The string must be 32 characters to 512 characters consisting of (0-9, a-f, A-F).
This is for support of 128bit key to 2048bit key in increment of 8 bits.
Setting this attribute to an empty or blank string will clear the PSK.
A read of this attribute will always return empty to protect the plaintext value.
Note: This is a write-only attribute.
Context
- MIB
- CIENA-WS-ENCRYPTION-MIB
- OID
.1.3.6.1.4.1.1271.3.4.23.4.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cwsEncryptionPreSharedKeyEntry
- Groups
- 1
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 'CIENA-WS-ENCRYPTION-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CIENA-WS-ENCRYPTION-MIB::cwsEncryptionPreSharedKeyValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CIENA-WS-ENCRYPTION-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CIENA-WS-ENCRYPTION-MIB::cwsEncryptionPreSharedKeyValue.<cwsPortPortsPortId>.<cwsEncryptionPreSharedKeyTableSnmpKey>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CIENA-WS-ENCRYPTION-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CIENA-WS-ENCRYPTION-MIB::cwsEncryptionPreSharedKeyValue'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-512
Conformance
Member of