display content of a file in IOS

From: Sadiq Yakasai (sadiqtanko@gmail.com)
Date: Tue Mar 11 2008 - 16:16:18 ARST


Guys,

A colleague just stumbled on how to display the content of a file on
flash in IOS and I thot its neat: Mayb most of you know this
already....

R1#dir flash:
Directory of flash:/

    1 -rw- 27002256 Oct 24 2005 15:51:30 +00:00
c2801-adventerprisek9-mz.124-3a.bin
    2 -rw- 865 Aug 14 2007 14:17:40 +00:00 blank
    3 -rw- 1084 Aug 14 2007 13:44:14 +00:00 R1

128180224 bytes total (101167104 bytes free)

R1#more flash:blank
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!

Sadiq



This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:53 ART