Configuring SNMP
Use this procedure to configure SNMP community strings and trap receivers.
- Configure the community strings.
Note In releases lower than release 4.3, you must have superuser privileges to provision SNMP community strings. In releases 4.3 and higher, you can provision SNMP community strings with the provisioning privilege.
Configure the read-only community string.
For example:
bti7800(config)# snmp-server community RO password
bti7800(config-community-RO)# commit Commit complete. bti7800(config-community-RO)# exit bti7800(config)#
Configure the read-write community string.
For example:
bti7800(config)# snmp-server community RW password
bti7800(config-community-RW)# commit Commit complete. bti7800(config-community-RW)# exit bti7800(config)#
Display the new configuration.
For example:
bti7800(config)# do show running-config snmp-server community
snmp-server community RW password ! snmp-server community RO password !
- Configure the trap receiver.
Specify the IP address of the trap receiver.
For example:
bti7800(config)# snmp-server host 10.1.1.1
bti7800(config-host-10.1.1.1)# commit Commit complete. bti7800(config-host-10.1.1.1)# exit bti7800(config)#
Repeat until you have configured all trap receivers.
Display the trap receivers.
For example:
bti7800(config)# do show snmp host
Target-Name IP-Address Port TimeOut-Value Retry-Count Tag-List ------------- ------------ ------ --------------- ------------- -------- 10.1.1.1 v2 10.1.1.1 162 1500 3 std_v2_t 10.2.2.2 v2 10.2.2.2 162 1500 3 std_v2_t
Release History Table
Release
Description
In releases 4.3 and
higher, you can provision SNMP community strings with the provisioning privilege.