You can read and write SNMP variables using the SNMP utilities provided with your SNMP host software. In addition, you can read a few variables using the ncdquery(1) utility provided on the NCDware distribution.
Reading a Terminal's SNMP Variables
The following sections describe how to use SNMP management software or the ncdquery utility to read a terminal's SNMP variables.
Using SNMP Management Software
A host's SNMP management software usually includes a get command that allows you to read a terminal's SNMP variables. Reading variables requires read-only or read/write access to the terminal, which is allowed by default.
Using the ncdquery Utility
For more information about community names, see "Configuring Read/Write Access" and "Configuring Read-Only Access".
ncdquery [ -V -v -c community -d variable_options ] hostname
where:
% ncdquery -s -b ncdu60server version: NCD19c server 3.1.0 03/12/91 downloaded
boot monitor version: Boot PROM V2.2.4
For more information about the ncdquery command and its options, see the man page.
Writing SNMP Variables-Configuring Terminals
%
xsnmpi -a 191.42.153.147 -c manager set ncdBootDesiredSource.0=5 where: