Skip to content
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.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show ipv6 interfaces command result doesn't conclude neighbor ipv6 address #4716

Closed
tim-rj opened this issue Jun 5, 2020 · 1 comment · Fixed by #4852
Closed

show ipv6 interfaces command result doesn't conclude neighbor ipv6 address #4716

tim-rj opened this issue Jun 5, 2020 · 1 comment · Fixed by #4852

Comments

@tim-rj
Copy link
Contributor

tim-rj commented Jun 5, 2020

[version]
SONiC Software Version: SONiC.HEAD.67-8367dfeb
Distribution: Debian 9.12
Kernel: 4.9.0-11-2-amd64
Build commit: 8367dfe
Build date: Wed May 6 13:49:49 UTC 2020
Built by: johnar@jenkins-worker-7

Platform: x86_64-ruijie_b6510-48vs8cq-r0
HwSKU: B6510-48VS8CQ
ASIC: broadcom
Serial Number: G1MW80H000123
Uptime: 17:39:24 up 21 min, 2 users, load average: 0.76, 0.94, 0.80

[configuration]
config_db_201911_20200523.txt

"LCv6": {
"ip_range": [
"2001:49:5:1::1",
"2001:50:5:1::1"
],
"name": "LCv6",
"password": "hello",
"remote_as": "501"
}

[operation & rslt]
root@switch2:/var/core# show ipv6 interface
Interface Master IPv6 address/mask Admin/Oper BGP Neighbor Neighbor IP

Bridge fe80::ace7:b3ff:fe6e:c1c0%Bridge/64 up/up N/A N/A
Ethernet0 PortChannel1 fe80::5a69:6cff:fefb:2230%Ethernet0/64 up/up N/A N/A
Ethernet52 2001:50:5:1::2/64 up/up N/A N/A <- incorrect
fe80::5a69:6cff:fefb:2230%Ethernet52/64
Loopback0 6::6/128 up/up N/A N/A
fe80::709b:ebff:fe3e:b593%Loopback0/64
PortChannel1 Bridge fe80::5a69:6cff:fefb:2230%PortChannel1/64 up/up N/A N/A
Vlan3 150::1/64 up/up N/A N/A
fe80::5a69:6cff:fefb:2230%Vlan3/64
eth0 fe80::5a69:6cff:fefb:2230%eth0/64 up/up N/A N/A
lo ::1/128 up/up N/A N/A
root@switch2:/var/core# show ipv4 interface
Usage: show [OPTIONS] COMMAND [ARGS]...

Error: No such command "ipv4".
root@switch2:/var/core# show ip interface
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP

Ethernet24 10.0.0.48/31 up/down N/A N/A
Ethernet52 50.5.1.1/31 up/up LC 50.5.1.0
Loopback0 6.6.6.6/32 up/up N/A N/A
Vlan3 150.1.1.1/16 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 172.28.57.33/24 up/up N/A N/A
lo 127.0.0.1/8 up/up N/A N/A
root@switch2:/var/core# show ipv6 bgp summary

IPv6 Unicast Summary:
BGP router identifier 6.6.6.6, local AS number 8005 vrf-id 0
BGP table version 74
RIB entries 5, using 920 bytes of memory
Peers 2, using 41 KiB of memory
Peer groups 2, using 128 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2001:49:5:2::1 4 501 0 0 0 0 0 never Active
2001:50:5:1::1 4 501 48 79 0 0 0 00:03:54 Active

[expection]
"show ipv6 interface" for Ethernet52's Neighbor IP should not be N/A, but 2001:50:5:1::1/64

[log]
syslog.txt

@tim-rj
Copy link
Contributor Author

tim-rj commented Jun 8, 2020

This line "fe80::5a69:6cff:fefb:2230%Ethernet52/64" should not be in show result which causes this issue.

jleveque added a commit that referenced this issue Jun 28, 2020
…te submodules (#4852)

* src/sonic-platform-common 75698a8...82bbeab (9):
  > [sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as in SfpUtilBase (#96)
  > [sfp_base] Update return value documentation of channel-specific methods (#98)
  > [sfp] Tweak key names of some transceiver info fields (#97)
  > fix typo:  portconfig.ini to port_config.ini (#94)
  > [chassis_base] Add platform API support for system LED (#91)
  > Add PCIe check commad  (#64)
  > [sfputilbase.py] Don't try to print EEPROM sysfs file name if we failed to read from it (#81)                                                                                    
  > [sfputilbase | sfputilhelper] Add support of platform.json (#72)
  > [eeprom] Add try-except to catch the IOError (#85)

* src/sonic-platform-daemons 0f4fd83...abe115e (2):
  > [xcvrd] Tweak some transceiver info key names (#62)
  > [psud][thermalctld] Always get fan/PSU LED status from platform API to avoid status inconsistencies (#59)                                                                        

* src/sonic-utilities fd7781b...16a33f2 (9):
  > [config] Fix syntax error (#966)
  > [config] Fix indentation level in _get_disabled_services_list() (#965)
  > a4e64d1 [sonic_installer] Refactor sonic_installer code (#953)
  > 90efd62 [Show | Command Reference] Add Port breakout Show Command (#859)
  > [sfpshow][mock_state_db] Tweak key names of some transceiver info fields (#958)
  > [show] Add missing verbose option to "show line" (#961)
  > [filter-fdb] Check VLAN Presence When Filter FDB (#957)
  > [master]fix #4716 show ipv6 interfaces neighbor_ip is N/A issue (#948)
  > Fix for command. show interface transceiver eeprom -d Ethernet (#955)

Note: sonic-utilities update fixes #4716
pjaipakdee19 pushed a commit to pjaipakdee19/sonic-buildimage that referenced this issue Jul 7, 2020
…te submodules (sonic-net#4852)

* src/sonic-platform-common 75698a8...82bbeab (9):
  > [sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as in SfpUtilBase (sonic-net#96)
  > [sfp_base] Update return value documentation of channel-specific methods (sonic-net#98)
  > [sfp] Tweak key names of some transceiver info fields (sonic-net#97)
  > fix typo:  portconfig.ini to port_config.ini (sonic-net#94)
  > [chassis_base] Add platform API support for system LED (sonic-net#91)
  > Add PCIe check commad  (sonic-net#64)
  > [sfputilbase.py] Don't try to print EEPROM sysfs file name if we failed to read from it (sonic-net#81)                                                                                    
  > [sfputilbase | sfputilhelper] Add support of platform.json (sonic-net#72)
  > [eeprom] Add try-except to catch the IOError (sonic-net#85)

* src/sonic-platform-daemons 0f4fd83...abe115e (2):
  > [xcvrd] Tweak some transceiver info key names (sonic-net#62)
  > [psud][thermalctld] Always get fan/PSU LED status from platform API to avoid status inconsistencies (sonic-net#59)                                                                        

* src/sonic-utilities fd7781b...16a33f2 (9):
  > [config] Fix syntax error (sonic-net#966)
  > [config] Fix indentation level in _get_disabled_services_list() (sonic-net#965)
  > a4e64d1 [sonic_installer] Refactor sonic_installer code (sonic-net#953)
  > 90efd62 [Show | Command Reference] Add Port breakout Show Command (sonic-net#859)
  > [sfpshow][mock_state_db] Tweak key names of some transceiver info fields (sonic-net#958)
  > [show] Add missing verbose option to "show line" (sonic-net#961)
  > [filter-fdb] Check VLAN Presence When Filter FDB (sonic-net#957)
  > [master]fix sonic-net#4716 show ipv6 interfaces neighbor_ip is N/A issue (sonic-net#948)
  > Fix for command. show interface transceiver eeprom -d Ethernet (sonic-net#955)

Note: sonic-utilities update fixes sonic-net#4716
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this issue May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant