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

Example

 

 

 

 

 

 

 

 

 

1.

Setting of log syslog information

 

 

The log of event level evt is set so that it is output to host name loghost as syslog

 

 

of a notice level.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

gersyslogloghost notice evt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

showlogger

 

 

 

 

 

 

(config)#

 

 

 

 

 

 

 

 

 

2.

logger{

 

syslog informa i

n

Del tion of

 

 

 

The setting f

r ou putting the

g of event level evt to host name loghost as syslog

 

 

a notice evel is dele ed.

 

 

 

 

 

 

 

 

delete

 

 

syslogloghostnoticeevt

 

 

 

 

 

 

lologger

 

 

 

 

 

 

Areyousure?(y/n)y

 

 

 

 

 

 

3.

Displaying

 

 

logger

 

 

 

 

 

 

co fi

u ation informati

 

 

To

how the syslog information.

 

 

(config)#

 

 

 

 

 

 

 

 

 

 

 

outputsysloglhostshowghostname, noticeevt;log information is outputted to the said host.

Re};atedsyslogConfiguratiloghostnoticen Object

evt;

Pre hostsautions

 

 

 

 

 

 

 

 

 

 

 

The destinati

 

h st name must be predefi ed with the host object.

 

 

In

der to use

he syslog setup function, the syslog daemon must be running on

 

 

the destination host and such destination host must be so configured that it can

 

 

rec

ve the sysl

inf

 

mation sent from this router.

 

 

Do not define the same < v nt level> more than once in the same outbound

 

 

dest nation

 

.

 

 

 

 

 

 

 

 

Wh

IP address is defined to device itself by router-local_address, the IP address

 

 

is used as the source address of syslog information.

 

 

This functionsh

is capable of only outputting IPv4. Therefore, if the host name with

 

 

logger;the IPv6 on y defined is specified with hosts (host name information) in the

 

 

};If th

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-8

GR2K-GA-0014

 

Ver. 07-02

Page 338
Image 338
Hitachi GR2000 Series Setting of log syslog information, A notice level, Syslog informa Del tion Setting f Ou putting