unconfigure syslog help? I can't seem to remove it

  • 0
  • 1
  • Question
  • Updated 4 years ago
Hi Everyone,

I've created a syslog entry a few weeks ago and I like to change the severity  down from 7 to 5. I was able to add the Local5 entries but not able to remove Local7. Does anyone have a experience with this?  Below is the syslong config.


Thanks in advance.



configure syslog add 172.16.56.56:514 vr VR-Default local7disable log target syslog 172.16.56.56:514 vr VR-Default local7
configure log target syslog 172.16.56.56:514 vr VR-Default local7 filter DefaultFilter severity Debug-Data
configure log target syslog 172.16.56.56:514 vr VR-Default local7 match Any
configure log target syslog 172.16.56.56:514 vr VR-Default local7 format timestamp seconds date Mmm-dd event-name none process-slot priority tag-name 

configure syslog add 172.16.56.56:514 vr VR-Default local5
disable log target syslog 172.16.56.56:514 vr VR-Default local5
configure log target syslog 172.16.56.56:514 vr VR-Default local5 filter DefaultFilter severity Debug-Data
configure log target syslog 172.16.56.56:514 vr VR-Default local5 match Any
configure log target syslog 172.16.56.56:514 vr VR-Default local5 format timestamp seconds date Mmm-dd event-name none priority tag-name 
Photo of Arison Mercado

Arison Mercado

  • 442 Points 250 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Bill Stritzinger

Bill Stritzinger, Alum

  • 6,036 Points 5k badge 2x thumb
Arison,

All you have to do is the following delete command below...  Here are the results of the add and then remove...

 Slot-1 BillShop.31 # configure syslog add 172.16.56.56:514 vr VR-Default local5
* Slot-1 BillShop.32 # sh conf | inc sys
configure snmp sysName "BillShop"
configure sys-recovery-level slot 1 reset
configure sys-recovery-level slot 2 reset
configure syslog add 172.16.56.56:514 vr VR-Default local5
disable log target syslog 172.16.56.56:514 vr VR-Default local5
configure log target syslog 172.16.56.56:514 vr VR-Default local5 filter DefaultFilter severity Debug-Data
configure log target syslog 172.16.56.56:514 vr VR-Default local5 match Any
configure log target syslog 172.16.56.56:514 vr VR-Default local5 format timestamp seconds date Mmm-dd event-name none process-slot priority tag-name
* Slot-1 BillShop.33 # conf syslog del 172.16.56.56:514 vr "VR-Default" local5
* Slot-1 BillShop.34 # sh conf | inc sys
configure snmp sysName "BillShop"
configure sys-recovery-level slot 1 reset
configure sys-recovery-level slot 2 reset
* Slot-1 BillShop.35 #

Bill