Cisco Cisco 5760 Wireless LAN Controller Riferimenti tecnici

Pagina di 1016
Examples
This example shows how to configure a unique SNMP community string named comaccess for traps and
prevent SNMP polling access with this string through access-list 10:
Controller(config)#
snmp-server community comaccess ro 10
Controller(config)#
snmp-server host 172.20.2.160 comaccess
Controller(config)#
access-list 10 deny any
This example shows how to send the SNMP traps to the host specified by the name myhost.cisco.com. The
community string is defined as comaccess:
Controller(config)#
snmp-server enable traps
Controller(config)#
snmp-server host myhost.cisco.com comaccess snmp
This example shows how to enable the controller to send all traps to the host myhost.cisco.com by using the
community string public:
Controller(config)#
snmp-server enable traps
Controller(config)#
snmp-server host myhost.cisco.com public
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
Description
Command
Enables the controller to send SNMP notifications for various traps
or inform requests to the NMS.
   Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)
980
OL-29471-01  
snmp-server host