The Net-Brainer

The Net-Brainer (
-   One-Skill-at-a-Time (
-   -   cli procedure with single line output (

ap1436 11-12-2014 03:14 PM

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

NetBrainTAC 01-18-2016 10:12 PM

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.

All times are GMT -4. The time now is 06:32 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2009 NetBrain, Inc. All rights reserved.