05-16-2019 08:18 PM - edited 07-05-2021 10:25 AM
Hello folks, I'm wondering let's say I have a switch that I can access remotely only.
The switch is IP address is configure below:
switch1#
! int vlan 6 ip address 192.168.6.5 255.255.255.0 ! !
int vlan 120 ip address 192.168.120.5 255.255.255.0 ! ip route 0.0.0.0 0.0.0.0 192.168.6.1 !
So when I want to access the switch I just use the mgmt IP address 192.168.120.5 to do so. So now let's say VLAN 6 will go away and I have to delete the int vlan 6 from the switch and only use vlan 120 to access the switch. I also must delete that static route since that gateway of 192.168.6.1 will not exist anymore. How would I do this without losing permanent access to my switch?
I know that the ip route command puts me under the default route for a gateway that does not exist anymore and I must point the default route now to 192.168.120.1.
05-16-2019 08:42 PM
Hi @Amafsha1 ,
I know that the ip route command puts me under the default route for a gateway that does not exist anymore and I must point the default route now to 192.168.120.1.
That's right.
Without more details of your network.
I suggest you see the effect of this and be aware of possible complications.
Regards
05-16-2019 10:40 PM - edited 05-16-2019 10:41 PM
so the default gateway SVI resides at the core router which is trunked to this switch that I'm changing the IP for.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: