30.06.2015 Views

8.28 MB - Edge-Core

8.28 MB - Edge-Core

8.28 MB - Edge-Core

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4<br />

Command Line Interface<br />

Related Commands<br />

snmp-server contact (4-101)<br />

snmp-server host<br />

This command specifies the recipient of a Simple Network Management Protocol<br />

notification operation. Use the no form to remove the specified host.<br />

Syntax<br />

snmp-server host host-addr community-string [version {1 | 2c}]<br />

no snmp-server host host-addr<br />

• host-addr - Internet address of the host (the targeted recipient).<br />

(Maximum host addresses: 5 trap destination IP address entries)<br />

• community-string - Password-like community string sent with the<br />

notification operation. Although you can set this string using the<br />

snmp-server host command by itself, we recommend that you define this<br />

string using the snmp-server community command prior to using the<br />

snmp-server host command. (Maximum length: 32 characters)<br />

• version - Specifies whether to send notifications as SNMP v1 or v2c traps.<br />

(Range: 1, 2c; Default: 1)<br />

Default Setting<br />

Host Address: None<br />

SNMP Version: 1<br />

Command Mode<br />

Global Configuration<br />

Command Usage<br />

• If you do not enter an snmp-server host command, no notifications are sent.<br />

In order to configure the switch to send SNMP notifications, you must enter at<br />

least one snmp-server host command. In order to enable multiple hosts, you<br />

must issue a separate snmp-server host command for each host.<br />

• The snmp-server host command is used in conjunction with the<br />

snmp-server enable traps command. Use the snmp-server enable traps<br />

command to specify which SNMP notifications are sent globally. For a host to<br />

receive notifications, at least one snmp-server enable traps command and<br />

the snmp-server host command for that host must be enabled.<br />

• Some notification types cannot be controlled with the snmp-server enable<br />

traps command. For example, some notification types are always enabled.<br />

• The switch can send SNMP version 1 or version 2c notifications to a host IP<br />

address, depending on the SNMP version that the management station<br />

supports. If the snmp-server host command does not specify the SNMP<br />

version, the default is to send SNMP version 1 notifications.<br />

4-102

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!