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

The command "show ipv6 interface" output shows the name of the column as IPv4 address/mask instead of IPv6 #11124

Closed
dprital opened this issue Jun 14, 2022 · 0 comments
Assignees

Comments

@dprital
Copy link
Collaborator

dprital commented Jun 14, 2022

Description

The command "show ipv6 interface" output shows the name of the column as IPv4 address/mask instead of IPv6

Steps to reproduce the issue:

  1. Run "show ipv6 interface"
  2. Wait for the output t be presented
  3. The header of the IP address column is IPv4 instead of IPv6

Describe the results you received:

admin@r-bulldog-03:~$ show ipv6 interface
Interface    Master    IPv4 address/mask                        Admin/Oper    BGP Neighbor    Neighbor IP
-----------  --------  ---------------------------------------  ------------  --------------  -------------
Bridge                 fe80::c76:fbff:fec6:86c5%Bridge/64       up/down       N/A             N/A
Ethernet0              fe80::ee0d:9aff:fe60:3900%Ethernet0/64   up/up         N/A             N/A
Ethernet4              fe80::ee0d:9aff:fe60:3900%Ethernet4/64   up/up         N/A             N/A
Ethernet8              fe80::ee0d:9aff:fe60:3900%Ethernet8/64   up/up         N/A             N/A
Ethernet12             fe80::ee0d:9aff:fe60:3900%Ethernet12/64  up/up         N/A             N/A
Ethernet14             fe80::ee0d:9aff:fe60:3900%Ethernet14/64  up/up         N/A             N/A
Ethernet16             fe80::ee0d:9aff:fe60:3900%Ethernet16/64  up/up         N/A             N/A
Ethernet18             fe80::ee0d:9aff:fe60:3900%Ethernet18/64  up/up         N/A             N/A
Ethernet20             fe80::ee0d:9aff:fe60:3900%Ethernet20/64  up/up         N/A             N/A
Ethernet21             fe80::ee0d:9aff:fe60:3900%Ethernet21/64  up/up         N/A             N/A
Ethernet22             fe80::ee0d:9aff:fe60:3900%Ethernet22/64  up/up         N/A             N/A
Ethernet23             fe80::ee0d:9aff:fe60:3900%Ethernet23/64  up/up         N/A             N/A
Ethernet24             fe80::ee0d:9aff:fe60:3900%Ethernet24/64  up/up         N/A             N/A
Ethernet25             fe80::ee0d:9aff:fe60:3900%Ethernet25/64  up/up         N/A             N/A
Ethernet26             fe80::ee0d:9aff:fe60:3900%Ethernet26/64  up/up         N/A             N/A
Ethernet27             fe80::ee0d:9aff:fe60:3900%Ethernet27/64  up/up         N/A             N/A
Ethernet28             fe80::ee0d:9aff:fe60:3900%Ethernet28/64  up/up         N/A             N/A
Ethernet32             fe80::ee0d:9aff:fe60:3900%Ethernet32/64  up/up         N/A             N/A
Ethernet36             fe80::ee0d:9aff:fe60:3900%Ethernet36/64  up/up         N/A             N/A
Ethernet40             fe80::ee0d:9aff:fe60:3900%Ethernet40/64  up/up         N/A             N/A
Ethernet44             fe80::ee0d:9aff:fe60:3900%Ethernet44/64  up/up         N/A             N/A
Ethernet48             fe80::ee0d:9aff:fe60:3900%Ethernet48/64  up/up         N/A             N/A
Ethernet52             fe80::ee0d:9aff:fe60:3900%Ethernet52/64  up/up         N/A             N/A
Ethernet56             fe80::ee0d:9aff:fe60:3900%Ethernet56/64  up/up         N/A             N/A
Ethernet60             fe80::ee0d:9aff:fe60:3900%Ethernet60/64  up/up         N/A             N/A
docker0                fd00::1/80                               up/down       N/A             N/A
                       fe80::1%docker0/64                                     N/A             N/A
eth0                   fe80::ee0d:9aff:fead:864%eth0/64         up/up         N/A             N/A
lo                     ::1/128                                  up/up         N/A             N/A

Describe the results you expected:

admin@r-bulldog-03:~$ show ipv6 interface
Interface    Master    IPv6 address/mask                        Admin/Oper    BGP Neighbor    Neighbor IP
-----------  --------  ---------------------------------------  ------------  --------------  -------------
Bridge                 fe80::c76:fbff:fec6:86c5%Bridge/64       up/down       N/A             N/A
Ethernet0              fe80::ee0d:9aff:fe60:3900%Ethernet0/64   up/up         N/A             N/A
Ethernet4              fe80::ee0d:9aff:fe60:3900%Ethernet4/64   up/up         N/A             N/A
Ethernet8              fe80::ee0d:9aff:fe60:3900%Ethernet8/64   up/up         N/A             N/A
Ethernet12             fe80::ee0d:9aff:fe60:3900%Ethernet12/64  up/up         N/A             N/A
Ethernet14             fe80::ee0d:9aff:fe60:3900%Ethernet14/64  up/up         N/A             N/A
Ethernet16             fe80::ee0d:9aff:fe60:3900%Ethernet16/64  up/up         N/A             N/A
Ethernet18             fe80::ee0d:9aff:fe60:3900%Ethernet18/64  up/up         N/A             N/A
Ethernet20             fe80::ee0d:9aff:fe60:3900%Ethernet20/64  up/up         N/A             N/A
Ethernet21             fe80::ee0d:9aff:fe60:3900%Ethernet21/64  up/up         N/A             N/A
Ethernet22             fe80::ee0d:9aff:fe60:3900%Ethernet22/64  up/up         N/A             N/A
Ethernet23             fe80::ee0d:9aff:fe60:3900%Ethernet23/64  up/up         N/A             N/A
Ethernet24             fe80::ee0d:9aff:fe60:3900%Ethernet24/64  up/up         N/A             N/A
Ethernet25             fe80::ee0d:9aff:fe60:3900%Ethernet25/64  up/up         N/A             N/A
Ethernet26             fe80::ee0d:9aff:fe60:3900%Ethernet26/64  up/up         N/A             N/A
Ethernet27             fe80::ee0d:9aff:fe60:3900%Ethernet27/64  up/up         N/A             N/A
Ethernet28             fe80::ee0d:9aff:fe60:3900%Ethernet28/64  up/up         N/A             N/A
Ethernet32             fe80::ee0d:9aff:fe60:3900%Ethernet32/64  up/up         N/A             N/A
Ethernet36             fe80::ee0d:9aff:fe60:3900%Ethernet36/64  up/up         N/A             N/A
Ethernet40             fe80::ee0d:9aff:fe60:3900%Ethernet40/64  up/up         N/A             N/A
Ethernet44             fe80::ee0d:9aff:fe60:3900%Ethernet44/64  up/up         N/A             N/A
Ethernet48             fe80::ee0d:9aff:fe60:3900%Ethernet48/64  up/up         N/A             N/A
Ethernet52             fe80::ee0d:9aff:fe60:3900%Ethernet52/64  up/up         N/A             N/A
Ethernet56             fe80::ee0d:9aff:fe60:3900%Ethernet56/64  up/up         N/A             N/A
Ethernet60             fe80::ee0d:9aff:fe60:3900%Ethernet60/64  up/up         N/A             N/A
docker0                fd00::1/80                               up/down       N/A             N/A
                       fe80::1%docker0/64                                     N/A             N/A
eth0                   fe80::ee0d:9aff:fead:864%eth0/64         up/up         N/A             N/A
lo                     ::1/128                                  up/up         N/A             N/A

Output of show version:

SONiC Software Version: SONiC.202111.108071-f2c39cfd0
Distribution: Debian 11.3
Kernel: 5.10.0-8-2-amd64
Build commit: f2c39cfd0
Build date: Thu Jun  9 17:54:07 UTC 2022
Built by: AzDevOps@sonic-build-workers-001LQN

Platform: x86_64-mlnx_msn2100-r0
HwSKU: ACS-MSN2100
ASIC: mellanox
ASIC Count: 1
Serial Number: MT1752X06330
Model Number: MSN2100-CB2F
Hardware Revision: A1
Uptime: 00:02:36 up 3 min,  1 user,  load average: 1.23, 0.99, 0.42

Docker images:
REPOSITORY                    TAG                       IMAGE ID       SIZE
docker-syncd-mlnx             202111.108071-f2c39cfd0   8c7c1f07ed19   919MB
docker-syncd-mlnx             latest                    8c7c1f07ed19   919MB
docker-dhcp-relay             latest                    b672ee04bcff   433MB
docker-orchagent              202111.108071-f2c39cfd0   712fca9f6db9   452MB
docker-orchagent              latest                    712fca9f6db9   452MB
docker-nat                    202111.108071-f2c39cfd0   a2a14829225c   437MB
docker-nat                    latest                    a2a14829225c   437MB
docker-macsec                 202111.108071-f2c39cfd0   45743e7e3970   437MB
docker-macsec                 latest                    45743e7e3970   437MB
docker-fpm-frr                202111.108071-f2c39cfd0   7ddbe96623a8   452MB
docker-fpm-frr                latest                    7ddbe96623a8   452MB
docker-snmp                   202111.108071-f2c39cfd0   6c1c7be2bfdd   463MB
docker-snmp                   latest                    6c1c7be2bfdd   463MB
docker-teamd                  202111.108071-f2c39cfd0   c0901fc0d3be   434MB
docker-teamd                  latest                    c0901fc0d3be   434MB
docker-platform-monitor       202111.108071-f2c39cfd0   561c76d4ed0e   811MB
docker-platform-monitor       latest                    561c76d4ed0e   811MB
docker-sonic-mgmt-framework   202111.108071-f2c39cfd0   9dc665e54e87   574MB
docker-sonic-mgmt-framework   latest                    9dc665e54e87   574MB
docker-sonic-telemetry        202111.108071-f2c39cfd0   67a45d7337e4   508MB
docker-sonic-telemetry        latest                    67a45d7337e4   508MB
docker-mux                    202111.108071-f2c39cfd0   79852fbf20fa   472MB
docker-mux                    latest                    79852fbf20fa   472MB
docker-router-advertiser      202111.108071-f2c39cfd0   439710f500bc   420MB
docker-router-advertiser      latest                    439710f500bc   420MB
docker-sflow                  202111.108071-f2c39cfd0   e977572eeecd   435MB
docker-sflow                  latest                    e977572eeecd   435MB
docker-lldp                   202111.108071-f2c39cfd0   4f9efdbae202   460MB
docker-lldp                   latest                    4f9efdbae202   460MB
docker-database               202111.108071-f2c39cfd0   55cb8af56a05   420MB
docker-database               latest                    55cb8af56a05   420MB

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

@dprital dprital self-assigned this Jun 14, 2022
liat-grozovik pushed a commit to sonic-net/sonic-utilities that referenced this issue Jun 16, 2022
…nd (#2219)

- What I did
Fix the header for "show ipv6 interface" output that display "IPv4" instead of "IPv6"
This PR fix the following issue: sonic-net/sonic-buildimage#11124

- How I did it
Check if the table is for IPv4 or IPv6 and present the header accordingly. In addition, adjust the UT

- How to verify it
Run "show ip interface" CLi command and verify that the output header present "IPv4"
Run "show ipv6 interface" CLi command and verify that the output header present "IPv6"
yxieca pushed a commit to sonic-net/sonic-utilities that referenced this issue Jun 17, 2022
…nd (#2219)

- What I did
Fix the header for "show ipv6 interface" output that display "IPv4" instead of "IPv6"
This PR fix the following issue: sonic-net/sonic-buildimage#11124

- How I did it
Check if the table is for IPv4 or IPv6 and present the header accordingly. In addition, adjust the UT

- How to verify it
Run "show ip interface" CLi command and verify that the output header present "IPv4"
Run "show ipv6 interface" CLi command and verify that the output header present "IPv6"
judyjoseph pushed a commit to sonic-net/sonic-utilities that referenced this issue Jun 20, 2022
…nd (#2219)

- What I did
Fix the header for "show ipv6 interface" output that display "IPv4" instead of "IPv6"
This PR fix the following issue: sonic-net/sonic-buildimage#11124

- How I did it
Check if the table is for IPv4 or IPv6 and present the header accordingly. In addition, adjust the UT

- How to verify it
Run "show ip interface" CLi command and verify that the output header present "IPv4"
Run "show ipv6 interface" CLi command and verify that the output header present "IPv6"
@dprital dprital closed this as completed Jun 20, 2022
yxieca pushed a commit to sonic-net/sonic-utilities that referenced this issue Jun 22, 2022
…nd (#2219)

- What I did
Fix the header for "show ipv6 interface" output that display "IPv4" instead of "IPv6"
This PR fix the following issue: sonic-net/sonic-buildimage#11124

- How I did it
Check if the table is for IPv4 or IPv6 and present the header accordingly. In addition, adjust the UT

- How to verify it
Run "show ip interface" CLi command and verify that the output header present "IPv4"
Run "show ipv6 interface" CLi command and verify that the output header present "IPv6"
qiluo-msft pushed a commit to sonic-net/sonic-utilities that referenced this issue Jul 5, 2022
…nd (#2219)

- What I did
Fix the header for "show ipv6 interface" output that display "IPv4" instead of "IPv6"
This PR fix the following issue: sonic-net/sonic-buildimage#11124

- How I did it
Check if the table is for IPv4 or IPv6 and present the header accordingly. In addition, adjust the UT

- How to verify it
Run "show ip interface" CLi command and verify that the output header present "IPv4"
Run "show ipv6 interface" CLi command and verify that the output header present "IPv6"
malletvapid23 added a commit to malletvapid23/Sonic-Utility that referenced this issue Aug 3, 2023
…nd (#2219)

- What I did
Fix the header for "show ipv6 interface" output that display "IPv4" instead of "IPv6"
This PR fix the following issue: sonic-net/sonic-buildimage#11124

- How I did it
Check if the table is for IPv4 or IPv6 and present the header accordingly. In addition, adjust the UT

- How to verify it
Run "show ip interface" CLi command and verify that the output header present "IPv4"
Run "show ipv6 interface" CLi command and verify that the output header present "IPv6"
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

No branches or pull requests

1 participant