diff options
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 4 | ||||
-rw-r--r-- | templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 129224ed..3edbeab0 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -775,6 +775,10 @@ my %qcom = ( set => 'router bgp #3 ; bgp graceful-restart stalepath-time #7', del => 'router bgp #3 ; no bgp graceful-restart stalepath-time #7', }, + 'protocols bgp var parameters graceful-shutdown' => { + set => 'router bgp #3 ; bgp graceful-shutdown', + del => 'router bgp #3 ; no bgp graceful-shutdown', + }, 'protocols bgp var parameters log-neighbor-changes' => { set => 'router bgp #3 ; bgp log-neighbor-changes', del => 'router bgp #3 ; no bgp log-neighbor-changes', diff --git a/templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def b/templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def new file mode 100644 index 00000000..4ff73f05 --- /dev/null +++ b/templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def @@ -0,0 +1 @@ +help: Graceful shutdown |