testswitch#sh run interface FastEthernet 0/7 Building configuration... Current configuration: ! interface FastEthernet0/7 duplex full speed 100 switchport trunk encapsulation dot1q switchport trunk allowed vlan 1,5-10,12 switchport mode trunk end
phantasm wrote: Doesn't "sh run | include int" do it?
cisco_trooper wrote: I have only seen the section option on 7613s. Not saying that it doesn't exist otherwise...just saying that is the only place I have actually seen it in production.
tiersten wrote: cisco_trooper wrote: I have only seen the section option on 7613s. Not saying that it doesn't exist otherwise...just saying that is the only place I have actually seen it in production. Appears to be in 12.4 and above for all routers.
shednik wrote: liven I think this is what you are looking for:testswitch#sh run interface FastEthernet 0/7 Building configuration... Current configuration: ! interface FastEthernet0/7 duplex full speed 100 switchport trunk encapsulation dot1q switchport trunk allowed vlan 1,5-10,12 switchport mode trunk end
liven wrote: I wish you could do a show run | i <some text> PLUS 5 lines above or 5 lines below etc....
liven wrote: » Yes but I don't want just interface information, I want to be able to include any section... When I only have a little bit of information. I wish you could do a show run | i <some text> PLUS 5 lines above or 5 lines below etc....