diff options
-rw-r--r-- | templates/policy/route-map/node.tag/rule/node.tag/set/large-community/node.def | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/large-community/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/large-community/node.def new file mode 100644 index 00000000..2031a96d --- /dev/null +++ b/templates/policy/route-map/node.tag/rule/node.tag/set/large-community/node.def @@ -0,0 +1,13 @@ +type: txt +help: Set BGP large community value +val_help: ASN:nn:mm BGP large community +commit:expression: $VAR(../../action/) != ""; "you must specify an action" + +update: vtysh -c "configure terminal" \ + -c "route-map $VAR(../../../@) $VAR(../../action/@) $VAR(../../@)" \ + -c "set large-community $VAR(@)" + +delete: vtysh -c "configure terminal" \ + -c "route-map $VAR(../../../@) $VAR(../../action/@) $VAR(../../@)" \ + -c "no set large-community $VAR(@)" + |