The snmp-server community command is used
to initialise SNMP. For example to define
the read-only string to public:
(config)#
snmp-server community public RO
or for read-write access use RW instead of
RO (the other options can be viewed using
the command snmp-server community public ?).
The community access string (in this case,
public) acts as a password for the access
to the SNMP information. To setup the SNMP
contact:
(config)#
snmp-server contact fred smith
and to set the location:
(config)#
snmp-server location room c27
To enable SNMP traps so that all the data
is monitored:
(config)#
snmp-server enable traps
To determine the avialable traps the snmp-server
enable traps ? can be used.
|