- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
response filtering where most of the lines start with the same command
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-21-2012 08:31 AM
Seen below is one of the outputs I've tried using regex to pull out the line with the Host Group Count. I also need to filter the response to show only the lines that start with ip4.igmp.querier in order to drop off the variation that occurs at the bottom of the response. I've tried
^.*Host Group Count.*$ to match for the count but I don't see any change in the response map. I tried ^ip4.igmp.querier.*$ to match for the lines I need but I still don't see what I need. what am I doing wrong?
ip4.igmp.priority = 1
ip4.igmp.querier =
ip4.igmp.querier = Querier on bridge0 ( Host Group Count: 65
ip4.igmp.querier = Querier flags: ENABLED, FAST_UPDATE_ENABLED
ip4.igmp.querier = Next General Query: 6.33s
ip4.igmp.querier = Control Values:
ip4.igmp.querier = GMI: 260.00s
ip4.igmp.querier = LMQT: 2.00s
ip4.igmp.querier = OHPI: 260.00s
ip4.igmp.querier = Other Querier Interval: 255.00s
ip4.igmp.querier = Startup Query Interval: 31.25s
ip4.igmp.querier = Startup Queries: 2
ip4.igmp.querier = Last Member Queries: 2
ip4.igmp.querier = Configured Values:
ip4.igmp.querier = IGMP Version: V3
ip4.igmp.querier = Robustness: 2
ip4.igmp.querier = Query Interval: 125s
ip4.igmp.querier = Query Response Interval: 10.00s
ip4.igmp.querier = LMQI: 1.00s
ip4.igmp.querier = Max Host-Groups: 256
ip4.igmp.querier = Max Sources Per HG: 64
ip4.igmp.querier = Statistics:
ip4.igmp.querier = Query Count: 534
ip4.igmp.querier = Invalid Type: 0
ip4.igmp.querier = Allocation Failures: 0
ip4.igmp.querier = Other Querier Events: 0
ip4.igmp.querier = Host-Groups Exceeded: 0
ip4.igmp.querier = Sources Exceeded: 0
ip4.igmp.querier = GRP 239.192.1.14
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T233.50}
ip4.igmp.querier = GRP 239.192.1.30
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T231.47}
ip4.igmp.querier = GRP 239.192.1.46
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T234.06}
ip4.igmp.querier = GRP 239.192.1.62
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T231.38}
ip4.igmp.querier = GRP 239.192.1.15
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T231.23}
ip4.igmp.querier = GRP 239.192.1.31
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T229.97}
ip4.igmp.querier = GRP 239.192.1.47
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T235.08}
ip4.igmp.querier = GRP 239.192.1.63
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T237.88}
ip4.igmp.querier = GRP 239.192.1.12
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T235.44}
ip4.igmp.querier = GRP 239.192.1.28
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T234.20}
ip4.igmp.querier = GRP 239.192.1.44
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T234.73}
ip4.igmp.querier = GRP 239.192.1.60
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T229.88}
ip4.igmp.querier = GRP 239.192.1.13
ip4.igmp.querier = HOST 192.168.1.65 v3 INCLUDE {172.20.5.100 T229.08}
ip4.igmp.querier = GRP 2
ip4.igmp.querier = <response truncated>
ip4.igmp.querier =
ip4.igmp.proxy =
ip4.igmp.proxy = Forwarding Multicast from FWD 239.192.1.14 to FWD 239.192.1.30 to FWD 239.192.1.46 to FWD 239.192.1.62
to FWD 239.192.1.15 to FWD 239.192.1.31 to FWD 239.192.1.47 to FWD 239.192.1.63 to FWD 239.192.1.12 to FWD 239.192.1.28
to FWD 239.192.1.44 to FWD 239.192.1.60 to FWD 239.192.1.13 to FWD 239.192.1.29 to FWD 239.192.1.45 to FWD 239.192.1.61
to FWD 239.192.1.10 to FWD 239.192.1.26 to FWD 239.192.1.42 to FWD 239.192.1.58 to FWD 239.255.255.250 to FWD 239.192.1.
11 to FWD 239.192.1.27 to FWD 239.192.1.43 to FWD 239.192.1.59 to FWD 239.192.1.8 to FWD 239.192.1.24 to FWD 239.192.1.4
0 to FWD 239.192.1.56 to FWD 239.192.1.9 to FWD 239.192.1.25 to FWD 239.192.1.41 to FWD 239.192.1.57 to FWD 239.192.1.6
to FWD 239.192.1.22 to FWD 239.192.1.38 to FWD 239.192.1.54 to FWD 239.192.1.7 to FWD 239.192.1.23 to FWD 239.192.1.39 t
o FWD 239.192.1.55 to FWD 239.192.1.4 to FWD 239.192.1.20 to FWD 239.192.1.36 to FWD 239.192.1.52 to FWD 239.192.1.5 to
FWD 239.192.1.21 to FWD 239.192.1.37 to FWD 239.192.1.53 to FWD 239.192.1.2 to FWD 239.192.1.18 to FWD 239.192.1.34 to F
WD 239.192.1.50 to FWD 239.192.1.3 to FWD 239.192.1.19 to FWD 239.192.1.35 to FWD 239.192.1.51 to FWD 239.192.1.16 to FW
D 239.192.1.32 to FWD 239.192.1.48 to FWD 239.192.1.64 to FWD 239.192.1.1 to FWD 239.192.1.17 to FWD 239.192.1.33 to FWD
239.192.1.49 to
Re: response filtering where most of the lines start with the same command
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-21-2012 01:22 PM
Could you please attach two sample txt files, one file with complete output of the command and another is with filtered output (the output what you are expecting).
Thanks,
Lakshmi
Re: response filtering where most of the lines start with the same command
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-21-2012 01:34 PM
I've attached the output of the entire response and the output I need. If I can see examples of what works, I should be able to go on from there.
thanks
Re: response filtering where most of the lines start with the same command
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-21-2012 04:07 PM
Hi Patti,
Please check the attached examples.
Thanks,
Lakshmi
