summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/redistribute/static/node.def
blob: d82d5f0508b998170930555a7753980d25566d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
help: Redistribute static routes

end: vtysh -c "configure terminal" \
       -c "router ospf6"                                       \
       -c "no redistribute static";
     if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then
        if [ -n "$VAR(./route-map/@)" ]; then
          COND="route-map $VAR(./route-map/@)";
        fi;
        vtysh -c "configure terminal" \
          -c "router ospf6"                                         \
          -c "redistribute static $COND";
     fi;