Configuring snmpv3 groups, users and accesses, Configuring snmp notifications – CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 344
CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 344 of 350
DUT#configure terminal
Enter global configuration mode.
DUT(config)#snmp-server view DUT included .1
Configure a view named “DUT”.
DUT(config)#snmp-server community public read-only view DUT Configure a community named “public”
with read access and view “DUT”.
DUT(config)#end
Return to privileged EXEC mode.
DUT#show running-config
Verify your entries.
Configuring SNMPv3 Groups, Users and Accesses
You can specify an identification name (engine ID) for the local SNMP server engine on the
switch. You can configure an SNMP server group that maps SNMP users to SNMP views, you
can add new users to the SNMP group, and you can add access for the SNMP group.
Beginning in privileged EXEC mode, follow these steps to configure SNMP on the switch:
DUT#configure terminal
Enter global configuration mode.
DUT(config)#snmp-server engineID 8000123456
Configure a name for local SNMP.
DUT(config)#snmp-server usm-user usr1 authentication
md5 mypassword privacy des yourpassword
Configure a user “usr1” for local SNMP. Its
authentication level is md5 and password is
“mypassword”. Its privacy level is des and password
is “yourpassword”.
DUT(config)#snmp-server group grp1 user usr1
security-model usm
Configure a group and add the user to the SNMP
group.
DUT(config)#snmp-server access grp1 security-model
usm noauth
Configure a SNMP group’s access.
DUT(config)#end
Return to privileged EXEC mode.
DUT#show running-config
Verify your entries.
Configuring SNMP notifications
A trap manager is a management station that receives and processes traps. Traps are system
alerts that the switch generates when certain events occur. By default, no trap manager is defined,
and no traps are sent.
Beginning in privileged EXEC mode, follow these steps to configure SNMP on the switch:
SNMPv1 and SNMPv2 notifications:
DUT#configure terminal
Enter global configuration mode.
DUT(config)#snmp-server trap enable all
Enable all supported traps.
DUT(config)#snmp-server trap target-address 10.0.0.2
community public
Configure a remote trap manager which IP is
“10.0.0.2”.
DUT(config)#end
Return to privileged EXEC mode.