vtyLoginMethod

SNR-SWITCH-MIB · .1.3.6.1.4.1.40418.7.100.10.6.2

Object

scalar r/w OctetString
vty login method and priority.0: no authentication 1: loccal 2: radius 3:tacacs, null: default.
for example: if you want to configure 'local tacacs radius',you should configure '132',and if you want to restore the default configuration,you should not enter any characters.

Context

MIB
SNR-SWITCH-MIB
OID
.1.3.6.1.4.1.40418.7.100.10.6.2
Type
scalar
Access
readwrite
Status
current
Parent
authenLineConf

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-SWITCH-MIB::vtyLoginMethod.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNR-SWITCH-MIB::vtyLoginMethod'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-16