diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-09 19:42:23 +0300 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-09 20:58:36 +0300 | 
| commit | 38133c4a11141c60be07906ce7a0e9efc55ba318 (patch) | |
| tree | ea565def0566459c005462b6441183d92df0d0a9 /doc/user/routemap.rst | |
| parent | 3ebeec9446e4bcc29f477c778ff2b4fa276df7d3 (diff) | |
lib, doc: add "route-map NAME optimization" command
Currently we have a "route-map optimization" command which is entered
from inside the route-map entry but actually applies to the whole
route-map. In addition, this command is not shown in the running-config
and not stored to the startup-config during "write".
Let's add a new command on the config node level to control this setting
and show it in the running-config to make possible to save it during
"write".
The old command is saved for the backward compatibility but hidden and
marked as deprecated.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'doc/user/routemap.rst')
| -rw-r--r-- | doc/user/routemap.rst | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/user/routemap.rst b/doc/user/routemap.rst index 7f357b0925..3cb83cc652 100644 --- a/doc/user/routemap.rst +++ b/doc/user/routemap.rst @@ -333,10 +333,10 @@ Route Map Exit Action Command  Route Map Optimization Command  ============================== -.. clicmd:: route-map optimization +.. clicmd:: route-map ROUTE-MAP-NAME optimization -   Enable route-map processing optimization. The optimization is -   enabled by default. +   Enable route-map processing optimization for `route-map-name`. +   The optimization is enabled by default.     Instead of sequentially passing through all the route-map indexes     until a match is found, the search for the best-match index will be     based on a look-up in a prefix-tree. A per-route-map prefix-tree  | 
