cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1679
Views
0
Helpful
3
Replies

Nesus 9k with commad "logging trap < severity No>"

Bill lo
Level 1
Level 1

At traditional switch / Router , if i want  the trap server to receive specific syslog,

i can use gloabel command : logging trap Warning

 

But at Nexus Switch (N9504), I cant use this feature by this command~

 

I will appreciate if someone can help me out.

 

Thanks!

1 Accepted Solution

Accepted Solutions

Hi,

There is this command:

logging server x.x.x.x 4 facility syslog

HTH

 

View solution in original post

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Warning is severity 4

so, you could do something like this

 

logging monitor [ severity-level ]

see table 8-1

and config examples:

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/5_x/nx-os/system_management/configuration/guide/sm_nx_os_cg/sm_5syslog.html#71793

HTH

Hi Reza ,
Thank you for your reply, But....
I think this set of commands:
terminal monitor
logging monitor [ severity-level ]
is use in "device to log messages by their severity level to console sessions."

And what i need is "log trap" send to specific server [by this command"logging host <Server_IP>"]
whith specified severity level or higher


Hi,

There is this command:

logging server x.x.x.x 4 facility syslog

HTH

 

Review Cisco Networking for a $25 gift card