fetch specific lines from file

Hi Guys,
I want to fetch only few lines from “show version” output . I have attached image of required output can someone please help how to fetch these line because line no. is not fix. Thank you in advance.Capture11.PNG

What is your goal?
What do you want to do with those lines?

(attachments)

Capture11.PNG