Cisco Systems A9014CFD manual Snmp-server host command

Models: A9014CFD

1 884
Download 884 pages 9.83 Kb
Page 88
Image 88

Chapter 4 Managing and Monitoring Network Management Features

How to Configure Network Management Features on ASR 901

 

Command

Purpose

Step 6

 

 

Router(config)# snmp-server enable

Enables SNMP trap messages for all IP-RAN notifications.

 

traps ipran

Note Besides enabling SNMP trap messages for all IP-RAN

 

 

 

Example:

notifications, you can also enable the messages for IP-RAN GSM

 

alarms, UMTS alarms, and general information about the

 

Router(config)# snmp-server enable

backhaul utilization.

 

traps ipran

 

Step 7

 

 

Router(config)# snmp-server enable

Enables SNMP trap messages for a specific environment.

 

traps envmon

 

 

Example:

 

 

Router(config)# snmp-server enable

 

 

traps envmon

 

Step 8

 

 

Router(config)# snmp-server host

Specifies the recipient of an SNMP trap messages. To remove the

 

host-address [traps informs]

specified host, use the no form of this command.

 

[version {1 2c 3 [auth noauth

host-address—Name or Internet address of the host (the targeted

 

priv]}] community-string

 

[udp-portport] [notification-type]

recipient).

 

 

traps—Sends SNMP trap messages to this host. This is the default.

 

Example:

informs—(Optional) Sends SNMP informs to this host.

 

Router(config)# snmp-server host

 

 

 

10.20.30.40 version 2c

version—(Optional) Version of the SNMP used to send the traps.

 

 

Version 3 is the most secure model because allows packet encryption

 

 

with the priv keyword. If you use the version keyword, one of the

 

 

following must be specified:

 

 

1—SNMP version 1. This option is not available with informs.

 

 

2c—SNMP version 2C.

 

 

3—SNMP version 3. The following three optional keywords can

 

 

follow the version 3 keyword:

 

 

auth(Optional). Enables Message Digest 5 (MD5) and Secure

 

 

Hash Algorithm (SHA) packet authentication

 

 

noauth(Default). The no authentication-no privileges security

 

 

level is the default if the auth noauth priv] keyword choice is

 

 

not specified.

 

 

priv(Optional). Enables Data Encryption Standard (DES)

 

 

packet encryption.

 

 

community-string—Password-like community string sent with the

 

 

notification operation. Though you can set this string using the

 

 

snmp-server host command by itself, we recommend you define this

 

 

string using the snmp-server community command before using the

 

 

snmp-server host command.

 

 

udp-portport—UDP port of the host. The default value is 162.

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

4-6

OL-23826-09

 

 

Page 88
Image 88
Cisco Systems A9014CFD manual Snmp-server host command