You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface adds a secondary address, show ip interfaces does not display the BGP Neighbor and Neighbor IP corresponding to the primary ip of the interface
#5423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
The interface adds a secondary address, show ip interfaces does not display the BGP Neighbor and Neighbor IP corresponding to the primary ip of the interface
Steps to reproduce the issue:
config primary ip of the interface,and add it's BGP Neighbor
2.show ip interface Confirm that the interface shows BGP neighbor and neighbor IP
3.config secondary ip of the interface
4.show ip interface
Describe the results you received:
The interface adds a secondary address, show ip interfaces does not display the BGP Neighbor and Neighbor IP corresponding to the primary ip of the interface
Describe the results you expected:
The interface adds a secondary address, show ip interfaces can display the BGP Neighbor and Neighbor IP corresponding to the primary ip of the interface
Additional information you deem important (e.g. issue happens only occasionally):
**Output of `show version`:**
```
root@sonic:/home/admin# show version
SONiC Software Version: SONiC.HEAD.182-75068f3a
Distribution: Debian 9.13
Kernel: 4.9.0-11-2-amd64
Build commit: 75068f3
Build date: Tue Sep 15 20:56:19 UTC 2020
Built by: johnar@jenkins-worker-7
…nd ip (#1134)
**- What I did**
Fixsonic-net/sonic-buildimage#5423
**- How I did it**
store neighbor info into array for later showing.
**- How to verify it**
config interface ip add Ethernet49 xxx secondary many times
show ip interface
**- Previous command output (if the output of a command-line utility has changed)**
```
root@sonic:/home/admin# show ip interfaces
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
--------------- -------- ------------------- ------------ -------------- -------------
Ethernet49 10.0.0.96/31 up/up N/A N/A
10.10.49.1/24
```
**- New command output (if the output of a command-line utility has changed)**
```
root@sonic:/usr/lib/python2.7/dist-packages/show# show ip interfaces
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- --------------- ------------------- ------------ -------------- -------------
Ethernet49 10.0.0.96/31 up/up ARISTA21T0 10.0.0.97
10.10.49.1/24 up/up N/A N/A
```
Co-authored-by: shaoshouping <[email protected]>
malletvapid23
added a commit
to malletvapid23/Sonic-Utility
that referenced
this issue
Aug 3, 2023
…nd ip (#1134)
**- What I did**
Fixsonic-net/sonic-buildimage#5423
**- How I did it**
store neighbor info into array for later showing.
**- How to verify it**
config interface ip add Ethernet49 xxx secondary many times
show ip interface
**- Previous command output (if the output of a command-line utility has changed)**
```
root@sonic:/home/admin# show ip interfaces
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
--------------- -------- ------------------- ------------ -------------- -------------
Ethernet49 10.0.0.96/31 up/up N/A N/A
10.10.49.1/24
```
**- New command output (if the output of a command-line utility has changed)**
```
root@sonic:/usr/lib/python2.7/dist-packages/show# show ip interfaces
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- --------------- ------------------- ------------ -------------- -------------
Ethernet49 10.0.0.96/31 up/up ARISTA21T0 10.0.0.97
10.10.49.1/24 up/up N/A N/A
```
Co-authored-by: shaoshouping <[email protected]>
Description
The interface adds a secondary address, show ip interfaces does not display the BGP Neighbor and Neighbor IP corresponding to the primary ip of the interface
Steps to reproduce the issue:
2.show ip interface Confirm that the interface shows BGP neighbor and neighbor IP
3.config secondary ip of the interface
4.show ip interface
Describe the results you received:
The interface adds a secondary address, show ip interfaces does not display the BGP Neighbor and Neighbor IP corresponding to the primary ip of the interface
Describe the results you expected:
The interface adds a secondary address, show ip interfaces can display the BGP Neighbor and Neighbor IP corresponding to the primary ip of the interface
Additional information you deem important (e.g. issue happens only occasionally):
root@sonic:/home/admin# show version
SONiC Software Version: SONiC.HEAD.182-75068f3a
Distribution: Debian 9.13
Kernel: 4.9.0-11-2-amd64
Build commit: 75068f3
Build date: Tue Sep 15 20:56:19 UTC 2020
Built by: johnar@jenkins-worker-7
Platform: x86_64-ruijie_b6510-48vs8cq-r0
HwSKU: B6510-48VS8CQ
ASIC: broadcom
Serial Number: G1W10072
Uptime: 15:32:00 up 8 min, 1 user, load average: 0.56, 2.74, 1.68
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-syncd-brcm HEAD.182-75068f3a e0a8a1e70567 436MB
docker-syncd-brcm latest e0a8a1e70567 436MB
docker-platform-monitor HEAD.182-75068f3a 7a0b4c32e32a 357MB
docker-platform-monitor latest 7a0b4c32e32a 357MB
docker-router-advertiser HEAD.182-75068f3a 5b68a457b247 289MB
docker-router-advertiser latest 5b68a457b247 289MB
docker-fpm-frr HEAD.182-75068f3a d68563ab47ff 334MB
docker-fpm-frr latest d68563ab47ff 334MB
docker-sflow HEAD.182-75068f3a efaf9fdec8fb 314MB
docker-sflow latest efaf9fdec8fb 314MB
docker-lldp-sv2 HEAD.182-75068f3a eb734d856002 311MB
docker-lldp-sv2 latest eb734d856002 311MB
docker-orchagent HEAD.182-75068f3a 31ab84cddd9b 333MB
docker-orchagent latest 31ab84cddd9b 333MB
docker-dhcp-relay HEAD.182-75068f3a 0416f768a8aa 299MB
docker-dhcp-relay latest 0416f768a8aa 299MB
docker-database HEAD.182-75068f3a 6be94df5546f 289MB
docker-database latest 6be94df5546f 289MB
docker-snmp-sv2 HEAD.182-75068f3a 7f94958e28db 347MB
docker-snmp-sv2 latest 7f94958e28db 347MB
docker-teamd HEAD.182-75068f3a d1db1b60ffec 314MB
docker-teamd latest d1db1b60ffec 314MB
docker-nat HEAD.182-75068f3a a08bed4749c5 316MB
docker-nat latest a08bed4749c5 316MB
docker-sonic-mgmt-framework HEAD.182-75068f3a 4f9ba411a805 430MB
docker-sonic-mgmt-framework latest 4f9ba411a805 430MB
docker-sonic-telemetry HEAD.182-75068f3a ad6b2e2569f2 353MB
docker-sonic-telemetry latest ad6b2e2569f2 353MB
```
The text was updated successfully, but these errors were encountered: