I'm trying to figure out a way to send arbitrary text to the buffer (log) on the NX-OS platform.
In IOS you can do this with 'send log 6 hello world' (send log [severity] [text to send])
I've yet to figure out how to do this on nexus. Using the same format on NX-OS we get a broadcast message to other users logged in, but it does not commit to the log and thus not to the syslog.
'sh accounting log' is garbage for our purposes.
Hi, I think you can not do that on NX-OS, you should send your message to a specific file
switch(config)# logging logfile my_log 6
Take a look a the doc below