09-11-2013 07:57 PM - edited 03-01-2019 07:25 AM
Guys, is there any information published on nexus egrep / grep. Specifially I need a conditional OR statement to work ; i.e. to grep against switch logs to give a listing of both "log statement a" and "log statement b".
09-11-2013 10:42 PM
sh log | egrep "option a|option b"Welcome to Linuxland. :) You can find many other info in grep's manpage and on sites about regular expressions.A few words on the command but not the regex can be found here: http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/nx-os/fundamentals/configuration/guide/b_Cisco_Nexus_7000_Series_NX-OS_Fundamentals_Configuration_Guide_Release_5.x_chapter_0100.html#con_1230640Sent from Cisco Technical Support Android App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Log in to Community