Friday, May 15, 2020

IOS-XR Route Policy Question

I'm still pretty new to IOS-XR, but I'm looking to validate my thinking before I publish this change. Should this advertise out only 198.0.0.0/24 and 198.0.51.0/24? I'm receiving full tables, but I want to make sure that I'm not becoming a transit area as I'm peered with the same provider to multiple locations.

router bgp 65000 bgp log neighbor changes detail address-family ipv4 unicast network 198.0.0.0/24 network 198.0.51.0/24 ! address-family ipv6 unicast network 2002:0::/48 ! neighbor 10.32.0.1 remote-as 65999 address-family ipv4 unicast route-policy bgp-deny-inbound in route-policy bgp-allow-outbound-v4 out address-family ipv6 unicast route-policy bgp-allow-outbound-v6 out route-policy bgp-deny-inbound if orf in bgp-deny-private then drop endif end-policy route-policy bgp-allow-outbound-v4 if orf in bgp-outbound-list-v4 then pass else drop endif end-policy 


No comments:

Post a Comment