cdtPppMsChapV2Hostname
CISCO-DYNAMIC-TEMPLATE-MIB ·
.1.3.6.1.4.1.9.9.784.1.3.1.1.20
Object
column r/w
OctetString
This object specifies the hostname sent in a Microsoft CHAP
(v2) response on a target PPP connection. If the template does
not include this attribute, then the system uses its assigned
hostname.
This column is valid only if the 'msChapV2Hostname' bit of the
corresponding instance of cdtPppValid is '1'.
Context
- MIB
- CISCO-DYNAMIC-TEMPLATE-MIB
- OID
.1.3.6.1.4.1.9.9.784.1.3.1.1.20- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cdtPppTemplateEntry
- 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 'CISCO-DYNAMIC-TEMPLATE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DYNAMIC-TEMPLATE-MIB::cdtPppMsChapV2Hostname'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-DYNAMIC-TEMPLATE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DYNAMIC-TEMPLATE-MIB::cdtPppMsChapV2Hostname.<cdtTemplateName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-DYNAMIC-TEMPLATE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-DYNAMIC-TEMPLATE-MIB::cdtPppMsChapV2Hostname'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of