09-12-2002 12:28 PM - edited 03-02-2019 01:20 AM
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
09-12-2002 12:31 PM
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
09-12-2002 12:52 PM
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
09-12-2002 12:55 PM
I gave it one more try and it seemed to take this time. cool!
thx for the help!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide