summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/redistribute/bgp/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospfv3/redistribute/bgp/node.def')
-rw-r--r--templates/protocols/ospfv3/redistribute/bgp/node.def12
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/protocols/ospfv3/redistribute/bgp/node.def b/templates/protocols/ospfv3/redistribute/bgp/node.def
index 3541a9a4..c18804bc 100644
--- a/templates/protocols/ospfv3/redistribute/bgp/node.def
+++ b/templates/protocols/ospfv3/redistribute/bgp/node.def
@@ -1,13 +1 @@
help: Redistribute bgp routes
-
-end: vtysh -c "configure terminal" \
- -c "router ospf6" \
- -c "no redistribute bgp";
- 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 bgp $COND";
- fi;