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