``` dut-testbed(config-router-af)# do show ru Building configuration... Current configuration: ! frr version 7.2.1-sonic frr defaults traditional hostname sonic hostname dut-testbed service integrated-vtysh-config ! router bgp 65100 neighbor 10.0.0.57 remote-as 64600 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 description ARISTA02T1 neighbor 10.0.0.59 timers 3 10 neighbor 10.0.0.61 remote-as 64600 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 description ARISTA04T1 neighbor 10.0.0.63 timers 3 10 neighbor fc00::72 remote-as 64600 neighbor fc00::76 remote-as 64600 neighbor fc00::76 description ARISTA02T1 neighbor fc00::76 timers 3 10 neighbor fc00::7a remote-as 64600 neighbor fc00::7a description ARISTA03T1 neighbor fc00::7a timers 3 10 neighbor fc00::7e remote-as 64600 neighbor fc00::7e description ARISTA04T1 neighbor fc00::7e timers 3 10 ! address-family ipv4 unicast network 10.1.0.32/32 network 192.168.0.0/21 exit-address-family ! address-family ipv6 unicast network fc00:1::32/128 neighbor fc00::72 activate neighbor fc00::76 activate neighbor fc00::7a activate neighbor fc00::7e activate exit-address-family ! line vty ! end ``` ---- Simon Jones Simon Jones <batmanustc@gmail.com> 于2020年7月30日周四 下午2:31写道:
Hi all,
I'm using frr-7.2.1-s3, I found command of `show ip bgp sum` shows ipv6 neighbors in ipv4 address-family, like this.
Is this a bug?
``` dut-testbed(config-router)# do show ip bgp ipv6 summary
IPv6 Unicast Summary: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0 BGP table version 13313 RIB entries 12007, using 2158 KiB of memory Peers 3, using 61 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd fc00::76 4 64600 3606 6686 0 0 0 00:20:06 6002 fc00::7a 4 64600 3605 6686 0 0 0 00:20:06 6002 fc00::7e 4 64600 3605 6686 0 0 0 00:20:05 6002
Total number of neighbors 3 dut-testbed(config-router)# do show ip bgp ipv4 summary
IPv4 Unicast Summary: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0 BGP table version 12008 RIB entries 12011, using 2158 KiB of memory Peers 8, using 163 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.0.0.57 4 64600 3610 3414 0 0 0 00:20:17 6002 10.0.0.59 4 64600 3610 3417 0 0 0 00:20:17 6002 10.0.0.61 4 64600 3610 3417 0 0 0 00:20:17 6002 10.0.0.63 4 64600 3610 3414 0 0 0 00:20:17 6002 fc00::72 4 64600 6 18 0 0 0 never Idle fc00::76 4 64600 3609 6690 0 0 0 00:20:15 NoNeg fc00::7a 4 64600 3609 6690 0 0 0 00:20:15 NoNeg fc00::7e 4 64600 3608 6689 0 0 0 00:20:14 NoNeg
Total number of neighbors 8 dut-testbed(config-router)# address-family ipv6 dut-testbed(config-router-af)# neighbor fc00::72 activate dut-testbed(config-router-af)# do show ip bgp ipv4 summary
IPv4 Unicast Summary: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0 BGP table version 12008 RIB entries 12011, using 2158 KiB of memory Peers 8, using 163 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.0.0.57 4 64600 3617 3421 0 0 0 00:20:39 6002 10.0.0.59 4 64600 3617 3424 0 0 0 00:20:39 6002 10.0.0.61 4 64600 3617 3424 0 0 0 00:20:39 6002 10.0.0.63 4 64600 3617 3421 0 0 0 00:20:39 6002 fc00::72 4 64600 6 18 0 0 0 never Idle fc00::76 4 64600 3616 6697 0 0 0 00:20:37 NoNeg fc00::7a 4 64600 3616 6697 0 0 0 00:20:37 NoNeg fc00::7e 4 64600 3616 6697 0 0 0 00:20:36 NoNeg
Total number of neighbors 8 dut-testbed(config-router-af)# do show ip bgp ipv4 summary
IPv4 Unicast Summary: BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0 BGP table version 12008 RIB entries 12011, using 2158 KiB of memory Peers 8, using 163 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.0.0.57 4 64600 3618 3422 0 0 0 00:20:41 6002 10.0.0.59 4 64600 3618 3425 0 0 0 00:20:41 6002 10.0.0.61 4 64600 3618 3425 0 0 0 00:20:41 6002 10.0.0.63 4 64600 3618 3422 0 0 0 00:20:41 6002 fc00::72 4 64600 3212 20 0 0 0 00:00:01 NoNeg fc00::76 4 64600 3617 6698 0 0 0 00:20:39 NoNeg fc00::7a 4 64600 3616 6698 0 0 0 00:20:39 NoNeg fc00::7e 4 64600 3616 6698 0 0 0 00:20:38 NoNeg ```
---- Simon Jones