bgpd: Accept no aggregate-address <IP> route-map <RMAP> commands

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
Donatas Abraitis 2019-09-26 17:35:25 +03:00
parent ba0d195d59
commit 711e618eaf

View File

@ -6570,14 +6570,16 @@ DEFUN (aggregate_address_mask,
DEFUN (no_aggregate_address, DEFUN (no_aggregate_address,
no_aggregate_address_cmd, no_aggregate_address_cmd,
"no aggregate-address A.B.C.D/M [<as-set [summary-only]|summary-only [as-set]>]", "no aggregate-address A.B.C.D/M [<as-set [summary-only]|summary-only [as-set]>] [route-map WORD]",
NO_STR NO_STR
"Configure BGP aggregate entries\n" "Configure BGP aggregate entries\n"
"Aggregate prefix\n" "Aggregate prefix\n"
"Generate AS set path information\n" "Generate AS set path information\n"
"Filter more specific routes from updates\n" "Filter more specific routes from updates\n"
"Filter more specific routes from updates\n" "Filter more specific routes from updates\n"
"Generate AS set path information\n") "Generate AS set path information\n"
"Apply route map to aggregate network\n"
"Name of route map\n")
{ {
int idx = 0; int idx = 0;
argv_find(argv, argc, "A.B.C.D/M", &idx); argv_find(argv, argc, "A.B.C.D/M", &idx);
@ -6587,7 +6589,7 @@ DEFUN (no_aggregate_address,
DEFUN (no_aggregate_address_mask, DEFUN (no_aggregate_address_mask,
no_aggregate_address_mask_cmd, no_aggregate_address_mask_cmd,
"no aggregate-address A.B.C.D A.B.C.D [<as-set [summary-only]|summary-only [as-set]>]", "no aggregate-address A.B.C.D A.B.C.D [<as-set [summary-only]|summary-only [as-set]>] [route-map WORD]",
NO_STR NO_STR
"Configure BGP aggregate entries\n" "Configure BGP aggregate entries\n"
"Aggregate address\n" "Aggregate address\n"
@ -6595,7 +6597,9 @@ DEFUN (no_aggregate_address_mask,
"Generate AS set path information\n" "Generate AS set path information\n"
"Filter more specific routes from updates\n" "Filter more specific routes from updates\n"
"Filter more specific routes from updates\n" "Filter more specific routes from updates\n"
"Generate AS set path information\n") "Generate AS set path information\n"
"Apply route map to aggregate network\n"
"Name of route map\n")
{ {
int idx = 0; int idx = 0;
argv_find(argv, argc, "A.B.C.D", &idx); argv_find(argv, argc, "A.B.C.D", &idx);
@ -6648,14 +6652,16 @@ DEFUN (ipv6_aggregate_address,
DEFUN (no_ipv6_aggregate_address, DEFUN (no_ipv6_aggregate_address,
no_ipv6_aggregate_address_cmd, no_ipv6_aggregate_address_cmd,
"no aggregate-address X:X::X:X/M [<as-set [summary-only]|summary-only [as-set]>]", "no aggregate-address X:X::X:X/M [<as-set [summary-only]|summary-only [as-set]>] [route-map WORD]",
NO_STR NO_STR
"Configure BGP aggregate entries\n" "Configure BGP aggregate entries\n"
"Aggregate prefix\n" "Aggregate prefix\n"
"Generate AS set path information\n" "Generate AS set path information\n"
"Filter more specific routes from updates\n" "Filter more specific routes from updates\n"
"Filter more specific routes from updates\n" "Filter more specific routes from updates\n"
"Generate AS set path information\n") "Generate AS set path information\n"
"Apply route map to aggregate network\n"
"Name of route map\n")
{ {
int idx = 0; int idx = 0;
argv_find(argv, argc, "X:X::X:X/M", &idx); argv_find(argv, argc, "X:X::X:X/M", &idx);