16-12
View
System view
Default Level
2: System level
Parameters
host
-
ip
: The IP address of the log host.
channel
: Specifies the channel through which system information can be output to the log host.
channel
-
number
: Specifies a channel number, in the range 0 to 9.
channel
-
name
: Specifies a channel name, which could be a default name or a self-defined name. The
user needs to specify a channel name first before using it as a self-defined channel name. For more
information, refer to the
info-center channel name
command.
facility local
-
number
: The logging facility of the log host. The value can be local0 to local7 and defaults
to local7. Logging facility is mainly used to mark different logging sources, query and filer the logs of
the corresponding log source.
Description
Use the
info-center loghost
command to specify a log host and to configure the related parameters.
Use the
undo info-center loghost
command to restore the default configurations on a log host.
By default, output of system information to the log host is disabled. When it is enabled, the default
channel name will be loghost and the default channel number will be 2.
Note that:
z
The
info-center loghost
command takes effect only after the information center is enabled with
the
info-center enable
command.
z
Ensure to input a correct IP address while using the
info-center loghost
command to configure
the IP address for a log host. System will prompt an invalid address if the loopback address
(127.0.0.1) is input.
z
A maximum number of 4 hosts (different) can be designated as the log host.
Examples
# Output log information to a Unix station with the IP address being 1.1.1.1/16.
<Sysname> system-view
[Sysname] info-center loghost 1.1.1.1
info-center loghost source
Syntax
info-center loghost source
interface-type interface-number
undo info-center loghost source
View
System view
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...