mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-05 03:54:31 +00:00

``` donatas-laptop# show ip nht VRF default: Resolve via default: on 192.168.10.123 resolved via connected is directly connected, wlp82s0 (vrf default) Client list: bgp(fd 21) donatas-laptop# show ip nht json { "default":{ "ipv4":{ "resolveViaDefault":true, "192.168.10.123":{ "nhtConnected":false, "clientList":[ { "protocol":"bgp", "socket":21, "protocolFiltered":"none" } ], "nexthops":[ { "flags":3, "fib":true, "directlyConnected":true, "interfaceIndex":3, "interfaceName":"wlp82s0", "vrf":"default", "active":true } ], "resolvedProtocol":"connected" } } } } donatas-laptop# show ip nht vrf all VRF default: Resolve via default: on 192.168.10.123 resolved via connected is directly connected, wlp82s0 (vrf default) Client list: bgp(fd 21) donatas-laptop# show ip nht vrf all json { "default":{ "ipv4":{ "resolveViaDefault":true, "192.168.10.123":{ "nhtConnected":false, "clientList":[ { "protocol":"bgp", "socket":21, "protocolFiltered":"none" } ], "nexthops":[ { "flags":3, "fib":true, "directlyConnected":true, "interfaceIndex":3, "interfaceName":"wlp82s0", "vrf":"default", "active":true } ], "resolvedProtocol":"connected" } } } } donatas-laptop# ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
30 lines
593 B
Plaintext
30 lines
593 B
Plaintext
!
|
|
hostname r1
|
|
log file zebra.log
|
|
!
|
|
interface lo
|
|
ip address 192.168.0.1/32
|
|
ipv6 address fc00::1/128
|
|
!
|
|
interface r1-eth0
|
|
description SW6 Stub Network
|
|
ip address 192.168.6.1/24
|
|
ipv6 address fc00:0:0:6::1/64
|
|
!
|
|
interface r1-eth1
|
|
description SW0 R1-R2 OSPF & BGP Network
|
|
ip address 192.168.1.1/24
|
|
ipv6 address fc00:0:0:1::1/64
|
|
!
|
|
interface r1-eth2
|
|
description SW2 R1-R3 OSPF Network
|
|
ip address 192.168.3.1/24
|
|
ipv6 address fc00:0:0:3::1/64
|
|
!
|
|
interface r1-eth3
|
|
description SW4 R1-R4 eBGP Network
|
|
ip address 192.168.101.1/24
|
|
ipv6 address fc00:100:0:1::1/64
|
|
!
|
|
no ip nht resolve-via-default
|