File system commands

July 24, 2008 at 4:40 pm | Posted in IOS services | Leave a comment

Rack1R1#sh flash

System flash directory:
File  Length   Name/status
1   29715256  c2600-adventerprisek9-mz.124-13b.bin
2   1233     R1-initial
3   714      r1-confg
4   291459   crashinfo_20020301-002307
5   1687     eigrp-vol1-v5
[30010676 bytes used, 19796680 available, 49807356 total]
49152K bytes of processor board System flash (Read/Write)

This command is useful to make sure that the IOS on flash (e.g. just downloaded from an TFTP server) is not corrupted before reloading the router.
Rack1R1#verify flash:c2600-adventerprisek9-mz.124-13b.bin
Verifying file integrity of flash:c2600-adventerprisek9-mz.124-13b.bin…….
Computed Hash   MD5 : CC7886F52DE2ABC79DF0F7ADB414466C
CCO Hash        MD5 : E9AB5025BDEDB2C5B9013BE635AC24FE

Signature Verified
Verified flash:c2600-adventerprisek9-mz.124-13b.bin

“More” is similar to Cat in Linux or Type in DOS Windows is used to check content of a text file.

Rack1R1#more flash:eigrp-vol1-v5
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Rack1R1
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
!

Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: