Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

removing secondary IP address

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
Cisco Employee

Re: removing secondary IP address

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

New Member

Re: removing secondary IP address

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

New Member

Re: removing secondary IP address

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

thx for the help!

263
Views
0
Helpful
3
Replies