Zhone 1813 Guia Do Utilizador

Página de 135
 
 
 
Command Line Interface User’s Guide 
Loglevel can be given as exception, error or info. 
<module name> 
Module name can be all, ip, tcp, udp, sockets, rawip, icmp, arp, igmp, app, cdcli, if, telnet, dns, 
snmp, http, ping, ftp, ftpd, tftp, bootp, dhcpc, dhcps, qosbw, ipsec, ike, nat, firewall, diffserv, 
logger, queuing, ipoa, pppoa, ethoa, httpproxy, ftpproxy. 
 
EXAMPLE 
log –o all 
This command will displays all the logged messages. 
 
log –o firewall 
This command will display messages logged from the firewall module. 
 
log –o error 
This command will display messages logged based on the log level “error”. 
 
log –o firewall error 
This command will display the messages logged based on the log level “error” from the firewall 
module. 
 
2.3.3 
logFtpServer 
logFtpServer [server_address] [username] [password] 
This command is used to configure the ftp server address, user login and password to store the 
logger messages. 
 
EXAMPLE 
logftpserver 192.168.1.100 snaidu 12345 
This command will configure the ftp server address as 192.168.1.100, username as snaidu and 
password as 12345. While uploading the logged messages it opens a connection to the ftp server 
on 192.168.1.100 and login as “snaidu”. Then it will store the log messages in the file named 
“fwlogfile”. 
 
2.3.4 
loginfo 
loginfo 
1800-A2-GB20-00 
                  
19