Adding / Removing Secondary IP Cisco IOS

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at WordPress.com

Up ↑

Design a site like this with WordPress.com
Get started