Snmp-Server Host - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 21
S Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

snmp-server host

To specify the recipient of an SNMP notification, use the snmp-server host global configuration command. To
remove the specified host, use the no form of the command.
Syntax Description
host-address
traps
informs
version
1
2c
3
auth
noauth
priv
community-string
udp-port
Defaults
Sends SNMP traps.
Command Modes
Configuration mode.
Command History
Release
1.0(3)
Usage Guidelines
If you use the version keyword, one of the following must be specified: 1, 2c, or 3.
Examples
The following example specify the recipient of an SNMP notification.
switch# config terminal
switch(config)# snmp-server host 10.1.1.1 traps version 2c abcddsfsf udp-port 500
OL-8413-07, Cisco MDS SAN-OS Release 3.x
snmp-server host host-address [traps | informs] [version {1 | 2c | 3 [auth | noauth | priv]}]
community-string [udp-port port]
no snmp-server host host-address [traps | informs] [version {1 | 2c | 3 [auth | noauth | priv]}]
community-string [udp-port port]
Specifies the name or IP address of the host (the targeted recipient).
Sends SNMP traps to this host.
Sends SNMP informs to this host.
Specifies the version of the Simple Network Management Protocol (SNMP)
used to send the traps. Version 3 is the most secure model, as it allows packet
encryption with the priv keyword.
SNMPv1 (default). This option is not available with informs.
SNMPv2C.
SNMPv3 has three optional keywords (auth, no auth (default), or priv).
Enables Message Digest 5 (MD5) and Secure Hash Algorithm (SHA) packet
authentication
Specifies the noAuthNoPriv security level.
Enables Data Encryption Standard (DES) packet encryption (privacy).
Sends a password-like community string with the notification operation.
Specifies the port UDP port of the host to use. The default is 162.
Modification
This command was introduced.
Cisco MDS 9000 Family Command Reference
snmp-server host
21-37

Advertisement

Table of Contents
loading

Table of Contents