Closed lguohan closed 4 years ago
Description
Steps to reproduce the issue:
load the latest sonic vs image.
Describe the results you received:
admin@vlab-01:/var/log$ vtysh Hello, this is FRRouting (version 7.2-sonic). Copyright 1996-2005 Kunihiro Ishiguro, et al. vlab-01# show run Building configuration... Current configuration: ! frr version 7.2-sonic frr defaults traditional hostname vlab-01 log syslog informational log facility local4 agentx no service integrated-vtysh-config ! enable password zebra password zebra ! ip route 0.0.0.0/0 10.250.0.1 200 ! router bgp 65100 bgp router-id 10.1.0.32 bgp log-neighbor-changes no bgp default ipv4-unicast bgp graceful-restart restart-time 240 bgp graceful-restart bgp graceful-restart preserve-fw-state bgp bestpath as-path multipath-relax neighbor BGPSLBPassive peer-group neighbor BGPSLBPassive remote-as 65432 neighbor BGPSLBPassive passive neighbor BGPSLBPassive ebgp-multihop 255 neighbor BGPSLBPassive update-source 10.1.0.32 neighbor BGPVac peer-group neighbor BGPVac remote-as 65432 neighbor BGPVac passive neighbor BGPVac ebgp-multihop 255 neighbor BGPVac update-source 10.1.0.32 neighbor PEER_V4 peer-group neighbor PEER_V6 peer-group neighbor 10.0.0.57 remote-as 64600 neighbor 10.0.0.57 peer-group PEER_V4 neighbor 10.0.0.57 description ARISTA01T1 neighbor 10.0.0.57 timers 3 10 neighbor 10.0.0.59 remote-as 64600 neighbor 10.0.0.59 peer-group PEER_V4 neighbor 10.0.0.59 description ARISTA02T1 neighbor 10.0.0.59 timers 3 10 neighbor 10.0.0.61 remote-as 64600 neighbor 10.0.0.61 peer-group PEER_V4 neighbor 10.0.0.61 description ARISTA03T1 neighbor 10.0.0.61 timers 3 10 neighbor 10.0.0.63 remote-as 64600 neighbor 10.0.0.63 peer-group PEER_V4 neighbor 10.0.0.63 description ARISTA04T1 neighbor 10.0.0.63 timers 3 10 neighbor fc00::72 remote-as 64600 neighbor fc00::72 peer-group PEER_V6 neighbor fc00::72 description ARISTA01T1 neighbor fc00::72 timers 3 10 neighbor fc00::76 remote-as 64600 neighbor fc00::76 peer-group PEER_V6 neighbor fc00::76 description ARISTA02T1 neighbor fc00::76 timers 3 10 neighbor fc00::7a remote-as 64600 neighbor fc00::7a peer-group PEER_V6 neighbor fc00::7a description ARISTA03T1 neighbor fc00::7a timers 3 10 neighbor fc00::7e remote-as 64600 neighbor fc00::7e peer-group PEER_V6 neighbor fc00::7e description ARISTA04T1 neighbor fc00::7e timers 3 10 bgp listen range 10.255.0.0/25 peer-group BGPSLBPassive bgp listen range 192.168.0.0/21 peer-group BGPVac ! address-family ipv4 unicast network 10.1.0.32/32 network 192.168.0.0/21 neighbor BGPSLBPassive activate neighbor BGPSLBPassive soft-reconfiguration inbound neighbor BGPSLBPassive route-map FROM_BGP_SPEAKER_V4 in neighbor BGPSLBPassive route-map TO_BGP_SPEAKER_V4 out neighbor BGPVac activate neighbor BGPVac soft-reconfiguration inbound neighbor BGPVac route-map FROM_BGP_SPEAKER_V4 in neighbor BGPVac route-map TO_BGP_SPEAKER_V4 out neighbor PEER_V4 soft-reconfiguration inbound neighbor PEER_V4 allowas-in 1 neighbor PEER_V4 route-map TO_BGP_PEER_V4 out neighbor 10.0.0.57 activate neighbor 10.0.0.59 activate neighbor 10.0.0.61 activate neighbor 10.0.0.63 activate maximum-paths 64 exit-address-family ! address-family ipv6 unicast network fc00:1::/64 neighbor BGPSLBPassive activate neighbor BGPVac activate neighbor PEER_V6 soft-reconfiguration inbound neighbor PEER_V6 allowas-in 1 neighbor PEER_V6 route-map TO_BGP_PEER_V6 out neighbor fc00::72 activate neighbor fc00::72 route-map set-next-hop-global-v6 in neighbor fc00::76 activate neighbor fc00::76 route-map set-next-hop-global-v6 in neighbor fc00::7a activate neighbor fc00::7a route-map set-next-hop-global-v6 in neighbor fc00::7e activate neighbor fc00::7e route-map set-next-hop-global-v6 in maximum-paths 64 exit-address-family ! ip prefix-list PL_LoopbackV4 seq 5 permit 10.1.0.32/32 ! ipv6 prefix-list PL_LoopbackV6 seq 5 permit fc00:1::/64 ! route-map FROM_BGP_SPEAKER_V4 permit 10 ! route-map ISOLATE permit 10 set as-path prepend 65100 ! route-map RM_SET_SRC permit 10 ! route-map RM_SET_SRC6 permit 10 ! route-map TO_BGP_PEER_V4 permit 100 ! route-map TO_BGP_PEER_V6 permit 100 ! route-map TO_BGP_SPEAKER_V4 deny 10 ! route-map set-next-hop-global-v6 permit 10 set ipv6 next-hop prefer-global ! ip protocol bgp route-map RM_SET_SRC ! ipv6 protocol bgp route-map RM_SET_SRC6 ! line vty ! end
Describe the results you expected:
route-map RM_SET_SRC permit 10 set src 10.1.0.32 ! route-map RM_SET_SRC6 permit 10 set src fc00:1::32
It should have loopback IP as source IP.
Additional information you deem important (e.g. issue happens only occasionally):
**Output of `show version`:** ``` (paste your output here) ``` **Attach debug file `sudo generate_dump`:** ``` (paste your output here) ```
addressed in 057ced0
Description
Steps to reproduce the issue:
load the latest sonic vs image.
Describe the results you received:
Describe the results you expected:
It should have loopback IP as source IP.
Additional information you deem important (e.g. issue happens only occasionally):