summaryrefslogtreecommitdiff
path: root/templates/policy/large-community-list
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-11 16:49:45 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-11 16:49:45 +0100
commit6480b0036050ce669bfd5de2e8b709dd0c0cfdba (patch)
treeb0e5b9b221131e25aa418556bc3795176c59bb72 /templates/policy/large-community-list
parentf9333394d44924d7776b3baf26ac1885d139f61d (diff)
downloadvyatta-cfg-quagga-6480b0036050ce669bfd5de2e8b709dd0c0cfdba.tar.gz
vyatta-cfg-quagga-6480b0036050ce669bfd5de2e8b709dd0c0cfdba.zip
T964: update commands for community lists.
Diffstat (limited to 'templates/policy/large-community-list')
-rw-r--r--templates/policy/large-community-list/node.tag/rule/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/policy/large-community-list/node.tag/rule/node.def b/templates/policy/large-community-list/node.tag/rule/node.def
index cdea7e30..6cb593b7 100644
--- a/templates/policy/large-community-list/node.tag/rule/node.def
+++ b/templates/policy/large-community-list/node.tag/rule/node.def
@@ -13,8 +13,8 @@ end:
if cli-shell-api existsActive policy large-community-list $VAR(../@) rule $VAR(@); then
orig_action=$(cli-shell-api returnActiveValue policy large-community-list $VAR(../@) rule $VAR(@) action)
orig_regex=$(cli-shell-api returnActiveValue policy large-community-list $VAR(../@) rule $VAR(@) regex)
- vtysh -c "configure terminal" -c "no ip large-community-list expanded $VAR(../@) $orig_action $VAR(@) regex $orig_regex"
+ vtysh -c "configure terminal" -c "no bgp large-community-list expanded $VAR(../@) $orig_action $VAR(@) regex $orig_regex"
fi
if [[ ${COMMIT_ACTION} != 'DELETE' ]]; then
- vtysh -c "configure terminal" -c "ip large-community-list expanded $VAR(../@) $VAR(./action/@) $VAR(@) regex $VAR(./regex/@)"
+ vtysh -c "configure terminal" -c "bgp large-community-list expanded $VAR(../@) $VAR(./action/@) $VAR(@) regex $VAR(./regex/@)"
fi