📝 Section Review: Logging & Troubleshooting

اہم نکاتKey TakeawaysKey Takeaways

خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)

یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.

❓ ASA logging levels اور sensible production choices؟ASA logging levels aur sensible production choices?ASA logging levels and sensible production choices?

0 emergencies سے 7 debugging تک۔ Locally warnings (4) پر log کریں؛ notifications (5) اور above syslog کو بھیجیں۔ Debugging (7) صرف live troubleshooting میں تھوڑی دیر — یہ log flood کر دیتا ہے۔0 emergencies se 7 debugging tak. Locally warnings (4) par log karo; notifications (5) aur above syslog ko bhejo. Debugging (7) sirf live troubleshooting mein thodi der — ye log flood kar deta hai.0 emergencies to 7 debugging. Log locally at warnings (4); send notifications (5) and above to syslog. Debugging (7) only briefly during live troubleshooting — it floods the log.

❓ Packet-tracer کیسے use کرتے ہیں؟Packet-tracer kaise use karte ho?How do you use packet-tracer?

`packet-tracer input <in-if> <proto> <src-ip> <src-port> <dst-ip> <dst-port> [detailed]` — یہ simulated packet کو ACL، NAT اور routing phases سے گزارتا ہے اور آخر میں ALLOW یا DROP reason کے ساتھ بتاتا ہے۔`packet-tracer input <in-if> <proto> <src-ip> <src-port> <dst-ip> <dst-port> [detailed]` — ye simulated packet ko ACL, NAT aur routing phases se guzarta hai aur aakhir mein ALLOW ya DROP reason ke sath batata hai.`packet-tracer input <in-if> <proto> <src-ip> <src-port> <dst-ip> <dst-port> [detailed]` — it walks a simulated packet through ACL, NAT, and routing phases and ends with ALLOW or DROP plus the reason.

❓ ایک flow drop ہو رہا ہے — اپنا troubleshooting method بتائیں۔Ek flow drop ho raha hai — apna troubleshooting method batao.A flow is dropped — describe your troubleshooting method.

Packet-tracer dropping phase کا نام بتاتا ہے؛ پھر اس feature کے counters/config check کریں (`show access-list` hits، `show nat`/`show xlate`، `show route`)، اور exact event ID کے لیے `show logging`۔ ایک وقت میں ایک layer fix کریں اور دوبارہ trace کریں۔Packet-tracer dropping phase ka naam batata hai; phir us feature ke counters/config check karo (`show access-list` hits, `show nat`/`show xlate`, `show route`), aur exact event ID ke liye `show logging`. Ek waqt mein ek layer fix karo aur dobara trace karo.packet-tracer names the dropping phase; then check that feature's counters/config (`show access-list` hits, `show nat`/`show xlate`, `show route`), and `show logging` for the exact event ID. Fix one layer at a time and re-trace.