[FROG] [BUG] [BGP] command of `show ip bgp sum` shows ipv6 neighbors in ipv4 address-family

Simon Jones batmanustc at gmail.com
Thu Jul 30 06:31:46 UTC 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20200730/bebf56a4/attachment-0001.htm>


More information about the frog mailing list