The following configuration is taken from http://pennington.net/tutorial/ciscoconfparse/ccp_tutorial.html#slide3 and modified it a little bit to suit this question.