Configuration Guide Syslog Configuration
Examples of Log Configurations
Here is a typical example to enable the logging function:
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# ip address 192.168.200.42 255.255.255.0
Ruijie(config-if)# exit
Ruijie(config)# service sequence-numbers //Enable sequence number
Ruijie(config)# service timestamps debug datetime //Enable debug
information timestamp, in date format
Ruijie(config)# service timestamps log datetime //Enable log information
timestamp, in date format
Ruijie(config)# logging 192.168.200.2 //Specify the syslog
server address
logging trap debugging //The log information of
all levels will be sent to syslog server
Ruijie(config)# en