cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2399
Views
0
Helpful
1
Replies

Nexus command for logging discriminator?

Warren Sullivan
Level 1
Level 1

Hi all,

I have a log message that i want to supress, from the buffer, console, monitor and from being sent to our syslog collector, this is the log;

2015 Nov 9 14:29:14.389 Core-MAX-EMP-9372PX-01 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by admin on vsh.14149
2015 Nov 9 14:30:16.400 Core-MAX-EMP-9372PX-01 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by admin on vsh.14195
2015 Nov 9 14:31:18.406 Core-MAX-EMP-9372PX-01 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by admin on vsh.14266
2015 Nov 9 14:32:20.405 Core-MAX-EMP-9372PX-01 %VSHD-5-VSHD_SYSLOG_CONFIG_I: Configured from vty by admin on vsh.14340

In IOS i could do this via logging discriminator;

logging discriminator Supress-CAT severity drops 5 facility drops VSHD mnemonics drops VSHD_SYSLOG_CONFIG_I

!

logging console discriminator Supress-CAT

logging buffered discriminator Supress-CAT 1000000

logging monitor discriminator Supress-CAT

logging host 10.60.1.211 discriminator Supress-CAT

But this command isnt supported in NX-OS

Is there a suitable replacement that you guys have found?

Thanks in advance!

Warren

1 Reply 1

Arun Yadav
Cisco Employee
Cisco Employee

Hi Warren,

logging discriminator is not available in NX-OS, it is something IOS specific configuration.

In Nexus if you want to suppress certain logs than you need to modify the logging level for that particular process or protocol.

ArunYadav_0-1692397030626.png

In Nexus , you will only get below option in logging :-

ArunYadav_1-1692397068950.png

 

 

Review Cisco Networking for a $25 gift card