cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1485
Views
0
Helpful
3
Replies

removing secondary IP address

jburmood
Level 1
Level 1

How do I go about removing a secondary IP address from a Ethernnet port?

I've tried "no int eth0/0 [ip address] [subnetmask] secondary

no luck.

thanks

3 Replies 3

Prashanth Krishnappa
Cisco Employee
Cisco Employee

W2-10.04-3631co-A#sh running-config interface fastEthernet 0/0

Building configuration...

Current configuration : 148 bytes

!

interface FastEthernet0/0

ip address 10.1.1.1 255.255.255.0 secondary

ip address 20.1.1.1 255.255.255.0

shutdown

duplex auto

speed auto

end

W2-10.04-3631co-A#conf terminal

Enter configuration commands, one per line. End with CNTL/Z.

W2-10.04-3631co-A(config)#int fastEthernet 0/0

W2-10.04-3631co-A(config-if)#no ip address 10.1.1.1 255.255.255.0 secondary

W2-10.04-3631co-A(config-if)#end

W2-10.04-3631co-A#sh run

6d07h: %SYS-5-CONFIG_I: Configured from console by csh running-config interface sh running-config interface fastEthernet 0/0

Building configuration...

Current configuration : 103 bytes

!

interface FastEthernet0/0

ip address 20.1.1.1 255.255.255.0

shutdown

duplex auto

speed auto

end

Thanks, I tried that and the router doesn't seem to want to release the IP address. it still shows the secondary IP address linked to the Ethernet 0/0 port.

any other ideas?

thx

I gave it one more try and it seemed to take this time. cool!

thx for the help!

Review Cisco Networking for a $25 gift card