华为设备推送syslog到日志服务器配置

方法步骤:推送交换机syslog到日志服务器;其他设备类似操作;

配置交换机日志推送到日志主机: eg:日志主机IP地址:10.10.10.1
    system-view
    info-center channel 6 name loghost(名称随意)         此条可省略;
    info-center source default channel loghost(名称和上面对应) log state on
    info-center loghost source *******
    info-center loghost 10.10.10.1 channel loghost1
    commit
 ———————————————————————————————— 
释义
#进入用户视图
    system-view
    #指定发送消息基本,表示从0-7都发送
    info-center source default channel 2 log level debugging
    #指定从哪个接口发送
    info-center loghost source *******
    #指定远程syslog服务器ip
    info-center loghost 10.10.10.1
 ———————————————— 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值