華爲設備推送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
 ———————————————— 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章