EasyManuals Logo

Cisco NCS 5000 Series User Manual

Cisco NCS 5000 Series
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #44 background imageLoading...
Page #44 background image
PurposeCommand or Action
Example:
RP/0/RP0/CPU0:routerconfig# snmp-server user
noauthuser group_name v3
Specifies SNMP trap notifications, the version of SNMP
to use, the security level of the notifications, and the
recipient (host) of the notifications.
[ snmp-server host address [traps] [version {1 | 2c | 3 [auth
| noauth | priv]}] community-string [udp-port port]
[notification-type]
Example:
RP/0/RP0/CPU0:router(config)# snmp-server host
12.26.25.61 traps version 3
noauth userV3noauth
Step 5
Enables the sending of trap notifications and specifies
the type of trap notifications to be sent.
snmp-server traps [notification-type]
Example:
RP/0/RP0/CPU0:router(config)# snmp-server traps bgp
Step 6
If a trap is not specified with the notification-type
argument, all supported trap notifications are
enabled on the router. To display which trap
notifications are available on your router, enter the
snmp-server traps ? command.
commit
Step 7
(Optional)
Displays information about the configured SNMP
notification recipient (host), port number, and security
model.
show snmp host
Example:
RP/0/RP0/CPU0:router# show snmp host
Step 8
Configuring Trap Notifications: Example
The following example configures an SNMP agent to send out different types of traps. The configuration
includes a v2c user, a noAuthNoPriv user, anauthNoPriv user, and an AuthPriv user.
The default User Datagram Protocol (UDP) port is 161. If you do not a specify a UDP port with the
udp-port keyword and port argument, then the configured SNMP trap notifications are sent to port 161.
Note
!
snmp-server host 10.50.32.170 version 2c userv2c udp-port 2345
snmp-server host 10.50.32.170 version 3 auth userV3auth udp-port 2345
snmp-server host 10.50.32.170 version 3 priv userV3priv udp-port 2345
snmp-server host 10.50.32.170 version 3 noauth userV3noauth udp-port 2345
snmp-server user userv2c groupv2c v2c
snmp-server user userV3auth groupV3auth v3 auth md5 encrypted 140F0A13
snmp-server user userV3priv groupV3priv v3 auth md5 encrypted 021E1C43 priv des56 encrypted
1110001C
snmp-server user userV3noauth groupV3noauth v3 LROwner
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
34
Implementing SNMP
Configuring Trap Notifications: Example

Table of Contents

Other manuals for Cisco NCS 5000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco NCS 5000 Series and is the answer not in the manual?

Cisco NCS 5000 Series Specifications

General IconGeneral
BrandCisco
ModelNCS 5000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals