mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-26 19:27:57 +00:00
Add new file
This commit is contained in:
parent
21cf655deb
commit
b9633cb20d
21
code/prefixlists.cisco.txt
Normal file
21
code/prefixlists.cisco.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
ip prefix-list permit-lans permit 10.0.0.0/8 ge 24 ! Allow prefixes >=/24
|
||||
ip prefix-list permit-lans permit 172.16.0.0/12 ge 24 ! Allow prefixes >=/24
|
||||
ip prefix-list permit-lans permit 192.168.0.0/16 ge 24 ! Allow prefixes >=/24
|
||||
ip prefix-list permit-lans deny 0.0.0.0/0 le 32 ! Deny everthing else
|
||||
|
||||
ip prefix-list deny-bogons deny 0.0.0.0/8 le 32 ! Block default route
|
||||
ip prefix-list deny-bogons deny 10.0.0.0/8 le 32
|
||||
ip prefix-list deny-bogons deny 100.64.0.0/10 le 32
|
||||
ip prefix-list deny-bogons deny 127.0.0.0/8 le 32
|
||||
ip prefix-list deny-bogons deny 169.254.0.0/16 le 32
|
||||
ip prefix-list deny-bogons deny 172.16.0.0/12 le 32
|
||||
ip prefix-list deny-bogons deny 192.0.0.0/24 le 32
|
||||
ip prefix-list deny-bogons deny 192.0.2.0/24 le 32
|
||||
ip prefix-list deny-bogons deny 192.168.0.0/16 le 32
|
||||
ip prefix-list deny-bogons deny 198.18.0.0/15 le 32
|
||||
ip prefix-list deny-bogons deny 198.51.100.0/24 le 32
|
||||
ip prefix-list deny-bogons deny 203.0.113.0/24 le 32
|
||||
ip prefix-list deny-bogons deny 224.0.0.0/4 le 32
|
||||
ip prefix-list deny-bogons deny 240.0.0.0/4 le 32
|
||||
ip prefix-list deny-bogons deny 0.0.0.0/0 ge 25 ! Block prefixes >/24
|
||||
ip prefix-list deny-bogons permit 0.0.0.0/0 le 24 ! Permit prefixes <=/24
|
Loading…
Reference in a new issue