eigrpd: disambiguate bandwidth command

eigrpd defines a bandwidth command that takes kilobits instead of
megabits which is problematic when installed in the same node as the
megabits command since (1-100000) and (1-10000000) are ambiguous

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2017-05-17 18:37:24 +00:00
parent e89f016d3e
commit a108e6e40d

View File

@ -646,7 +646,8 @@ DEFUN (no_eigrp_if_delay,
DEFUN (eigrp_if_bandwidth, DEFUN (eigrp_if_bandwidth,
eigrp_if_bandwidth_cmd, eigrp_if_bandwidth_cmd,
"bandwidth (1-10000000)", "eigrp bandwidth (1-10000000)",
"EIGRP specific commands\n"
"Set bandwidth informational parameter\n" "Set bandwidth informational parameter\n"
"Bandwidth in kilobits\n") "Bandwidth in kilobits\n")
{ {
@ -671,8 +672,9 @@ DEFUN (eigrp_if_bandwidth,
DEFUN (no_eigrp_if_bandwidth, DEFUN (no_eigrp_if_bandwidth,
no_eigrp_if_bandwidth_cmd, no_eigrp_if_bandwidth_cmd,
"no bandwidth [(1-10000000)]", "no eigrp bandwidth [(1-10000000)]",
NO_STR NO_STR
"EIGRP specific commands\n"
"Set bandwidth informational parameter\n" "Set bandwidth informational parameter\n"
"Bandwidth in kilobits\n") "Bandwidth in kilobits\n")
{ {