From: Greg Wendel (gwendel@gmail.com)
Date: Thu Jul 24 2008 - 23:27:59 ART
Thanks for the reply Tyson,
I am a huge fan of the | section feature. I was surprised to see that every
time you do a show run it gathers the information from different sections of
memory. That explains why dynamips show running is so much slower then show
startup.
On Thu, Jul 24, 2008 at 10:24 PM, Tyson Scott <tscott@ipexpert.com> wrote:
> Greg,
>
> That is a good feature. But as they are not running 7600 SRB software not
> sure that this information applies. but if you haven't already used it you
> can use the section parser to get only parts of the configuration you want
> to use.
>
> R1#sh running-config | section router bgp
> router bgp 1
> no synchronization
> bgp log-neighbor-changes
> network 10.2.1.1 mask 255.255.255.255
> network 10.3.1.1 mask 255.255.255.255
> neighbor 145.45.4.4 remote-as 4
> neighbor 145.45.4.4 ebgp-multihop 255
> neighbor 145.45.4.4 update-source Loopback1
> no auto-summary
> R1#
>
> R5#sh run | s route-map
> ip policy route-map NODF
> neighbor 145.45.6.6 route-map cwneigh in
> neighbor 145.45.9.9 route-map ccwneigh in
> route-map NODF permit 10
> set ip df 0
> route-map ccwneigh permit 10
> match ip address 42
> route-map ccwneigh permit 20
> match ip address 44
> set weight 32000
> route-map ccwneigh permit 30
> route-map cwneigh permit 10
> match ip address 42
> route-map cwneigh permit 20
> match ip address 43
> set weight 32000
> route-map cwneigh permit 30
>
> R5#sh run | sec ^route-map
> route-map NODF permit 10
> set ip df 0
> route-map ccwneigh permit 10
> match ip address 42
> route-map ccwneigh permit 20
> match ip address 44
> set weight 32000
> route-map ccwneigh permit 30
> route-map cwneigh permit 10
> match ip address 42
> route-map cwneigh permit 20
> match ip address 43
> set weight 32000
> route-map cwneigh permit 30
> R5#
>
> Regards,
>
> Tyson Scott - CCIE #13513 R&S and Security
> Technical Instructor - IPexpert, Inc.
>
> Telephone: +1.810.326.1444
> Cell: +1.248.504.7309
> Fax: +1.810.454.0130
> Mailto: tscott@ipexpert.com
>
> Join our free online support and peer group communities:
> http://www.IPexpert.com/communities
>
> IPexpert - The Global Leader in Self-Study, Classroom-Based, Video On
> Demand
> and Audio Certification Training Tools for the Cisco CCIE R&S Lab, CCIE
> Security Lab, CCIE Service Provider Lab , CCIE Voice Lab and CCIE Storage
> Lab Certifications.
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Greg
> Wendel
> Sent: Thursday, July 24, 2008 10:13 PM
> To: Cisco certification
> Subject: Alternative to show running command. show running-config partition
>
> From Ivan Pepelnjak's excellent site.
> http://blog.ioshints.info/
>
> I saw this link
>
>
> http://www.cisco.com/en/US/docs/ios/12_2sr/12_2srb/feature/guide/cnfprts.htm
> l
>
> Here is an example from the link.
>
> gt3-7200-3# *show running-config partition ?
> *
>
> access-list All access-list configurations
>
> boot All boot configurations
>
> class-map All class-map configurations
>
> global-cdp All global cdp configurations
>
> interface All Interface specific Configurations
>
> ip-as-path All IP as-path configurations
>
> ip-community All IP community list configurations
>
> ip-domain-list All ip domain list configurations
>
> ip-static-routes All IP static configurations
>
> line All line mode configurations
>
> policy-map All policy-map configurations
>
> route-map All route-map configurations
>
> router All routing configurations
>
> service All service configurations
>
> snmp All SNMP configurations
>
> gt3-7200-3# *show running-config partition access-list*
>
> Building configuration...
>
>
> Current configuration : 87 bytes
>
> !
>
> !
>
> !
>
> !
>
> access-list 90 permit 0.0.0.0 1.2.3.5
>
> access-list 100 permit 10 any any
>
> !
>
> end
>
>
> gt3-7200-3# *show running-config | include access-list*
>
> access-list 90 permit 0.0.0.0 1.2.3.5
>
> access-list 100 permit 10 any any
>
> gt3-7200-3#
>
>
>
> --
> Gregory Wendel
> Springfield VA, 22153
>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
-- Gregory Wendel Springfield VA, 22153
This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:57 ART