From: Jim Brown (Jim.Brown@xxxxxxxxxxxxx)
Date: Fri Jan 11 2002 - 12:27:27 GMT-3
Isn't this alias a better solution:
alias exec sii show ip interface brief
This will also show you the ip address as well as the interface state. The
only thing missing is the mask.
-----Original Message-----
From: Neil G. Legada [mailto:nglegada@hotmail.com]
Sent: Thursday, January 10, 2002 7:20 PM
To: Bryan Ginman; CCIE
Subject: Re: Great trick
You can make use of this also:
alias exec sh3 show run | include ^interface |^ ip address
This will display all the IP addresses configured on all the interfaces.
Quite useful on 1-day lab since all routers are already on 12.1.
Regards,
Neil
CCIE# 8576
----- Original Message -----
From: "Bryan Ginman" <ginmanb@westnet.com>
To: "CCIE" <ccielab@groupstudy.com>
Sent: Friday, January 11, 2002 9:13 AM
Subject: Great trick
> This is a great trick I learned from someone on this list awhile ago.
> I by no means take credit for it.
>
> alias exec s1 sho run | begin
> alias exec s2 sho run | include
>
> This parses the config quickly to give for s1 say "s1 router bgp" it
> will sho the config from router bgp AS#
>
> "s2 dlsw" for example will show you all lines in the config that have
> dlsw in it. Thought it was neat and wanted to pass it along.
>
> Cheers,
>
> Bryan
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:25 GMT-3