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

end: vtysh -c "configure terminal" \
       -c "router ospf6"                                       \
       -c "no redistribute connected";
     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 connected $COND";
     fi;