line vty 0 4 exec prompt timestamp Tim
At 05:25 PM 11/14/2007 -0500, Andriy A. Yerofyeyev observed: >I just got access to cisco switch which was configured strange enough. >It show me two additional show commands (part of) before output of each >show command. >Here is an example: > > >cat1#sh ver >Load for five secs: 4%/0%; one minute: 4%; five minutes: 4% >No time source, *22:06:56.646 UTC Sat May 22 1993 >Cisco Internetwork Operating System Software >IOS (tm) C2970 Software (C2970-I6L2-M), Version 12.1(19)EA1d, RELEASE >SOFTWARE (fc1) >Copyright (c) 1986-2004 by cisco Systems, Inc. >Compiled Mon 05-Apr-04 20:42 by antonino >Image text-base: 0x00003000, data-base: 0x006A5954 > >ROM: Bootstrap program is C2970 boot loader >BOOTLDR: C2970 Boot Loader (C2970-HBOOT-M) Version 12.1(14r)EA1a, >RELEASE SOFTWARE (fc1) > >cat1 uptime is 11 weeks, 6 days, 3 hours, 6 minutes >System returned to ROM by power-on >System image file is >"flash:/c2970-i6l2-mz.121-19.EA1d/c2970-i6l2-mz.121-19.EA1d.bin" > >cisco WS-C2970G-24TS-E (PowerPC405) processor (revision F0) with >118776K/12288K bytes of memory. >Processor board ID CSG0848P0MN >Last reset from power-on >3 Virtual Ethernet/IEEE 802.3 interface(s) >28 Gigabit Ethernet/IEEE 802.3 interface(s) >The password-recovery mechanism is enabled. > >512K bytes of flash-simulated non-volatile configuration memory. >Base ethernet MAC Address : 00:12:80:F2:85:00 >Motherboard assembly number : 73-9095-05 >Power supply part number : 341-0045-01 >Motherboard serial number : CAT084801E7 >Power supply serial number : PHI082300TB >Model revision number : F0 >Motherboard revision number : A0 >Model number : WS-C2970G-24TS-E >System serial number : CSG0848P0MN >Top Assembly Part Number : 800-24261-02 >Top Assembly Revision Number : B0 >Hardware Board Revision Number : 0x02 > > >Switch Ports Model SW Version SW Image >------ ----- ----- ---------- ---------- >* 1 28 WS-C2970G-24TS-E 12.1(19)EA1d C2970-I6L2-M > > >You can easily figure out what I am talking about.(first two lines) > >Just wondering , how it can be ? and how I can configure such behavior ? > >I thought , may be it some game with aliases, but it still not clear for >me.. > >sh run | i alias >alias interface x do >alias interface wr do wr >alias interface e end >alias interface sh sh t >alias interface ns o shut >alias configure x do >alias configure sv s o ver | i IO >alias configure wg do wr >alias configure srb do sho runn | b >alias configure e sr do sho runn >alias configure sri do sho runn | i >alias configure sb do sho ip int brie >alias configure ae alias exec >alias exec ct conf t >alias exec sr sho runn >alias exec sri sho runn | i >alias exec srb sho runn | b d m G t >alias exec srs sho runn | s W >alias exec sb sho ip int brie >alias exec e logo >alias exec sv sho ver | i IOS >alias exec sl sho log >alias exec sli sho og | i >alias exec scb sho cdp nei det | i ^Lo|^Ti|^Dev|^ _IP a|^ nt|IOS|^Nat|^--- >alias exec sir sho ip route >alias exec cl cle log >alias exec spc sho proc c >alias exec spcb sho proc c | e [0-9]__0\.00 > n >alias exec sa sho arp >alias exec srr sho int | i ^[A-Z]|rate_[1-9] >alias exec urpf sho ip int | i ^[A-Z,Loa,Tim]|_verif >alias exec sai sho arp | i ^[Loa,Tim,Pro,^_.*$]| >alias exec sal sho a cess-l > > >_______________________________________________ >cisco-nsp mailing list [email protected] >https://puck.nether.net/mailman/listinfo/cisco-nsp >archive at http://puck.nether.net/pipermail/cisco-nsp/ Tim Stevenson, [EMAIL PROTECTED] Routing & Switching CCIE #5561 Technical Marketing Engineer, Data Center BU Cisco Systems, http://www.cisco.com IP Phone: 408-526-6759 ******************************************************** The contents of this message may be *Cisco Confidential* and are intended for the specified recipients only. _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
