Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

3560 show mem

Dear All

Please check the output, it shows around 52 MB of total memory whereas show version shows 128 MB. Can someone explain the different.

Switch#sh mem

                                       Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)

         Processor    4758F84    52791216    33016040   19775176    18685748    16768820

      I/O    6800000                      8388608     5514904     2873704     2701584     2707320

Driver te                       2C00000     4194304          44     4194260     4194260     4194260

Switch#sh version
Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 15.0(1)SE2, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Thu 22-Dec-11 00:16 by prod_rel_team

ROM: Bootstrap program is C3560E boot loader
BOOTLDR: C3560E Boot Loader (C3560E-HBOOT-M) Version 12.2(44r)SE3, RELEASE SOFTWARE (fc3)

Switch uptime is 4 hours, 48 minutes
System returned to ROM by power-on
System image file is "flash:c3560e-universalk9-mz.150-1.SE2.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.

License Level: ipbase
License Type: Permanent
Next reload license Level: ipbase

cisco WS-C3560E-48PD (PowerPC405) processor (revision F0) with 131072K bytes of memory.
Processor board ID FDO1330R1AT
Last reset from power-on
1 Virtual Ethernet interface
1 FastEthernet interface
52 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:26:52:87:D4:80
Motherboard assembly number     : 73-11178-13
Motherboard serial number       : FDO133109DP
Model revision number           : F0
Motherboard revision number     : A0
Model number                    : WS-C3560E-48PD-S
Daughterboard assembly number   : 800-29737-01
Daughterboard serial number     : FDO133103QJ
System serial number            : FDO1330R1AT
Top Assembly Part Number        : 800-28926-01
Top Assembly Revision Number    : B0
Version ID                      : V03
CLEI Code Number                : COMSD00ARB
Hardware Board Revision Number  : 0x00


Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 54    WS-C3560E-48PD     15.0(1)SE2            C3560E-UNIVERSALK9-M


Configuration register is 0xF

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

3560 show mem

I guess you are adding apples to oranges. Free memory has nothing to do with total memory.

For total memory you need to add

Processor  52791216

I/O              8388608

Driver          4194304

plus the hidden amount used by IOS itself. Since you are using a quite new IOS, which contains lots of new features and more important has a new base code, it is expected that IOS gets far more memory allocated than previous releases.

About the 19Mb of free preocessor memory I don't see anything strange either. Depending on features being used and topology configured this can be a perfectly fine value. There is no right value for that, each component takes all the memory it needs.

The only problem in that sense incase would be a memory leaking, which is a process which is consuming more and more memory without releasing it.

So in case you are somehow worried about that value (I would not know why anyway.. but let's just do this for the sake of the discussion) you should monitor it over time, say every 6, 12 or 24 hours (up to you). If you see that the value oscillates (goes up and down) the switch is fine. If you see that the free memory is constantly ging down and never go up it might represents an issue, a memory leaking phenomenom as I wrote above.

Riccardo

4 REPLIES
Cisco Employee

3560 show mem

Hi,

those values don't consider the memory taken by IOS itself.

It is documented on:

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_tech_note09186a00807ccc79.shtml#mem

"Total is the total memory allocated to the processor or I/O memory. This value does not include the amount of memory taken up by the Cisco IOS software."

please rate and close the thread accordingly.

regards,

Riccardo

New Member

3560 show mem

hi

thnx for ur response, cam u plz elaborate further , from the above output , free memory is only 19 mb, however, show version shows 131072K bytes of memory.    this switch is not in production, is 19 mb free memory normal ?

Cisco Employee

3560 show mem

I guess you are adding apples to oranges. Free memory has nothing to do with total memory.

For total memory you need to add

Processor  52791216

I/O              8388608

Driver          4194304

plus the hidden amount used by IOS itself. Since you are using a quite new IOS, which contains lots of new features and more important has a new base code, it is expected that IOS gets far more memory allocated than previous releases.

About the 19Mb of free preocessor memory I don't see anything strange either. Depending on features being used and topology configured this can be a perfectly fine value. There is no right value for that, each component takes all the memory it needs.

The only problem in that sense incase would be a memory leaking, which is a process which is consuming more and more memory without releasing it.

So in case you are somehow worried about that value (I would not know why anyway.. but let's just do this for the sake of the discussion) you should monitor it over time, say every 6, 12 or 24 hours (up to you). If you see that the value oscillates (goes up and down) the switch is fine. If you see that the free memory is constantly ging down and never go up it might represents an issue, a memory leaking phenomenom as I wrote above.

Riccardo

New Member

3560 show mem

Dear Riccardo

Thanks for the explanation.

1741
Views
10
Helpful
4
Replies