From: Kenny Sallee (mischa@xxxxxxxxxxxxxx)
Date: Thu Aug 31 2000 - 18:19:15 GMT-3
That's cool. Check this out too:
r5#sh run ?
interface Show interface configuration
| Output modifiers
<cr>
r5#sh run | ?
begin Begin with the line that matches
exclude Exclude lines that match
include Include lines that match
You can use regular expressions also. So you can do a "sh run | begin
router ospf"....
----- Original Message -----
From: "Kevin M. Woods" <kev@nil.org>
To: <Dana.L.Steffey@seagate.com>
Cc: "Tony Medeiros" <tonygreat@home.com>; <sam@chinet.com>;
<kbaumgar@cisco.com>; <ccielab@groupstudy.com>
Sent: Thursday, August 31, 2000 1:25 PM
Subject: Re: My favorate alias commands (was Inverse ARP and Subinterfaces)
> Add running to the command, e.g. "s run int f1/0".
>
> Kevin
>
> // Tony -
> //
> // Can you check your command where you say a "s inter f1/0" shows you a
the
> // running config for that interface only.
> //
> // "show interface f1/0" - on every IOS I have ever worked on including
the
> // 12.0.9 that I am working on now gives me the stat's for the interface,
not
> // the running config.
> //
> // i.e.
> //
> // NRM-Hub#sh int et4/0
> // Ethernet4/0 is up, line protocol is up
> // Hardware is cxBus Ethernet, address is 0060.7089.a880 (bia
> // 0060.7089.a880)
> // Description: Link to NW5 EDS FW
> // Internet address is 192.168.95.1/24
> // MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load
1/255
> // Encapsulation ARPA, loopback not set, keepalive set (10 sec)
> // ARP type: ARPA, ARP Timeout 04:00:00
> // Last input 00:00:07, output 00:00:07, output hang never
> // Last clearing of "show interface" counters 2w1d
> // Queueing strategy: fifo
> // Output queue 0/300, 0 drops; input queue 0/300, 0 drops
> // 5 minute input rate 3000 bits/sec, 2 packets/sec
> // 5 minute output rate 2000 bits/sec, 3 packets/sec
> // 1308510 packets input, 660949993 bytes, 0 no buffer
> // Received 3 broadcasts, 0 runts, 0 giants, 0 throttles
> // 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
> // 0 input packets with dribble condition detected
> // 1409375 packets output, 237615987 bytes, 0 underruns
> // 0 output errors, 252 collisions, 0 interface resets
> // 0 babbles, 0 late collision, 0 deferred
> // 0 lost carrier, 0 no carrier
> // 0 output buffer failures, 0 output buffers swapped out
> //
> // I would be really interested in a command that would show me the
running
> // config for a specific interface because pressing the space bar through
some
> // of the running configs on my 7513's get's old real fast.
> //
> // Thanks,
> //
> // Dana Steffey, CCNP, CCNP-Voice, CCDP, CCNA WAN Switching, MCSE, MCT,
CNA,
> // Electrical Engineer
> // 2nd Lab attempt: November 1st, Halifax
> // Seagate Technology
> // Minneapolis, MN
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:34 GMT-3