SVI secondary ip add

i have a switch L3 who has an SVI with 2 ip add on the same subnet, an example

interface vlan 10
ip add
ip add secondary

Why the use of 2 ip add on the interface. I looked everywhere, i don’t understand why.

Thanks again

Hello Mina

You can add a secondary IP address to any Layer 3 interface on a Cisco device. This can be a physical router interface, an SVI of a Layer 3 switch, or even a subinterface. Some reasons to use a secondary IP address, either in the same subnet or in a different subnet from the primary address, can be found in this post:

I hope this has been helpful!