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
[master]Fix show ip interface neighbor info not correct when add second ip (sonic-net#1134)
**- What I did**
Fixsonic-net#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]>
0 commit comments