1 2 3 4 5
#!/bin/sh declare -a tmp # FRR uses ospf6 where we use ospfv3, thus alter the command tmp=$(echo $@ | sed -e "s/ospfv3/ospf6/") vtysh -c "$tmp"