When you configure a switch, it needs to use the configuration. It also needs to be able to retain the configuration in case the switch loses power. Cisco switches contain randomaccess memory (RAM) to store data while Cisco IOS is using it, but RAM loses its contents when the switch loses power or is reloaded. To store information that must be retained when the switch loses power or is reloaded, Cisco switches use several types of more permanent memory, none of which has any moving parts. By avoiding components with moving parts (such as traditional disk drives), switches can maintain better uptime and availability
The following list details the four main types of memory found in Cisco switches, as well as the most common use of each type:
■ RAM: Sometimes called DRAM, for dynamic random-access memory, RAM is used by the switch just as it is used by any other computer: for working storage. The running (active) configuration file is stored here.
■ Flash memory: Either a chip inside the switch or a removable memory card, flash memory stores fully functional Cisco IOS images and is the default location where the switch gets its Cisco IOS at boot time. Flash memory also can be used to store any other files, including backup copies of configuration files.
■ ROM: Read-only memory (ROM) stores a bootstrap (or boothelper) program that is loaded when the switch first powers on. This bootstrap program then finds the full Cisco IOS image and manages the process of loading Cisco IOS into RAM, at which point Cisco IOS takes over operation of the switch.
■ NVRAM: Nonvolatile RAM (NVRAM) stores the initial or startup configuration file that is used when the switch is first powered on and when the switch is reloaded.
عند تكوين محول، يحتاج إلى استخدام التكوين. كما يحتاج إلى القدرة على الاحتفاظ بالتكوين في حالة فقد المحول للطاقة. تحتوي محولات Cisco على ذاكرة الوصول العشوائي (RAM) لتخزين البيانات أثناء استخدام Cisco IOS لها، ولكن ذاكرة الوصول العشوائي تفقد محتوياتها عند فقدان المحول للطاقة أو إعادة تحميله. لتخزين المعلومات التي يجب الاحتفاظ بها عند فقدان المحول للطاقة أو إعادة تحميله، تستخدم محولات Cisco عدة أنواع من الذاكرة الأكثر ديمومة، والتي لا تحتوي أي منها على أجزاء متحركة. بتجنب المكونات ذات الأجزاء المتحركة (مثل محركات الأقراص التقليدية)، يمكن للمحولات الحفاظ على زمن تشغيل وتوفر أفضل.
تفاصيل القائمة التالية الأنواع الأربعة الرئيسية للذاكرة الموجودة في محولات Cisco، بالإضافة إلى الاستخدام الأكثر شيوعًا لكل نوع:
■ ذاكرة الوصول العشوائي (RAM): تسمى أحيانًا DRAM، وهي اختصار لذاكرة الوصول العشوائي الديناميكية، وتستخدم ذاكرة الوصول العشوائي بواسطة المحول تمامًا كما تستخدمها أي حاسوب آخر: للتخزين العملي. يتم تخزين ملف التكوين الجاري (النشط) هنا.
■ ذاكرة الفلاش (Flash memory): إما شريحة داخل المحول أو بطاقة ذاكرة قابلة للإزالة، تخزن ذاكرة الفلاش صور Cisco IOS الوظيفية بالكامل وهي الموقع الافتراضي حيث يحصل المحول على Cisco IOS عند التمهيد. يمكن أيضًا استخدام ذاكرة الفلاش لتخزين أي ملفات أخرى، بما في ذلك نسخ احتياطية من ملفات التكوين.
■ ذاكرة القراءة فقط (ROM): تخزن ذاكرة القراءة فقط برنامج bootstrap (أو boothelper) الذي يتم تحميله عند تشغيل المحول لأول مرة. هذا البرنامج bootstrap يعثر على الصورة الكاملة لـ Cisco IOS ويدير عملية تحميل Cisco IOS في ذاكرة الوصول العشوائي، وعند هذه النقطة يتولى Cisco IOS تشغيل المحول.
■ ذاكرة الوصول العشوائي غير المتطايرة (NVRAM): تخزن ذاكرة الوصول العشوائي غير المتطايرة ملف التكوين الأولي أو التكوين البدائي الذي يتم استخدامه عند تشغيل المحول لأول مرة وعند إعادة تحميل المحول.