cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
496
Views
15
Helpful
2
Replies
Highlighted
Beginner

ios xr bgp equivelant of ios

What would be the equivalent on xr to do a max paths statement.  I believe on ios it is maxas-limit.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Cisco Employee

you may have to do a route-policy

 

route-policy max-asns
 if as-path length ge 5 then
   drop
 else
   pass
 endif
end-policy

View solution in original post

Highlighted
Beginner

maxas-limit limits the length of the AS path rather than the number of paths. In XR, you can use a condition like

if as-path length ge <n> then drop endif 

in your rpl import policy.

View solution in original post

2 REPLIES 2
Highlighted
Cisco Employee

you may have to do a route-policy

 

route-policy max-asns
 if as-path length ge 5 then
   drop
 else
   pass
 endif
end-policy

View solution in original post

Highlighted
Beginner

maxas-limit limits the length of the AS path rather than the number of paths. In XR, you can use a condition like

if as-path length ge <n> then drop endif 

in your rpl import policy.

View solution in original post

Content for Community-Ad