1 2 3 4 5 6 7 8 9 10 11 12 13
help: Set to redistribute bgp routes end: vyatta-vtysh -c "configure terminal" \ -c "router ospf6" \ -c "no redistribute bgp"; if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then if [ -n "$VAR(./route-map/@)" ]; then COND="route-map $VAR(./route-map/@)"; fi; vyatta-vtysh -c "configure terminal" \ -c "router ospf6" \ -c "redistribute bgp $COND"; fi;