Hi there,
Im looking to add a regular experssion to my aspath that will only give me routes that originate at a particular as number. I have tried:
as-path term "^6939$"
as-path term "^6939{1,1}$"
I know that the "^" and the "$" are implied and not needed but I still can not get this to work. We are still getting routes beyond just the 6939 as for example:
show route 69.58.80.59
69.58.64.0/19 *[BGP/170] 4d 18:08:28, MED 0, localpref 450
AS path: 6939 21637 I, validation-state: unverified
> to 206.81.82.40 via irb.45
because there is two as hops, I want to filter this route from this peer. Can anyone please advise?