13.02.2014 Views

CLI Guide - TP-Link

CLI Guide - TP-Link

CLI Guide - TP-Link

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.

TL-SL3428/TL-SL3452 JetStream L2 Managed Switch <strong>CLI</strong> <strong>Guide</strong><br />

<strong>TP</strong>-LINK(config)# snmp community-add community1 read-write view1<br />

snmp notify-add<br />

Description<br />

The snmp notify-add command is used to add Notification. To delete the<br />

corresponding Notification, please use no snmp notify-add command. With the<br />

Notification function enabled, the switch can initiatively report to the<br />

management station about the important events that occur on the Views, which<br />

allows the management station to monitor and process the events in time.<br />

Syntax<br />

snmp notify-add {ip} {udp-port} {user-name} [smode { v1 | v2c | v3 }] [slev<br />

{ noAuthNoPriv | authNoPriv | authPriv }] [type { trap | inform }] [resend resend]<br />

[timeout timeout]<br />

no snmp notify-add {ip} {user-name}<br />

Parameter<br />

ip —— The IP Address of the management Host.<br />

udp-port —— UDP port, which is used to send notifications. The UDP port<br />

functions with the IP address for the notification sending. By default, it is 162.<br />

user-name —— The User name of the management station.<br />

smode —— The Security Model of the management station, with v1, v2c and<br />

v3 options. By default, the option is v1.<br />

slev —— The Security Level of SNMP v3 Group. There are three options,<br />

including noAuthNoPriv (no authorization and no encryption), authNoPriv<br />

(authorization and no encryption) and authPriv (authorization and encryption).<br />

By default, the option is noAuthNoPriv.<br />

type —— The type of the notifications, with trap and inform options. Trap<br />

indicates traps are sent, while inform indicates informs are sent. The inform type<br />

has a higher security than the trap type and resend and timeout need to be<br />

configured if you select this option. You can only select the trap type in Security<br />

Model v1. By default, the type of the notifications is trap.<br />

resend —— The amount of times the switch resends an inform request,<br />

ranging from 1 to 255. The switch will resend the inform request if it doesn’t get<br />

the response from the management station during the Timeout interval, and it<br />

will terminate resending the inform request if the resending times reach the<br />

specified Retry times.<br />

175

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

Saved successfully!

Ooh no, something went wrong!