ISIS in vrf: neighbor relationship doesn't showing up

Hi guys,

The “show isis vrf TEST1 neighbor” command doesn’t show the ISIS neighbor at all, nevertheless ISIS routes are learns and installed in the routing table on both routers.
With the same ISIS configuration in the global routing table it is working fine, the “show isis neighbor” is showing the ISIS neighbor just fine.

See my configurations:

vyos1:

vyos@vyos1:~$ show configuration commands 
set interfaces dummy dum0 address '172.16.2.1/32'
set interfaces dummy dum0 vrf 'TEST1'
set interfaces ethernet eth0 address '192.168.13.21/24'
set interfaces ethernet eth0 hw-id '52:54:00:f1:2b:06'
set interfaces ethernet eth1 address '10.1.1.11/24'
set interfaces ethernet eth1 hw-id '52:54:00:8e:8d:11'
set interfaces ethernet eth1 vrf 'TEST1'
set interfaces loopback lo
set protocols static route 0.0.0.0/0 next-hop 192.168.13.254
set service ssh
set system host-name 'vyos1'
set system syslog global facility all level 'info'
set system syslog global facility protocols level 'debug'
set vrf name TEST1 protocols isis interface eth1 circuit-type 'level-1'
set vrf name TEST1 protocols isis level 'level-1-2'
set vrf name TEST1 protocols isis net '49.0001.1920.0000.0011.00'
set vrf name TEST1 protocols isis redistribute ipv4 connected level-1
set vrf name TEST1 table '100'

vyos2:

set interfaces dummy dum0 address '172.16.2.2/32'
set interfaces dummy dum0 vrf 'TEST1'
set interfaces ethernet eth0 address '192.168.13.22/24'
set interfaces ethernet eth0 hw-id '52:54:00:66:2e:b6'
set interfaces ethernet eth1 address '10.1.1.12/24'
set interfaces ethernet eth1 hw-id '52:54:00:5f:df:dc'
set interfaces ethernet eth1 vrf 'TEST1'
set interfaces loopback lo
set protocols static route 0.0.0.0/0 next-hop 192.168.13.254
set service ssh
set system host-name 'vyos2'
set system syslog global facility all level 'info'
set system syslog global facility protocols level 'debug'
set vrf name TEST1 protocols isis interface eth1 circuit-type 'level-1'
set vrf name TEST1 protocols isis level 'level-1-2'
set vrf name TEST1 protocols isis net '49.0001.1920.0000.0012.00'
set vrf name TEST1 protocols isis redistribute ipv4 connected level-1
set vrf name TEST1 table '100'
vyos@vyos1:~$ show ip route vrf TEST1
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

VRF TEST1:
I   10.1.1.0/24 [115/10] via 10.1.1.12, eth1 inactive, weight 1, 00:09:17
C>* 10.1.1.0/24 is directly connected, eth1, 00:12:07
C>* 172.16.2.1/32 is directly connected, dum0, 00:12:08
I>* 172.16.2.2/32 [115/10] via 10.1.1.12, eth1, weight 1, 00:09:17

vyos@vyos1:~$ 
vyos@vyos1:~$ 
vyos@vyos1:~$ show isis vrf TEST1 neighbor 

vyos@vyos1:~$ show isis vrf TEST1 topology 
Area VyOS:
IS-IS paths to level-1 routers that speak IP
Vertex               Type         Metric Next-Hop             Interface Parent

vyos1                                                                 
10.1.1.0/24          IP internal  0                                     vyos1(4)
172.16.2.1/32        IP internal  0                                     vyos1(4)
mIPVPN               TE-IS        10     mIPVPN               eth1      vyos1(4)
vyos2                TE-IS        10     vyos2                eth1      vyos1(4)
10.1.1.0/24          IP TE        10     vyos2                eth1      vyos2(4)
172.16.2.2/32        IP TE        10     vyos2                eth1      vyos2(4)

vyos1                                                                 

IS-IS paths to level-1 routers that speak IPv6
Vertex               Type         Metric Next-Hop             Interface Parent
vyos1                                                          
mIPVPN               TE-IS        10     mIPVPN               eth1      vyos1(4)
vyos2                TE-IS        10     vyos2                eth1      vyos1(4)
vyos1                                                                 
IS-IS paths to level-2 routers that speak IP
Vertex               Type         Metric Next-Hop             Interface Parent
vyos1                                                                 
10.1.1.0/24          IP internal  0                                     vyos1(4)

IS-IS paths to level-2 routers that speak IPv6
Vertex               Type         Metric Next-Hop             Interface Parent
vyos1                                                                 

vyos@vyos1:~$ show isis vrf TEST1 database 
Area VyOS:
IS-IS Level-1 link-state database:
LSP ID                  PduLen  SeqNumber   Chksum  Holdtime  ATT/P/OL
vyos1.00-00               103   0x0000008e  0x9357     359    0/0/0
vyos1.03-00                51   0x0000008f  0x1e70     387    0/0/0
mIPVPN.00-00               77   0x000001fc  0x1d2a     588    0/0/0
vyos1.00-00          *    103   0x00000002  0x9eb8     555    0/0/0
vyos1.03-00          *     62   0x00000002  0x8a1b     579    0/0/0
vyos2.00-00               103   0x00000002  0x5ff1     596    0/0/0
    6 LSPs

IS-IS Level-2 link-state database:
LSP ID                  PduLen  SeqNumber   Chksum  Holdtime  ATT/P/OL
vyos1.00-00          *     73   0x00000002  0x44a0     574    0/0/0
    1 LSPs

vyos@vyos1:~$

Both Vyos router are running this version:

vyos@vyos1:~$ show version
Version:          VyOS 1.4-rolling-202303170317

Release train:    current
Built by:         autobuild@vyos.net
Built on:         Fri 17 Mar 2023 03:17 UTC
Build UUID:       45391302-1240-4cc7-95a8-da8ee6390765
Build commit ID:  e887f582cfd7de

Architecture:     x86_64
Boot via:         installed image
System type:       guest
Hardware vendor:  Red Hat
Hardware model:   KVM
Hardware S/N:     
Hardware UUID:    039d2da6-277f-4ed0-99b1-3aacce35b852

Copyright:        VyOS maintainers and contributors

Hi ,

yes, I’ve done some test, I found the same as you . Some operational commands on ISIS doesn’t work(when you use vrf)

here is the bug report :

https://vyos.dev/T5132

2 Likes

Fixed with isis: op-mode: T5132: bugfix VRF commands for route and neighbor · vyos/vyos-1x@1592254 · GitHub it will be in any rolling release after vyos-1.4-rolling-202304010839-amd64.iso

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.