BGP Peer Customer

Hi Friends,

We will Peer with a customer in the data center. He wants to remove his own IP prefixes from me. We set up BGP with him and I forwarded it to my upper operators, but the IP addresses do not go from my router to the customer router and my router device (vyos 1.4.x) gets stuck. Is there any chance you can provide sample output of what import export policies and route-map should be like?

you need to configure in customer router, drop your as path from all connected peer

for example 123 is your as-number

example policy :

// Create Policy as-path

set policy as-path-list drop-as-123 rule 5 action permit
set policy as-path-list drop-as-123 rule 5 regex 123

// Route-map import

set policy route-map import-local-ix rule 10 action deny
set policy route-map import-local-ix rule 10 match as-path drop-as-123
set policy route-map import-local-ix rule 100 action permit