-
Notifications
You must be signed in to change notification settings - Fork 15
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
IP and IPV6 address assignment fields displaying "not-set" even though ip is configured in sonic-cli #95
Comments
Issue is related to #86, for which we're waiting on a fix. |
This issue is exactly same as #86 . Root cause is the same. |
Root cause may be same as #86, but, CLI is returning "success" even if CVL incorrectly throws error due to #86. @justinejose91 can you check? |
Yes @sachin-brm CLI returns success, because currently I am writing INTERFACE|Ethernet32|, with which CVL returns success. This used to be working when interface comes up as L3. I am waiting for the fix from CVL team, so that I can push my code. If fix is not possible, I can add the error check. |
I have the code in arlo_bug_fix branch, if you want me to push the code, let me know. If you configure the IP address, it will give Transaction Failure. |
Hi Justin,
Can you please put the fix? We will merge the same into broadcom_sonic
tomorrow...
Regards,
Sachin.
…On Thu, Sep 12, 2019, 11:43 PM Justine Jose ***@***.***> wrote:
I have the code in arlo_bug_fix branch, if you want me to push the code,
let me know. If you configure the IP address, it will give Transaction
Failure.
sonic(conf-if-Ethernet24)# ip address 24.5.3.2/24
%Error: Transaction Failure
sonic(conf-if-Ethernet24)# ipv6 address d::e/64
%Error: Transaction Failure
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#95?email_source=notifications&email_token=AMNPE23JREKGRHBYRTUMBDLQJKBDBA5CNFSM4IVEUU5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6SYVDA#issuecomment-530942604>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMNPE275NNCPVVWFCELYKI3QJKBDBANCNFSM4IVEUU5A>
.
|
Pull-request raised. |
CVL fix for IP configuration is available in master branch (PR #118). @justinejose91 Can you please check this. |
Works fine. |
Problem Description/Summary :
IP and IPV6 address assignment fields displaying "not-set" even though ip is configured in sonic-cli
Expected Behavior :
Mode of IPV4 address assignment and Mode of IPV6 address assignment fields should display as manual when IP address configured on the interface
Topology :
DUT
Steps to Repro :
sonic(conf-if-Ethernet0)# ip address 192.168.1.1/24
Success
sonic(conf-if-Ethernet0)# exit
sonic(config)# exit
sonic# show interface Ethernet 0
Ethernet0 is up, line protocol is up
Hardware is Eth
Interface index is 0
Mode of IPV4 address assignment: not-set
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed , Auto-negotiation off
Input statistics:
30 packets, 6904 octets
30 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 30 discarded
Output statistics:
32 packets, 7172 octets
32 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic#
sonic#
sonic#
sonic#
sonic#
sonic#
sonic#
sonic# show interface Ethernet 0
Ethernet0 is up, line protocol is up
Hardware is Eth
Interface index is 0
Mode of IPV4 address assignment: not-set
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed , Auto-negotiation off
Input statistics:
30 packets, 6904 octets
30 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 30 discarded
Output statistics:
32 packets, 7172 octets
32 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic#
sonic#
sonic#
sonic#
sonic# configure terminal
sonic(config)# interface Ethernet 68
sonic(conf-if-Ethernet68)#
sonic(conf-if-Ethernet68)# ipv6 address 1001::1/64
Success
sonic(conf-if-Ethernet68)# exit
sonic(config)# exit
sonic# show
interface ip lldp platform system
sonic# show interface Ethernet 68
Ethernet68 is up, line protocol is up
Hardware is Eth
Interface index is 17
Mode of IPV4 address assignment: not-set
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed 10GB, Auto-negotiation off
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
Output statistics:
33 packets, 7409 octets
33 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic#
Reproducibility ( Ex:- 3 out of 3 attempts ) Please also update "Reproducible" field :
Every time
The text was updated successfully, but these errors were encountered: