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
Description
CLI command configure interface ip doesn't check correctness of inputs.
Steps to reproduce the issue
It's possible to write to DB wrong settings for nonexistent and erroneous vlans
config interface ip add Vlan4095 10.0.0.1/24
config interface ip add Vlan0 10.0.0.1/24
config interface ip add Vlan1 10.0.0.1/24
Command doesn't check correctness of vlan number in case of creation sub-interfaces
config interface ip add Ethernet44.5000 10.0.0.1/24
config interface ip add Ethernet44.* 10.0.0.1/24
config interface ip add Ethernet44.0 10.0.0.1/24
config interface ip add Ethernet44.A 10.0.0.1/24
config interface ip add Ethernet44.01 10.0.0.1/24
Describe the results you received
There is no validation in case of specifying misguided vlan number for sub-interface or interface vlan.
Wrong settings for nonexistent and erroneous vlans were written to DB:
show runningconfiguration all | grep -A 10 "VLAN_INTERFACE"
"VLAN_INTERFACE": {
"Vlan0": {},
"Vlan1": {},
"Vlan4095": {},
"Vlan0|10.0.0.1/24": {},
"Vlan1|10.0.0.1/24": {},
"Vlan4095|10.0.0.1/24": {}
}
Describe the results you expected
This CLI command should check inputs and prevent user form configuring wrong vlan number for sub-interface or interface vlan.
Description
CLI command configure interface ip doesn't check correctness of inputs.
Steps to reproduce the issue
It's possible to write to DB wrong settings for nonexistent and erroneous vlans
Command doesn't check correctness of vlan number in case of creation sub-interfaces
Describe the results you received
There is no validation in case of specifying misguided vlan number for sub-interface or interface vlan.
Wrong settings for nonexistent and erroneous vlans were written to DB:
Describe the results you expected
This CLI command should check inputs and prevent user form configuring wrong vlan number for sub-interface or interface vlan.
Output of show version
The text was updated successfully, but these errors were encountered: