cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
2336
Views
0
Helpful
4
Replies

how to analyze the output of "sh ver" on a stack switch?

Mohit Chauhan
Level 1
Level 1

Hi Friends,

Sometimes basic things make you go round and round. I am trying to understand the total memory, its current available free space and and the same for the flash memory.

Now i had taken "sh ver" & "sh flash" output and was trying to add the memory figures together to reach to a conclusion that the stack has total of say "x" of flash memory and "y" amount of memory.

Below is the output taken for an example:

----------------- show version ------------------

Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Thu 02-Dec-10 07:46 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02F00000

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)

espr-01-sw1 uptime is 13 weeks, 5 days, 2 hours, 5 minutes
System returned to ROM by power-on
System restarted at 09:42:51 WST Sat Jul 30 2011
System image file is "flash:/c3750-ipservicesk9-mz.122-55.SE1.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C3750-48P (PowerPC405) processor (revision J0) with 131072K bytes of memory.
Processor board ID CAT1106NJ6N
Last reset from power-on
7 Virtual Ethernet interfaces
72 FastEthernet interfaces
6 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:1A:E3:3B:7A:80
Motherboard assembly number     : 73-9675-11
Power supply part number        : 341-0029-05
Motherboard serial number       : CAT110657AY
Power supply serial number      : LIT110205JF
Model revision number           : J0
Motherboard revision number     : A0
Model number                    : WS-C3750-48PS-E
System serial number            : CAT1106NJ6N
SFP Module assembly part number : 73-7757-03
SFP Module revision Number      : A0
SFP Module serial number        : CAT11035PK8
Top Assembly Part Number        : 800-26377-03
Top Assembly Revision Number    : G0
Version ID                      : V05
CLEI Code Number                : COM1Y00ARB
Hardware Board Revision Number  : 0x01


Switch Ports Model              SW Version            SW Image                
------ ----- -----              ----------            ----------              
*    1 52    WS-C3750-48P       12.2(55)SE1           C3750-IPSERVICESK9-M    
     2 26    WS-C3750V2-24PS    12.2(55)SE1           C3750-IPSERVICESK9-M    


Switch 02
---------
Switch Uptime                   : 13 weeks, 5 days, 1 hour, 43 minutes
Base ethernet MAC Address       : 20:37:06:DB:F1:00
Motherboard assembly number     : 73-12633-01
Power supply part number        : 341-0266-03
Motherboard serial number       : FDO1523293A
Power supply serial number      : DCA1518H2NJ
Model revision number           : P0
Motherboard revision number     : B0
Model number                    : WS-C3750V2-24PS-S
System serial number            : FDO1523Y15A
Top assembly part number        : 800-33158-02
Top assembly revision number    : A0
Version ID                      : V06
CLEI Code Number                : CMMEE00BRA

Configuration register is 0xF

------------------ show flash: ------------------

Directory of flash:/

    2  -rwx         976   Mar 1 1993 08:01:35 +08:00  vlan.dat
    3  -rwx    12930780  Jul 30 2011 09:32:00 +08:00  c3750-ipservicesk9-mz.122-55.SE1.bin
    5  -rwx       39974  Oct 24 2011 19:12:25 +08:00  config.text
    6  -rwx        4915  Oct 24 2011 19:12:25 +08:00  private-config.text
    7  -rwx        3096  Oct 24 2011 19:12:25 +08:00  multiple-fs

15998976 bytes total (3016704 bytes free)

------------------ dir nvram: ------------------


Directory of nvram:/

  467  -rw-       39974                    <no date>  startup-config
  468  ----        4915                    <no date>  private-config
    1  ----          35                    <no date>  persistent-data
    2  -rw-         584                    <no date>  IOS-Self-Sig#3636.cer
    3  -rw-           0                    <no date>  ifIndex-table

524288 bytes total (476275 bytes free)

------------------ show flash2: ------------------

Directory of flash2:/

    2  -rwx    12930780   Mar 1 1993 08:45:15 +08:00  c3750-ipservicesk9-mz.122-55.SE1.bin
    3  -rwx        4915  Oct 24 2011 19:12:29 +08:00  private-config.text
    6  -rwx         976  Jul 30 2011 10:07:43 +08:00  vlan.dat
    5  -rwx       39974  Oct 24 2011 19:12:28 +08:00  config.text
    7  -rwx        1698   Mar 1 1993 08:01:51 +08:00  config.text.backup
    8  -rwx        1939   Mar 1 1993 08:01:51 +08:00  private-config.text.backup
    9  -rwx        3096  Jul 30 2011 10:07:49 +08:00  multiple-fs

27998208 bytes total (14903808 bytes free)

------------------------------------

Thanks guys!

Regards,

Mohit

4 Replies 4

Latchum Naidu
VIP Alumni
VIP Alumni

Hi Mohit,

The stack will show you for the details like show version and show flash for all switches like switch and switch 02 like that...

So what you have the above information from show version and show flash you can get to analyze the details.

Please rate the helpfull posts.
Regards,
Naidu.

Latchum Naidu wrote:

Hi Mohit,

The stack will show you for the details like show version and show flash for all switches like switch and switch 02 like that...

So what you have the above information from show version and show flash you can get to analyze the details.

Please rate the helpfull posts.
Regards,
Naidu.

Hi Naidu

Would be great help if you could explain that using my example that i had pasted. thats the reason i had mentioned the complete output so that we can make concept more clearer.

cheers!

Mohit

Leo Laohoo
Hall of Fame
Hall of Fame
Sometimes basic things make you go round and round. I am trying to understand the total memory, its current available free space and and the same for the flash memory.

You have two switches in a stack.  So to check what available flash memory you have per switch do the following:

1.  "sh switch status" - This will tell you which switch is stack member number 1, 2, and so on;

2.  "dir flash1:" or "dir flash2:" (and so on) - You get the message.

Hi Mohit,

It seems you have two switches in one stack.
You have following IOS version 12.2(55)SE1 
In the first switch you have total 15998976 bytes memory and free 3016704 bytes
In second switch you have total 27998208 bytes and free 14903808 bytes.


And as leo said, you can use that show commands to get the info.

Please rate the helpfull posts.
Regards,
Naidu.