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

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