<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">By default ipv6 nbrs are activated in IPv4 address family , you will have to disable them explicitly
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">“no neighbor xx::xx activate”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Vijay<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> frog <frog-bounces@lists.frrouting.org>
<b>On Behalf Of </b>Simon Jones<br>
<b>Sent:</b> 30 July 2020 12:04<br>
<b>To:</b> frog <frog@lists.frrouting.org><br>
<b>Subject:</b> Re: [FROG] [BUG] [BGP] command of `show ip bgp sum` shows ipv6 neighbors in ipv4 address-family<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">```<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">dut-testbed(config-router-af)# do show ru<br>
Building configuration...<br>
<br>
Current configuration:<br>
!<br>
frr version 7.2.1-sonic<br>
frr defaults traditional<br>
hostname sonic<br>
hostname dut-testbed<br>
service integrated-vtysh-config<br>
!<br>
router bgp 65100<br>
neighbor 10.0.0.57 remote-as 64600<br>
neighbor 10.0.0.57 description ARISTA01T1<br>
neighbor 10.0.0.57 timers 3 10<br>
neighbor 10.0.0.59 remote-as 64600<br>
neighbor 10.0.0.59 description ARISTA02T1<br>
neighbor 10.0.0.59 timers 3 10<br>
neighbor 10.0.0.61 remote-as 64600<br>
neighbor 10.0.0.61 description ARISTA03T1<br>
neighbor 10.0.0.61 timers 3 10<br>
neighbor 10.0.0.63 remote-as 64600<br>
neighbor 10.0.0.63 description ARISTA04T1<br>
neighbor 10.0.0.63 timers 3 10<br>
neighbor fc00::72 remote-as 64600<br>
neighbor fc00::76 remote-as 64600<br>
neighbor fc00::76 description ARISTA02T1<br>
neighbor fc00::76 timers 3 10<br>
neighbor fc00::7a remote-as 64600<br>
neighbor fc00::7a description ARISTA03T1<br>
neighbor fc00::7a timers 3 10<br>
neighbor fc00::7e remote-as 64600<br>
neighbor fc00::7e description ARISTA04T1<br>
neighbor fc00::7e timers 3 10<br>
!<br>
address-family ipv4 unicast<br>
network <a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.1.0.32%2F32&data=02%7C01%7Cvijayg%40vmware.com%7C1092a07a4dd04fdafc6b08d83961ba9e%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637322439206005900&sdata=5MAyiEynkiGqHrH%2FUAARs5QuPm5MC1MoJ4JG9dCIQWI%3D&reserved=0">
10.1.0.32/32</a><br>
network <a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2F192.168.0.0%2F21&data=02%7C01%7Cvijayg%40vmware.com%7C1092a07a4dd04fdafc6b08d83961ba9e%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637322439206015894&sdata=AFBzdJ0eKqFqyGYQ%2BGnavmnbjcGKp1iYr0GJXLqlu5k%3D&reserved=0">
192.168.0.0/21</a><br>
exit-address-family<br>
!<br>
address-family ipv6 unicast<br>
network fc00:1::32/128<br>
neighbor fc00::72 activate<br>
neighbor fc00::76 activate<br>
neighbor fc00::7a activate<br>
neighbor fc00::7e activate<br>
exit-address-family<br>
!<br>
line vty<br>
!<br>
end<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">```<o:p></o:p></p>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">----<o:p></o:p></p>
</div>
<p class="MsoNormal">Simon Jones<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Simon Jones <<a href="mailto:batmanustc@gmail.com">batmanustc@gmail.com</a>>
<span style="font-family:"MS Gothic"">于</span>2020<span style="font-family:"MS Gothic"">年</span>7<span style="font-family:"MS Gothic"">月</span>30<span style="font-family:"MS Gothic"">日周四</span>
<span style="font-family:"MS Gothic"">下午</span>2:31<span style="font-family:"MS Gothic"">写道:</span><o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Is this a bug?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">```<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">dut-testbed(config-router)# do show ip bgp ipv6 summary<br>
<br>
IPv6 Unicast Summary:<br>
BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0<br>
BGP table version 13313<br>
RIB entries 12007, using 2158 KiB of memory<br>
Peers 3, using 61 KiB of memory<br>
<br>
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd<br>
fc00::76 4 64600 3606 6686 0 0 0 00:20:06 6002<br>
fc00::7a 4 64600 3605 6686 0 0 0 00:20:06 6002<br>
fc00::7e 4 64600 3605 6686 0 0 0 00:20:05 6002<br>
<br>
Total number of neighbors 3<br>
dut-testbed(config-router)# do show ip bgp ipv4 summary<br>
<br>
IPv4 Unicast Summary:<br>
BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0<br>
BGP table version 12008<br>
RIB entries 12011, using 2158 KiB of memory<br>
Peers 8, using 163 KiB of memory<br>
<br>
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd<br>
10.0.0.57 4 64600 3610 3414 0 0 0 00:20:17 6002<br>
10.0.0.59 4 64600 3610 3417 0 0 0 00:20:17 6002<br>
10.0.0.61 4 64600 3610 3417 0 0 0 00:20:17 6002<br>
10.0.0.63 4 64600 3610 3414 0 0 0 00:20:17 6002<br>
fc00::72 4 64600 6 18 0 0 0 never Idle<br>
fc00::76 4 64600 3609 6690 0 0 0 00:20:15 NoNeg<br>
fc00::7a 4 64600 3609 6690 0 0 0 00:20:15 NoNeg<br>
fc00::7e 4 64600 3608 6689 0 0 0 00:20:14 NoNeg<br>
<br>
Total number of neighbors 8<br>
dut-testbed(config-router)# address-family ipv6<br>
dut-testbed(config-router-af)# neighbor fc00::72 activate<br>
dut-testbed(config-router-af)# do show ip bgp ipv4 summary<br>
<br>
IPv4 Unicast Summary:<br>
BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0<br>
BGP table version 12008<br>
RIB entries 12011, using 2158 KiB of memory<br>
Peers 8, using 163 KiB of memory<br>
<br>
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd<br>
10.0.0.57 4 64600 3617 3421 0 0 0 00:20:39 6002<br>
10.0.0.59 4 64600 3617 3424 0 0 0 00:20:39 6002<br>
10.0.0.61 4 64600 3617 3424 0 0 0 00:20:39 6002<br>
10.0.0.63 4 64600 3617 3421 0 0 0 00:20:39 6002<br>
fc00::72 4 64600 6 18 0 0 0 never Idle<br>
fc00::76 4 64600 3616 6697 0 0 0 00:20:37 NoNeg<br>
fc00::7a 4 64600 3616 6697 0 0 0 00:20:37 NoNeg<br>
fc00::7e 4 64600 3616 6697 0 0 0 00:20:36 NoNeg<br>
<br>
Total number of neighbors 8<br>
dut-testbed(config-router-af)# do show ip bgp ipv4 summary<br>
<br>
IPv4 Unicast Summary:<br>
BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0<br>
BGP table version 12008<br>
RIB entries 12011, using 2158 KiB of memory<br>
Peers 8, using 163 KiB of memory<br>
<br>
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd<br>
10.0.0.57 4 64600 3618 3422 0 0 0 00:20:41 6002<br>
10.0.0.59 4 64600 3618 3425 0 0 0 00:20:41 6002<br>
10.0.0.61 4 64600 3618 3425 0 0 0 00:20:41 6002<br>
10.0.0.63 4 64600 3618 3422 0 0 0 00:20:41 6002<br>
fc00::72 4 64600 3212 20 0 0 0 00:00:01 NoNeg<br>
fc00::76 4 64600 3617 6698 0 0 0 00:20:39 NoNeg<br>
fc00::7a 4 64600 3616 6698 0 0 0 00:20:39 NoNeg<br>
fc00::7e 4 64600 3616 6698 0 0 0 00:20:38 NoNeg<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">```<o:p></o:p></p>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">----<o:p></o:p></p>
</div>
<p class="MsoNormal">Simon Jones<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>