We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is no interface name validation when adding IP address. Below are some examples
root@sonic:~# config interface ip add Vlan000000000000003 1.1.1.1/24 root@sonic:~# config interface ip add Vlan000000000000004 1.1.1.1/24 root@sonic:~# root@sonic:~# root@sonic:~# config interface ip add Vlan3 3.1.1.1/24 root@sonic:~# root@sonic:~# show vlan brief +-----------+--------------+-----------+----------------+-------------+-----------------------+ | VLAN ID | IP Address | Ports | Port Tagging | Proxy ARP | DHCP Helper Address | +===========+==============+===========+================+=============+=======================+ | 2 | | Ethernet0 | tagged | disabled | | +-----------+--------------+-----------+----------------+-------------+-----------------------+ root@sonic:~# root@sonic:~# config interface ip add PortChannelabc 1.1.2.3/24 root@sonic:~# root@sonic:~# config interface ip add Vlan10.1000 4.5.1.3/24 root@sonic:~# show subinterfaces status Sub port interface Speed MTU Vlan Admin Type -------------------- ------- ----- ------ ------- ------ root@sonic:~# show interfaces portchannel Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected, * - not synced No. Team Dev Protocol Ports ----- ---------- ---------- ------- root@sonic:~#
No error is thrown at CLI No error log in syslog
The configuration should be rejected and CLI command should throw error
show version
Seen in master and all other branches. This is a day 1 issue.
(paste your output here)
show techsupport
(paste your output here or download and attach the file here )
The text was updated successfully, but these errors were encountered:
@dgsudharsan sonic-net/sonic-utilities#3155 should fix this
Sorry, something went wrong.
[Yang-models] Update sonic-vlan.yang to better constrain Vlan name (#…
814badb
…18207) Related to #3155 Update sonic-vlan.yang model to match requirement as described in #16975 Signed-off-by: matiAlfaro <[email protected]>
No branches or pull requests
Description
There is no interface name validation when adding IP address. Below are some examples
Steps to reproduce the issue:
Describe the results you received:
No error is thrown at CLI
No error log in syslog
Describe the results you expected:
The configuration should be rejected and CLI command should throw error
Output of
show version
:Seen in master and all other branches. This is a day 1 issue.
Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: