FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
vnet/vnet/adj

show adj

Summary/usage

show adj [<adj_index>] [interface].

Description

Show all adjacencies.

Example usage
vpp# sh adj
[@0]
[@1]  glean: loop0
[@2] ipv4 via 1.0.0.2 loop0: IP4: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc
[@3] mpls via 1.0.0.2 loop0: MPLS_UNICAST: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc
[@4] ipv4 via 1.0.0.3 loop0: IP4: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc
[@5] mpls via 1.0.0.3 loop0: MPLS_UNICAST: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc

Declaration and implementation

Declaration: adj_show_command (vnet/vnet/adj/adj.c line 428)

Implementation: adj_show.

show adj nbr

Summary/usage

show adj nbr [<adj_index>] [interface].

Description

Show all neighbour adjacencies.

Example usage
vpp# sh adj nbr
[@2] ipv4 via 1.0.0.2 loop0: IP4: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc
[@3] mpls via 1.0.0.2 loop0: MPLS_UNICAST: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc
[@4] ipv4 via 1.0.0.3 loop0: IP4: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc
[@5] mpls via 1.0.0.3 loop0: MPLS_UNICAST: 00:00:22:aa:bb:cc -> 00:00:11:aa:bb:cc

Declaration and implementation

Declaration: ip4_show_fib_command (vnet/vnet/adj/adj_nbr.c line 927)

Implementation: adj_nbr_show.