Skip to content

Commit

Permalink
eos: arming the rules against IP abuse
Browse files Browse the repository at this point in the history
  • Loading branch information
liske committed Sep 16, 2024
1 parent b8db0d1 commit 4b88a6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/eos/DCS-MACROS.j2
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ ip access-list peer-eth{{ ifnum }}-ipv4
{% else %}
10 remark AS{{ peer.asn }} peer has no ipv4address
{% endif %}
20 remark AS{{ peer.asn }} report IP abuse
21 permit vlan 600 0x000 ip 193.201.151.64/26 193.201.151.64/26 log
20 remark AS{{ peer.asn }} deny IP abuse
21 deny vlan 600 0x000 ip 193.201.151.64/26 193.201.151.64/26 log
100 remark allow any other traffic
101 permit ip any any
!
Expand All @@ -231,8 +231,8 @@ ipv6 access-list peer-eth{{ ifnum }}-ipv6
{% else %}
10 remark AS{{ peer.asn }} peer has no ipv6address
{% endif %}
20 remark AS{{ peer.asn }} report IP abuse
21 permit vlan 600 0x000 ipv6 2001:7f8:79::/64 2001:7f8:79::/64 log
20 remark AS{{ peer.asn }} deny IP abuse
21 deny vlan 600 0x000 ipv6 2001:7f8:79::/64 2001:7f8:79::/64 log
100 remark allow any other traffic
101 permit ipv6 any any
!
Expand Down

0 comments on commit 4b88a6e

Please sign in to comment.