Hitachi Gigabit Router GR2000 Series Enhanced Version Configuration Commands, Vol. 2
4-8
GR2K-GA-0014
Ver. 07-02
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.
2. Deletion of log syslog information
The setting for outputting the log of event level evt to host name loghost as syslog
of a notice level is deleted.
3. Displaying the configuration information
To show the syslog information.
Related Configuration Object
hosts
Precautions
The destination host name must be predefined with the host object.
In order to use the syslog setup function, the syslog daemon must be running on
the destination host and such destination host must be so configured that it can
receive the syslog information sent from this router.
Do not define the same <event level> more than once in the same outbound
destination host.
When IP address is defined to device itself by router-local_address, the IP address
is used as the source address of syslog information.
This function is capable of only outputting IPv4. Therefore, if the host name with
the IPv6 only defined is specified with hosts (host name information) in the
output host name, no log information is outputted to the said host.
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.
(config)# logger syslog loghost notice evt
(config)# show logger
logger {
syslog loghost notice evt;
};
(config)#
(config)# delete logger syslog loghost notice evt
Are you sure ?(y/n)y
(config)# show logger
logger;
(config)#
(config)# show logger
logger;
syslog loghost notice evt;
};
(config)#