2437
Parameter
dir-name
: The name of the directory where a log file is saved, a string of 1 to 64
characters.
Description
Use the
info-center logfile switch-directory
command to configure the
directory where a log file is saved. For a device supporting CF partition, the
directory to save a log file is the logfile directory in the second partition (cf1:) of
the storage device. Ensure that the directory is created first before saving a log file
into it.
By default, the directory to save a log file is the logfile directory under the root
directory of the storage device.
Note that this command can be used to manually configure the directory to which
a log file can be saved. The configuration will lose after system restarts or
primary/backup switchover.
Example
# Create a directory with the name test under cf root directory.
<Sysname> mkdir test
%Created dir cf:/test.
# Set the directory to save the log file to cf:/test.
<Sysname> system-View
[Sysname] info-center logfile switch-directory cf:/test
info-center loghost
Syntax
info-center loghost
host
-
ip
[
channel
{
channel
-
number
|
channel
-
name
}
facility
local
-
number
] *
undo info-center loghost
host
-
ip
View
System view
Parameter
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 one
that is defined by the user. The user needs to specify a channel name first before
using it as a self-defined channel name. For more information, refer to
“info-center channel name” on page 2432.
facility
local
-
number
: The logging facility of the log host The value can be local0
to local7 and defaults to local7.
Description
Use the
info-center loghost
command to specify a log host and to configure
the related parameters.
Содержание MSR 20-20
Страница 110: ......
Страница 130: ...130 CHAPTER 4 ATM OC 3C STM 1 INTERFACE CONFIGURATION COMMANDS...
Страница 141: ...141 Sysname system view Sysname interface atm 5 0 Sysname Atm5 0 shdsl wire 4 auto enhanced...
Страница 142: ...142 CHAPTER 5 G SHDSL INTERFACE CONFIGURATION COMMANDS...
Страница 150: ...150 CHAPTER 6 ADSL INTERFACE CONFIGURATION COMMANDS...
Страница 174: ...174 CHAPTER 8 GENERAL ETHERNET INTERFACE CONFIGURATION COMMANDS...
Страница 186: ...186 CHAPTER 9 CONFIGURATION COMMANDS FOR ETHERNET INTERFACES IN BRIDGE MODE...
Страница 288: ...288 CHAPTER 17 FUNDAMENTAL CT3 INTERFACE CONFIGURATION COMMANDS...
Страница 290: ...290 CHAPTER 18 ISDN BRI INTERFACE CONFIGURATION COMMANDS...
Страница 336: ...336 CHAPTER 20 DCC CONFIGURATION COMMANDS...
Страница 410: ...410 CHAPTER 22 FRAME RELAY CONFIGURATION COMMANDS Sysname system view Sysname x25 template vofr Sysname x25 vofr...
Страница 418: ...418 CHAPTER 24 GVRP CONFIGURATION COMMANDS...
Страница 502: ...502 CHAPTER 30 PORT MIRRORING CONFIGURATION COMMANDS...
Страница 532: ...532 CHAPTER 32 PPP LINK EFFICIENCY MECHANISM CONFIGURATION COMMANDS...
Страница 538: ...538 CHAPTER 33 PPPOE SERVER CONFIGURATION COMMANDS...
Страница 548: ...548 CHAPTER 35 PPP DEBUGGING COMMANDS...
Страница 596: ...596 CHAPTER 37 ISDN CONFIGURATION COMMANDS...
Страница 630: ...630 CHAPTER 38 MSTP CONFIGURATION COMMANDS...
Страница 638: ...638 CHAPTER 39 VLAN CONFIGURATION COMMANDS...
Страница 652: ...652 CHAPTER 41 VOICE VLAN CONFIGURATION COMMANDS...
Страница 670: ...670 CHAPTER 44 LOGICAL INTERFACE CONFIGURATION COMMANDS...
Страница 688: ...688 CHAPTER 45 CPOS INTERFACE CONFIGURATION COMMANDS...
Страница 696: ...696 CHAPTER 46 ARP CONFIGURATION COMMANDS...
Страница 728: ...728 CHAPTER 51 DHCP SERVER CONFIGURATION COMMANDS...
Страница 742: ...742 CHAPTER 52 DHCP RELAY AGENT CONFIGURATION COMMANDS...
Страница 746: ...746 CHAPTER 53 DHCP CLIENT CONFIGURATION COMMANDS...
Страница 750: ...750 CHAPTER 54 DHCP SNOOPING CONFIGURATION COMMANDS...
Страница 772: ...772 CHAPTER 57 DNS CONFIGURATION COMMANDS...
Страница 786: ...786 CHAPTER 59 IP ADDRESSING CONFIGURATION COMMANDS...
Страница 806: ...806 CHAPTER 60 IP PERFORMANCE CONFIGURATION COMMANDS...
Страница 818: ...818 CHAPTER 61 IP UNICAST POLICY ROUTING CONFIGURATION COMMANDS...
Страница 822: ...822 CHAPTER 62 UDP HELPER CONFIGURATION COMMANDS...
Страница 824: ...824 CHAPTER 63 URPF CONFIGURATION COMMANDS...
Страница 828: ...828 CHAPTER 64 FAST FORWARDING COMMANDS...
Страница 880: ...880 CHAPTER 67 DUAL STACK CONFIGURATION COMMANDS...
Страница 888: ...888 CHAPTER 68 TUNNELING CONFIGURATION COMMANDS...
Страница 928: ...928 CHAPTER 70 TERMINAL ACCESS CONFIGURATION COMMANDS...
Страница 1014: ...1014 CHAPTER 72 BGP CONFIGURATION COMMANDS...
Страница 1088: ...1088 CHAPTER 74 IS IS CONFIGURATION COMMANDS...
Страница 1106: ...1106 CHAPTER 75 IS IS DEBUGGING COMMANDS...
Страница 1212: ...1212 CHAPTER 79 IPV4 ROUTING POLICY CONFIGURATION COMMANDS...
Страница 1268: ...1268 CHAPTER 82 IPV6 BGP CONFIGURATION COMMANDS...
Страница 1324: ...1324 CHAPTER 85 IPV6 RIPNG CONFIGURATION COMMANDS...
Страница 1364: ...1364 CHAPTER 88 IGMP CONFIGURATION COMMANDS...
Страница 1430: ...1430 CHAPTER 90 PIM CONFIGURATION COMMANDS...
Страница 1504: ...1504 CHAPTER 93 IPV6 PIM CONFIGURATION COMMANDS...
Страница 1644: ...1644 CHAPTER 96 MPLS TE CONFIGURATION COMMANDS...
Страница 1670: ...1670 CHAPTER 97 MPLS L2VPN CONFIGURATION COMMANDS...
Страница 1742: ...1742 CHAPTER 101 IPSEC PROFILE CONFIGURATION COMMANDS...
Страница 1774: ...1774 CHAPTER 105 TRAFFIC POLICING TP CONFIGURATION COMMANDS...
Страница 1778: ...1778 CHAPTER 106 TRAFFIC SHAPING CONFIGURATION COMMANDS...
Страница 1782: ...1782 CHAPTER 107 LINE RATE CONFIGURATION COMMANDS...
Страница 1807: ...1807 Sysname system view Sysname qos policy user1 Sysname qospolicy user1...
Страница 1808: ...1808 CHAPTER 110 DEFINING POLICY COMMANDS...
Страница 1810: ...1810 CHAPTER 111 FIFO QUEUING CONFIGURATION COMMANDS...
Страница 1836: ...1836 CHAPTER 116 RTP PRIORITY QUEUE CONFIGURATION COMMANDS...
Страница 1838: ...1838 CHAPTER 117 QOS TOKEN CONFIGURATION COMMANDS...
Страница 1842: ...1842 CHAPTER 118 PRIORITY MAPPING TABLE CONFIGURATION COMMANDS...
Страница 1844: ...1844 CHAPTER 119 PORT PRIORITY CONFIGURATION COMMANDS...
Страница 1852: ...1852 CHAPTER 121 WRED CONFIGURATION COMMANDS...
Страница 1860: ...1860 CHAPTER 123 MPLS QOS CONFIGURATION COMMANDS...
Страница 1874: ...1874 CHAPTER 124 DAR CONFIGURATION COMMANDS...
Страница 1947: ...1947 Sysname system view Sysname local user user1 Sysname luser user1 work directory cf...
Страница 1948: ...1948 CHAPTER 127 AAA CONFIGURATION COMMANDS...
Страница 1990: ...1990 CHAPTER 129 HWTACACS CONFIGURATION COMMANDS...
Страница 2008: ...2008 CHAPTER 131 ASPF CONFIGURATION COMMANDS...
Страница 2080: ...2080 CHAPTER 135 PORTAL CONFIGURATION COMMANDS...
Страница 2086: ...2086 CHAPTER 137 COMMON CONFIGURATION COMMANDS...
Страница 2102: ...2102 CHAPTER 138 IPV4 ACL CONFIGURATION COMMANDS...
Страница 2118: ...2118 CHAPTER 139 IPV6 ACL CONFIGURATION COMMANDS...
Страница 2200: ...2200 CHAPTER 142 SSH2 0 CONFIGURATION COMMANDS...
Страница 2292: ...2292 CHAPTER 150 NQA SERVER CONFIGURATION COMMANDS Sysname system view Sysname nqa server udp echo 169 254 10 2 9000...
Страница 2314: ...2314 CHAPTER 152 NTP CONFIGURATION COMMANDS...
Страница 2328: ...2328 CHAPTER 153 RMON CONFIGURATION COMMANDS...
Страница 2350: ...2350 CHAPTER 154 SNMP CONFIGURATION COMMANDS...
Страница 2368: ...2368 CHAPTER 156 CONFIGURATION FILE MANAGEMENT COMMANDS...
Страница 2390: ...2390 CHAPTER 158 FTP CLIENT CONFIGURATION COMMANDS...
Страница 2396: ...2396 CHAPTER 159 TFTP CLIENT CONFIGURATION COMMANDS...
Страница 2476: ...2476 CHAPTER 164 USER INTERFACE CONFIGURATION COMMANDS Sysname system view Sysname user interface vty 0 3 Sysname ui vty0 3...
Страница 2484: ...2484 CHAPTER 165 MAC ADDRESS TABLE MANAGEMENT CONFIGURATION COMMANDS...
Страница 2646: ...2646 CHAPTER 174 DIAL PLAN CONFIGURATION COMMANDS...
Страница 2710: ...2710 CHAPTER 178 SIP CONFIGURATION COMMANDS...
Страница 2720: ...2720 CHAPTER 179 VOFR CONFIGURATION COMMANDS...