Info-Center Loghost - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Examples
# Configure a log suppression rule to suppress output of logs with the shell_login mnemonic value
for the shell module.
<Sysname> system-view
[Sysname] info-center logging suppress module shell mnemonic shell_login
Related commands
info-center source

info-center loghost

Use info-center loghost to specify a log host and to configure output parameters.
Use undo info-center loghost to remove a log host.
Syntax
info-center loghost { hostname | ipv4-address | ipv6 ipv6-address } [ port port-number ] [ facility
local-number ]
undo info-center loghost { hostname | ipv4-address | ipv6 ipv6-address }
Default
No log hosts are specified.
Views
System view
Predefined user roles
network-admin
Parameters
hostname: Specifies a log host by its name, a case-insensitive string of 1 to 253 characters. The host
name can contain letters, digits, and special characters including hyphen (-), underscore (_), and dot
(.).
ipv4-address: Specifies a log host by its IPv4 address.
ipv6 ipv6-address: Specifies a log host by its IPv6 address.
port port-number: Specifies the port number of the log host, in the range of 1 to 65535. The default is
514. It must be the same as the value configured on the log host. Otherwise, logs cannot be sent to
the log host.
facility local-number: Specifies a logging facility from local0 to local7 for the log host. The default
value is local7. Logging facilities are used to mark different logging sources, and query and filer logs.
Usage guidelines
The info-center loghost command takes effect only after the information center is enabled by using
info-center enable command.
The device supports a maximum of 20 log hosts.
Examples
# Output logs to the log host at 1.1.1.1.
<Sysname> system-view
[Sysname] info-center loghost 1.1.1.1
341

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents