Need macro to:
search for "standby ip"
search for previous interface vlan number
replace "standby ip" with "vrrp vrid (vlan number) virtual-ip"
Sample
.............................................
!
interface Vlan722
description Connection to t1010
ip address 10.89.59.3 255.255.255.0
ip helper-address 10.58.134.6
ip helper-address 10.61.134.6
ip helper-address 10.58.142.6
no ip redirects
standby ip 10.89.59.1
standby timers 1 3
standby priority 105
standby preempt delay minimum 3 sync 3
!
interface Vlan723
description Connection to t1011
ip address 10.89.60.3 255.255.255.0
!
interface Vlan724
description Connection to t1012
ip address 10.89.61.3 255.255.255.0
ip helper-address 10.78.134.6
ip helper-address 10.13.134.6
ip helper-address 10.48.142.6
no ip redirects
standby ip 10.89.61.1
standby timers 1 3
standby preempt delay minimum 3 sync 3
!
..........................................
Finds:
"standby ip 10.89.59.1"
Replaces with:
"vrrp vrid 722 virtual-ip 10.89.59.1
then finds:
standby ip 10.89.61.1
"vrrp vrid 724 virtual-ip 10.89.61.1
Bookmarks