Skip to content

Commit

Permalink
Merge pull request #90 from jof/jof/arista-transit-asn
Browse files Browse the repository at this point in the history
Transit ASNs: Add an Arista EOS example
  • Loading branch information
teunvink authored Nov 11, 2024
2 parents 92c38a0 + 0bb9638 commit a1b5593
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions guides/no_transit_leaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,17 @@ add list="TRANSIT_ASNS" range=7018 comment="AT&T"
add chain="NO-TRANSIT-IN" rule="if (bgp-as-path [[:TRANSIT_ASNS:]]){ reject }"
```

## Arista EOS

```
ip as-path regex-mode asn
!
ip as-path access-list TRANSIT-ASNS permit _(174|701|1299|2914|3257|3320|3356|3491|4134|5511|6453|6461|6762|6830|7018)_ any
!
route-map IX-PEER-IN deny 10
match as-path TRANSIT-ASNS
!
```

## Huawei VRP

Expand Down

0 comments on commit a1b5593

Please sign in to comment.