-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isisd: fix wrong check for MT commands #17014
Conversation
``` anlan# show run ! interface eth0 ip router isis A exit ! router isis A metric-style narrow <- NOT wide exit ! end anlan (config)# int eth0 anlan (config-if)# no isis topology ipv6-unicast % Configuration failed. Error type: validation Error description: Multi topology IS-IS can only be used with wide metrics ``` The MT commands are mainly controlled by the binded area, not by interface. Currently if there is any MT configuration in the area, `metric-style` must be with the `wide` mode, this requirement is sufficient. So, the unnecessary/wrong check for MT in the interface should be removed. Signed-off-by: anlan_cs <[email protected]>
LGTM |
ci:rerun |
By default, all MT topologies are enabled on interface but are actually enabled when the topology is enabled using:
We cannot set narrow with a configured topology. This check is sufficient
|
@Mergifyio backport stable/10.1 |
@Mergifyio backport stable/10.0 |
✅ Backports have been created
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✅ Backports have been created
|
isisd: fix wrong check for MT commands (backport #17014)
isisd: fix wrong check for MT commands (backport #17014)
The MT commands are mainly controlled by the binded area, not by interface. Currently if there is any MT configuration in the area,
metric-style
must be with thewide
mode, this requirement is sufficient. So, the unnecessary/wrong check for MT in the interface should be removed.