weizhouapache commented on PR #9964:
URL: https://github.com/apache/cloudstack/pull/9964#issuecomment-4957796901

   without the change
   ```
   root@r-269-VM:~# cat /etc/frr/frr.conf 
   frr version 6.0
   frr defaults traditional
   hostname r-269-VM
   service integrated-vtysh-config
   ip nht resolve-via-default
   router bgp 10010
    bgp router-id 10.200.0.12
    bgp default ipv6-unicast
    neighbor 10.200.0.1 remote-as 64999
    neighbor 10.200.0.1 password password3
    neighbor fc00:2024:9:7::1 remote-as 64999
    neighbor fc00:2024:9:7::1 password password3
    address-family ipv4 unicast
     network 192.168.120.0/28
    exit-address-family
    address-family ipv6 unicast
     network fd00:2026:2:19::/64
    exit-address-family
   line vty
   root@r-269-VM:~# 
   ```
   
   
   with the change
   ```
   root@r-269-VM:~# cat /etc/frr/frr.conf 
   frr defaults traditional
   hostname r-269-VM
   service integrated-vtysh-config
   ip nht resolve-via-default
   ip prefix-list all-v4 seq 1 permit any
   ip prefix-list default-v4 seq 1 permit 0.0.0.0/0
   ipv6 prefix-list all-v6 seq 1 permit any
   ipv6 prefix-list default-v6 seq 1 permit ::/0
   ip prefix-list local-v4 seq 1 permit 192.168.120.0/28
   ipv6 prefix-list local-v6 seq 1 permit fd00:2026:2:19::/64
   router bgp 10010
    bgp router-id 10.200.0.12
    bgp default ipv6-unicast
    neighbor 10.200.0.1 remote-as 64999
    neighbor {} route-map upstream-v4-in in
    neighbor {} route-map upstream-v4-out out
    neighbor 10.200.0.1 password password3
    neighbor fc00:2024:9:7::1 remote-as 64999
    neighbor {} route-map upstream-v6-in in
    neighbor {} route-map upstream-v6-out out
    neighbor fc00:2024:9:7::1 password password3
    address-family ipv4 unicast
     network 192.168.120.0/28
    exit-address-family
    address-family ipv6 unicast
     network fd00:2026:2:19::/64
    exit-address-family
   route-map upstream-v4-in permit 10
     match ip address prefix-list default-v4
   route-map upstream-v4-in deny 1000
     match ip address prefix-list all-v4
   route-map upstream-v4-out permit 10
     match ip address prefix-list local-v4
   route-map upstream-v4-out deny 1000
     match ip address prefix-list all-v4
   route-map upstream-v6-in permit 10
     match ipv6 address prefix-list default-v6
   route-map upstream-v6-in deny 1000
     match ipv6 address prefix-list all-v6
   route-map upstream-v6-out permit 10
     match ipv6 address prefix-list local-v6
   route-map upstream-v6-out deny 1000
     match ipv6 address prefix-list all-v6
   line vty
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to