SNMP

Simple Network Management Protocol

4.3.b i v2c

General information on “SNMP v2c”:

“SNMP v2c” CLI configuration commands:

## Configuring SNMP v2c community strings
Router(config)# snmp-server community <string> [ro | rw] <ACL-NAME>

## Configuring SNMP v2c NMS server and enable traps
Router(config)# snmp-server host <ip> version <version> <string>
Router(config)# snmp-server enable traps <trap>

## Configuring SNMP v2c device location and administrator contact
Router(config)# snmp-server location <location>
Router(config)# snmp-server contact <mail-addr>

4.3.b ii v3

General information on “SNMP v3”:

“SNMP v3” CLI configuration commands:

## Configuring a SNMP v3 view
Router(config)# snmp-server view <view-name> <mib> [included | excluded]

## Configuring a SNMP v3 group
Router(config)# snmp-server group <group-name> [noauth | auth | priv] [read | write] <view-name>

## Configuring a SNMP v3 user
Router(config)# snmp-server user <username> <group-name> v3 auth [md5 | sha] <password> [priv] [aes | des | 3des] <bit-integer> <key>

“SNMP v3” CLI show commands:

## Showing configured SNMP v3 views
Router# show snmp view

## Showing configured SNMP v3 groups
Router# show snmp group

## Showing configured SNMP v3 users
Router# show snmp user