Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/693e4613-e640-8002-8c66-0055e99cb68d
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== gpt-5-2 == === User: آیا سوییچ های سیسکو روی خودشون ابزار diagnostic داره که بتونم سخت افزارش رو تست کنم؟ === آیا سوییچ های سیسکو روی خودشون ابزار diagnostic داره که بتونم سخت افزارش رو تست کنم؟ === Assistant: بله، سوییچهای Cisco روی خودشان ابزارها و دستورات Diagnostic برای تست سختافزار دارند و بسته به مدل سوییچ و سیستمعامل … === بله، سوییچهای Cisco روی خودشان ابزارها و دستورات Diagnostic برای تست سختافزار دارند و بسته به مدل سوییچ و سیستمعامل (IOS / IOS-XE / NX-OS) سطح و نوع این تستها فرق میکند. در ادامه بهصورت عملی و دستهبندیشده توضیح میدم 👇 ==== 1️⃣ تستهای پایه سختافزاری (تقریباً در همه Cisco IOS) ==== ===== 🔹 بررسی سلامت کلی سختافزار ===== <syntaxhighlight lang="bash">show version </syntaxhighlight> موارد مهم: * دلیل آخرین ریست (crash یا power) * مقدار RAM و Flash * Uptime ===== 🔹 بررسی وضعیت پاور و فن ===== <syntaxhighlight lang="bash">show environment </syntaxhighlight> یا در بعضی مدلها: <syntaxhighlight lang="bash">show environment all </syntaxhighlight> بررسی میکند: * پاور ساپلای (OK / Failed) * فنها * دما (Temperature) ===== 🔹 تست اینترفیسها (PHY / Port) ===== <syntaxhighlight lang="bash">show interfaces status show interfaces counters errors show controllers ethernet-controller </syntaxhighlight> علائم خرابی سختافزاری: * CRC Error زیاد * Input/Output Error غیرعادی * Interface flapping ==== 2️⃣ تست حافظه و CPU ==== ===== 🔹 بررسی مصرف CPU ===== <syntaxhighlight lang="bash">show processes cpu history </syntaxhighlight> ===== 🔹 بررسی حافظه ===== <syntaxhighlight lang="bash">show memory statistics </syntaxhighlight> اگر Memory Leak یا خرابی RAM باشه، اینجا مشخص میشه. ==== 3️⃣ ابزارهای Diagnostic داخلی (Advanced) ==== ===== 🔹 فعالسازی Diagnostic Mode ===== در بسیاری از مدلهای Enterprise: <syntaxhighlight lang="bash">service internal </syntaxhighlight> ⚠️ فقط برای ادمین حرفهای (دستورات مخفی فعال میشود) ===== 🔹 اجرای تستهای داخلی (بسته به مدل) ===== <syntaxhighlight lang="bash">diagnostic start diagnostic test ? </syntaxhighlight> یا: <syntaxhighlight lang="bash">show diagnostic result </syntaxhighlight> 📌 این تستها شامل: * تست ASIC * تست بکپلین * تست حافظه * تست PHY پورتها ==== 4️⃣ POST Test (Power-On Self Test) ==== در هنگام بوت شدن سوییچ اجرا میشود. ===== مشاهده نتیجه POST: ===== <syntaxhighlight lang="bash">show post </syntaxhighlight> یا: <syntaxhighlight lang="bash">show post all </syntaxhighlight> اگر خطایی در سختافزار اصلی باشه، معمولاً اینجا دیده میشه. ==== 5️⃣ تست مخصوص مدلهای حرفهای (Catalyst / Nexus) ==== ===== Catalyst 3K / 9K: ===== <syntaxhighlight lang="bash">show platform show platform hardware show platform health </syntaxhighlight> ===== Nexus (NX-OS): ===== <syntaxhighlight lang="bash">show system internal health show hardware show diagnostic </syntaxhighlight> ==== 6️⃣ تست کابل و PHY (خیلی کاربردی) ==== <syntaxhighlight lang="bash">test cable-diagnostics tdr interface gigabitEthernet 1/0/1 </syntaxhighlight> بعد از چند ثانیه: <syntaxhighlight lang="bash">show cable-diagnostics tdr interface gigabitEthernet 1/0/1 </syntaxhighlight> تشخیص میدهد: * کابل قطع است * اتصال کوتاه * طول کابل * Pair خراب ==== 7️⃣ لاگهای سختافزاری (خیلی مهم) ==== <syntaxhighlight lang="bash">show logging </syntaxhighlight> به دنبال پیامهایی مثل: * %HARDWARE- * %ENVIRONMENT- * %PLATFORM- ==== 8️⃣ وقتی واقعاً به خرابی سختافزار شک داریم چه کنیم؟ ==== چک لیست سریع: * ❌ پورت همیشه Down است حتی با کابل سالم * ❌ دمای غیرعادی * ❌ ریست تصادفی * ❌ CRC Error بالا روی پورت خاص * ❌ خطا در POST 📌 اگر سوییچ تحت SmartNet باشد → لاگها کافی است برای RMA ==== 9️⃣ جمعبندی سریع ==== | بخش | ابزار | | ---------------- | ---------------------- | | پاور / فن | show environment | | CPU / RAM | show processes cpu | | پورتها | show interfaces | | کابل | test cable-diagnostics | | POST | show post | | ASIC / Backplane | diagnostic test | | لاگها | show logging | اگر دوست داری، مدل دقیق سوییچ سیسکو (مثلاً 2960X، 3750، 9300 یا Nexus) رو بگو تا دستورات دقیق همون مدل رو مرحلهبهمرحله برات آماده کنم 👌
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)