diff options
| author | anlan_cs <anlan_cs@126.com> | 2024-10-06 21:06:15 +0800 |
|---|---|---|
| committer | anlan_cs <anlan_cs@tom.com> | 2024-10-07 09:12:42 +0800 |
| commit | 424cec61c0860c74436954a1f8ba6ee7fe8e04a5 (patch) | |
| tree | 92f9689b25304db220d6d9403d40b08b3fbf1db3 /lib/routemap_cli.c | |
| parent | 15991e1a08e7dda6c6decb0b2e2fca23f96b78f7 (diff) | |
isisd: fix wrong check for MT commands
```
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 <anlan_cs@126.com>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
