09-24-2021 07:53 AM
I am trying to set a specific Ip address on a interface VLAN. When I check the configuration it shows me a # on the Ip address and on top it says "no ip address". I have assigned the VLAN to a port and had a device plugged in. When I check the config, the results are the same. I am trying to understand if that means the Ip address was not accepted or perhaps some configuration is missing.
interface vlan 550
no ip address
# ip address 10.0.97.254 255.255.255.224
no shutdown
!
interface vlan 210
no ip address
# ip address 10.128.3.254 255.255.254.0
no shutdown
!
09-24-2021 08:04 AM
Not sure is this output from the device ?
why there is #before ip address ?
try below
config t
!
interface vlan 550
ip address 10.0.97.254 255.255.255.224
no shutdown
!
interface vlan 210
ip address 10.128.3.254 255.255.254.0
no shutdown
!
end
still not working post below output : ( along with what is this device, what IOS code running)
show run
show vlan
show ip interface brief
09-24-2021 08:27 AM
- You may try to shutdown the vlan interface (again) and for instance use : default interface vlan 550 , then set the ip address again, followed by no shutdown.
M.
09-24-2021 08:43 AM
Hello,
what device is this on, and what IOS version are you running ?
Try to default the interface, or delete and recreate it:
default interface vlan 550
no interface vlan 550
Interface vlan 550l
09-24-2021 11:19 AM
Hello @abraham.vasquez ,
check if ip routing is enabled
you need in global config
ip routing
if you try to configure mutliple SVI Vlan interfaces with IP addresses on a switch that is not running IP routing you can have issues
post show version
In the past on L2 only devices like Cat 2950 when enabling a second SVI with IP address the other one that was present was shutdown.
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide