Hitachi Gigabit Router GR2000 Series Enhanced Version Configuration Commands, Vol. 2

Example

1. Set of log E-Mail information

Set to send log of event level evt to mail address logger@loghost at 9:00, 13:00, and 17:00:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

emaillogger@loghost evtat9:0013:0017:00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

};

email logger@

hostevtat9:0013:0017:00;

 

 

 

logger {

 

show

ger

 

 

 

2.

D

t on of

E-Mail nformation

 

 

 

 

D

te the etting to send

of event level

to mail address logger@loghost:

 

 

 

 

 

{

 

 

 

 

 

 

 

 

 

};

emaillogger@hostevtat9:0013:0017:00;

 

 

 

 

 

delete

 

emaillogger@loghostevt

 

 

areyou

sure?(y/n) y

 

 

 

3.

logger

{

 

 

tting information

 

 

Show ng of

 

 

 

 

Show

og E-Mail i

f rmati n:

 

 

 

 

 

emaillogger@loghostevtat9:0013:0017:00;

Re ated Commands

 

 

 

 

 

 

hosts

 

 

 

 

 

 

 

 

 

 

 

ger-smtp

 

 

 

 

 

 

 

dns eso ver

 

 

 

 

 

Pre autions

 

 

 

 

 

 

 

 

 

Destinati

mail serv r must be predefined by logger-smtp.

 

 

 

Host name of this device must be predefined by dns_resolver hostname.

 

 

 

When;

parameters at and interval are not specified, e-mail is sent whenever the

 

 

 

corresponding ev nt l

el log occurs. It is recommended to specify at or

 

 

 

interval without the emergency one like err event level.

 

 

 

Confirm if the sp cified m il address matches to the one defined to

 

 

};

destinationshowmailloggerserver. If the sending of e-mail fails, the mail is discarded.

 

 

An IP address is u ed as the source IP address during communication with a

 

 

mail server when it is set to the router itself by router-local-address.

 

 

This function can be used only with IR4. Therefore, if the host name with the

 

 

(config)#IPv6 only defined is specified with hosts (host name information) in the SMTP

￿server, the E-mail addressed to the said server is discarded.

If this command is inputted in the cases where changes are made on the IP routing protocol information, the IP multicast protocol information, and the MPLS information, and the apply command is not being executed, the apply subcommand is executed before the command is executed, and the changed IP routing protocol information, IP multicast routing protocol information, and MPLS information are reflected to the operation.

4-10

GR2K-GA-0014

 

Ver. 07-02

Page 340
Image 340
Hitachi GR2000 Series Mail nformation Te the etting to send Event level, Tting information Show ng, Rmati n, Destinati