Netbrain
Home NetBrain Product One-Skill-at-a-Time Search Mark Forums Read
Go BackThe Net-BrainerOne-Skill-at-a-Time cli procedure with single line output

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-12-2014, 03:14 PM
ap1436 ap1436 is offline
 
Join Date: Mar 2013
Posts: 38
Default cli procedure with single line output

I want to create a procedure for the results of the cisco command "sh snmp location". The output of this command is simply the location in the snmp field, for example:

router1#show snmp location
9216 S Major. Chicago, Il 60451


I want to capture the line "9216 S Major. Chicago, Il 60451" but can't figure out how to do that with what type of parser, keyword, paragraph, table or filter

some guidance would be great.

Thank you
Reply With Quote
Old 01-18-2016, 10:12 PM
NetBrainTAC NetBrainTAC is offline
Administrator
 
Join Date: Dec 2012
Posts: 505
Default Re: cli procedure with single line output

The Paragraph Parser is the correct method to use in this case. Check our Qapp exchange website to learn more about how to write a Qapp and also to share your Qapp with others.

http://qapp.netbraintech.com/
Reply With Quote
Reply

Bookmarks

Tags
One-Skill, Procedure

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

All times are GMT -4. The time now is 04:49 AM.
Powered by vBulletin
Copyright 2000-2010 Jelsoft Enterprises Limited.
Copyright 2009 NetBrain, Inc. All rights reserved.