To query information generated on a remote switch, configure the switch to export information to a log host using the info-center loghost command. To improve log transmission security, set ssl-policy policy-name to specify a TCP-based SSL policy.
Configure a switch to send information to the log host at 192.168.2.2 through TCP and using an existing SSL policy named huawei123.
<HUAWEI> system-view [HUAWEI] ssl policy huawei123 [HUAWEI-ssl-policy-huawei123] quit [HUAWEI] info-center loghost 192.168.2.2 transport tcp ssl-policy huawei123