[c-nsp] Renumbering serial interfaces
Johan Grip
ogun at ogun.org
Thu Feb 18 10:21:10 EST 2010
On Thu, 18 Feb 2010 14:22:26 +0100, Steve Bertrand <steve at ibctech.ca>
wrote:
> On 2010.02.18 03:22, Brian Turnbow wrote:
>> Besides the reload in xx that several have mentioned you can also put
>> secondary Ips on the link
>> Nad then cancel the primary.
>>
>> I.e.
>> interface ATM0/0.32 point-to-point
>> Ip add 2.2.2.2 255.255.255.252 secondary
>>
>> Telnet/ssh to this address using source address 2.2.2.1
>> Then no ip add 1.1.1.1 255.255.255.252
>> The 2.2.2.2 address becomes the priamry and you should not loose the
>> management session.
>
> Does this work differently on a serial interface? On an fa int:
>
> route-server1(config)#int lo75
> route-server1(config-if)#ip address 208.70.109.155 255.255.255.255
> route-server1(config-if)#ip address 208.70.109.156 255.255.255.255 sec
> route-server1(config-if)#no ip address 208.70.109.155 255.255.255.255
>
> Must delete secondary before deleting primary
>
> Steve
This is how I usually do it.
---
Router#sh run int fa0/0
Building configuration...
Current configuration : 136 bytes
!
interface FastEthernet0/0
ip address 2.2.2.2 255.255.255.0 secondary
ip address 1.1.1.1 255.255.255.0
duplex auto
speed auto
end
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 2.2.2.2 255.255.255.0
Router(config-if)#^Z
Router#
Router#sh run int fa0/0
Building configuration...
Current configuration : 92 bytes
!
interface FastEthernet0/0
ip address 2.2.2.2 255.255.255.0
duplex auto
speed auto
end
Router#
---
//Johan
More information about the cisco-nsp
mailing list