Chapter 11 Network Management Configuration
Command
Function
ZXR10(config)#
syslog-server host
<
ip-address
>[
fport
<
fport
>][
lport
<
lport
>][
alarmlog
|
alarmlog
|
alarmlog
]
This sets background syslog
server parameters.
10. To display log information, use the following command.
Command
Function
ZXR10(config)#
show logging alarm
{[
typeid
<
type
>][
start-date
<
date
>][
end-date
<
date
>][
level
<
level
>]}
This displays log information.
Now, the supported alarm information types contain ENVIRO-
MENT, BOARD, PORT, ROS, DATABASE, OAM, SECURITY, OSPF,
RIP, BGP, DRP, TCP-UDP, IP, IGMP, TELNET, ARP, ISIS, ICMP,
SNMP and RMON.
11. To
save
alarm
logging
information
in
location
flash:
data/log.dat, use the following command.
Command
Function
ZXR10#
write logging
This saves alarm logging
information in location flash:
data/log.dat.
12. To configure packets, use the following command.
Command
Function
ZXR10#
syslog-server facility
This distinguishes different
servers by this field.
13. To designate source address in syslog, use the following com-
mand.
Command
Function
ZXR10#
syslog-server source
<
ip-address
>
This designates source address
in syslog.
Syslog Configuration Example
The following is a system log setting example. When configuring,
log function must be enabled with the
logging on
command .
ZXR10(config)#logging on
ZXR10(config)#logging buffer 100
ZXR10(config)#logging mode FULLCLEAR
ZXR10(config)#logging console warnings
ZXR10(config)#logging level errors
ZXR10(config)#logging ftp notificational 168.1.70.100
target target zxralarm.log
ZXR10(config)# syslog-server host 192.168.0.100
Confidential and Proprietary Information of ZTE CORPORATION
123