frr 配置日志

[root@host-10-10-18-195 ~]# chown frr:frr /var/log/frr/
[root@host-10-10-18-195 ~]# vtysh

Hello, this is FRRouting (version 7.3-MyOwnFRRVersion).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

host-10-10-18-195# log file /var/log/frr/frr.log
% Unknown command: log file /var/log/frr/frr.log
host-10-10-18-195# config
host-10-10-18-195(config)# log file /var/log/frr/frr.log
host-10-10-18-195(config)# write
% Unknown command: write
host-10-10-18-195(config)# exit
host-10-10-18-195# write
Note: this version of vtysh never writes vtysh.conf
Building Configuration...
Configuration saved to /etc/frr/zebra.conf
Configuration saved to /etc/frr/bgpd.conf
Configuration saved to /etc/frr/staticd.conf
host-10-10-18-195# exit

猜你喜欢

转载自www.cnblogs.com/dream397/p/12335484.html
今日推荐