summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/redistribute/static/node.def
blob: df31b1b112bc77acf1536e4e0672293fe512a07c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
help: Set to 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;