There are many reasons to add additional IPs to an interface, you can use the commands below as an example of how to achieve this.
en
router# configure terminal
router(config)#interface gigabitEthernet 0/2
router(config-if)#ip address 10.10.10.10 255.255.255.0 secondary
router(config-if)#end
To remove it you simply use the ‘no’ expression. Using the full command you used to add it i.e. it must have the ‘secondary’ ont the end.
router# configure terminal
router(config)#interface gigabitEthernet 0/2
router(config-if)#no ip address 10.10.10.10 255.255.255.0 secondary
router(config-if)#end



Leave a comment