اس سبق کے بعد آپ advanced ACLs لکھ سکیں گے، CoPP سے control plane محفوظ کر سکیں گے، اور spoofing کے خلاف uRPF لگا سکیں گے۔
Is lesson ke baad aap advanced ACLs likh sakenge, CoPP se control plane mehfooz kar sakenge, aur spoofing ke khilaf uRPF laga sakenge.
After this lesson you will be able to write advanced ACLs, protect the control plane with CoPP, and deploy uRPF against spoofing.
ACL عمارت کے security guards ہیں — ہر دروازے پر ID چیک۔ CoPP مینیجر کے دفتر کے دروازے پر guard ہے: زیادہ مہمانوں سے مینیجر بھی پریشان نہیں ہو سکتا۔ uRPF چیک کرتا ہے کہ مہمان واقعی اسی دروازے سے آیا ہے۔
ACL building ke security guards hain — har darwaze par ID check. CoPP manager ke daftar ke darwaze par guard hai: zyada mehmanon se manager bhi pareshan nahi ho sakta. uRPF check karta hai ke mehman waqai usi darwaze se aaya hai.
ACLs are the building's security guards — checking ID at every door. CoPP is the guard at the manager's office door: even the manager can't be overwhelmed by too many visitors. uRPF checks whether the visitor actually came through that entrance.

دو روٹرز لیں ایک client segment کے ساتھ۔ ACL hits، ٹریفک flood میں CoPP drops، اور spoofed-source packets ٹیسٹ کریں گے۔
Do routers lein ek client segment ke saath. ACL hits, traffic flood mein CoPP drops, aur spoofed-source packets test karenge.
Use two routers with a client segment. You'll test ACL hits, CoPP drops under a traffic flood, and spoofed-source packets.
Named extended ACLs source، destination، protocol اور port کے حساب سے deny/permit دیتے ہیں۔ 'log' keyword matches کو syslog میں record کرتا ہے۔
Named extended ACLs source, destination, protocol aur port ke hisab se deny/permit dete hain. 'log' keyword matches ko syslog mein record karta hai.
Named extended ACLs allow deny/permit by source, destination, protocol, and port. The 'log' keyword records matches in syslog.
ip access-list extended FILTER-TRAFFICdeny ip 192.168.1.0 0.0.0.255 10.0.0.0 0.255.255.255permit tcp any host 10.0.0.1 eq 443permit ip any any logTime-based ACLs مخصوص وقت میں access limit کرتی ہیں — جیسے صرف کام کے اوقات میں internet access۔
Time-based ACLs makhsoos waqt mein access limit karti hain — jaise sirf kaam ke auqaat mein internet access.
Time-based ACLs restrict access to specific hours — e.g. internet access only during work hours.
ip access-list extended HTTP-ONLYpermit tcp any any eq wwwdeny ip any anytime-range WORK-HOURStime-range WORK-HOURSperiodic weekdays 9:00 to 17:00CoPP مرحلہ 1: control-plane ٹریفک کو critical (OSPF/BGP)، normal (SSH/SNMP) اور undesired میں classify کریں۔
CoPP step 1: control-plane traffic ko critical (OSPF/BGP), normal (SSH/SNMP) aur undesired mein classify karein.
CoPP step 1: classify control-plane traffic into critical (OSPF/BGP), normal (SSH/SNMP), and undesired.
ip access-list extended COPP-CRITICALpermit ospf any anypermit bgp any anypermit icmp any any echoip access-list extended COPP-NORMALpermit tcp any any eq 22permit udp any any eq 161class-map match-all COPP-CRIT-CLASSmatch access-group name COPP-CRITICALclass-map match-all COPP-NORM-CLASSmatch access-group name COPP-NORMALCoPP مرحلہ 2: ہر class کو police کریں۔ Critical کو کھلا rate، باقی سب rate-limited۔ حملے کی صورت میں router زندہ رہتا ہے۔
CoPP step 2: har class ko police karein. Critical ko khula rate, baqi sab rate-limited. Attack ki soorat mein router zinda rehta hai.
CoPP step 2: police each class. Critical gets generous treatment, everything else is rate-limited. This keeps the router alive under attack.
policy-map COPP-POLICYclass COPP-CRIT-CLASSpolice 8000 conform-action transmit exceed-action transmitclass COPP-NORM-CLASSpolice 8000 conform-action transmit exceed-action dropclass class-defaultpolice 8000 conform-action transmit exceed-action dropcontrol-planeservice-policy input COPP-POLICYuRPF مرحلہ: وہ packets drop کریں جن کا source IP incoming انٹرفیس کے ذریعے واپس route نہیں رکھتا۔ اس سے spoofed source حملے رکتے ہیں۔
uRPF step: wo packets drop karein jin ka source IP incoming interface ke zariye wapas route nahi rakhta. Is se spoofed source attacks rukte hain.
uRPF step: drop packets whose source IP doesn't have a return route via the incoming interface. This blocks spoofed source attacks.
interface FastEthernet0/1ip verify unicast source reachable-via rxshow ip interface FastEthernet0/1 | include verifyVerify کریں: ACL hit counts، CoPP policer statistics (load پر drops نظر آئیں)، انٹرفیس پر uRPF status۔
Verify karein: ACL hit counts, CoPP policer statistics (load par drops nazar aayen), interface par uRPF status.
Verify: ACL hit counts, CoPP policer statistics (drops visible under load), uRPF status on the interface.
show access-listsshow policy-map control-planeshow ip interface FastEthernet0/1یقین کریں کہ ACL hit counts بڑھ رہے ہیں، CoPP policers flood میں drops دکھا رہے ہیں، management ٹریفک گزر رہا ہے، اور edge interfaces پر uRPF active ہے۔
Yaqeen karein ke ACL hit counts barh rahe hain, CoPP policers flood mein drops dikha rahe hain, management traffic guzar raha hai, aur edge interfaces par uRPF active hai.
Confirm ACL hit counts increase, CoPP policers show drops under flood, management traffic passes, and uRPF is active on edge interfaces.
show access-listsshow policy-map control-planeshow ip verify source