Exercise 4: Filtering peer routes using prefix-list
Create “ip prefix-list my-routes” to match your own routes
Create “ip prefix-list peer-as-xxx” to match your peer’s routes
Apply the filters to your peers
- “neighbor xxx prefix-list my-routes out”
- “neighbor xxx prefix-list peer-as-xxx in”
Apply the outbound filter to your upstream provider