Networking-Forums.com

Professional Discussions => Routing and Switching => Topic started by: luispolanco on December 10, 2021, 03:22:21 AM

Title: delete network
Post by: luispolanco on December 10, 2021, 03:22:21 AM
I want to remove this network from SWITCH L3

THE PORT IS NO LONGER ROUTED AND I DON'T UNDERSTAND WHY IT DOESN'T WANT TO DELETE

AND IF I TURN OFF OTHER VLANS

I DO NOT UNDERSTAND WHAT HAPPENS
Title: Re: delete network
Post by: icecream-guy on December 10, 2021, 05:36:41 AM
You cannot delete directly connected networks from your device, you would need to change the IP of the directly connected network.
Title: Re: delete network
Post by: config t on December 10, 2021, 09:55:34 AM
Those directly connected networks used to confuse me back in the day too. As Mr. Icecream stated, it's there to stay in your routing table until you remove the IP.

This works the same whether it's configured on a VLAN SVI, physical interface, or tunnel interface. It's been a while but I think even if you shutdown the interface it may still populate in the routing table.. but that could be platform specific behavior I ran into at some point.
Title: Re: delete network
Post by: deanwebb on December 10, 2021, 10:10:43 AM
Once it's disconnected, then it should be removable, that's the other choice.
Title: Re: delete network
Post by: Dieselboy on December 13, 2021, 12:06:10 AM
conf t
default interface fa0/2