Verify Campus Fabric Configuration via CLI (Junos)

After building a campus fabric via Mist, you can verify the configuration using the switch CLI. To do that, initiate a shell session using the Remote Shell option on the Utilities menu on the switch details page in Mist and run the following commands.

Note: These commands apply only to Junos-based devices.

show bgp summary

Purpose

Verify that the Border Gateway Protocol (BGP) EVPN sessions, which are a critical component of the fabric, are established correctly.

Sample Output

show bgp neighbor

Purpose

Verify detailed neighbor status, address families, received prefixes, timers, and capabilities.

Sample Output

show route receive-protocol bgp

Purpose

Verify EVPN routes being received from remote VTEPs. This command displays the routes that the peer is advertising to the local switch. If a route does not appear here, the remote device is not sending it. If it appears here but not in the routing table, the route is likely being rejected by policy or another routing decision.

Sample Output

show route advertising-protocol bgp

Purpose

Verify EVPN routes being advertised to remote VTEPs. This command displays which routes the switch is advertising to a BGP peer after export policies have been applied.

Sample Output

show route table

Purpose

Verify that the control plane has successfully learned and installed the expected routes in the appropriate routing table. The command displays the contents of a specified routing table (such as inet.0, evpn.0, or a VRF table).

Sample Output

show evpn instance extensive

Purpose

Verify EVPN instance state, route counts, VNIs, route distinguishers, and route targets. This command displays a high-level view of the health and state of the EVPN instances (EVIs), including their associated interfaces, neighbors, bridge domains, IRBs, and Ethernet Segments (ESIs).

Sample Output

show vlans

Purpose

Verify VLAN-to-VNI mappings and view the remote VTEPs associated with each VLAN. When VLAN traffic enters the fabric, the VLAN is mapped to a corresponding VNI, allowing traffic to be forwarded to EVPN-VXLAN devices participating in that VLAN/VNI segment. This command helps confirm that VLANs are mapped correctly and that the expected remote VTEPs are available for forwarding.

Sample Output

show ethernet-switching vxlan-tunnel-end-point source

Purpose

Verify the local VXLAN Tunnel Endpoint (VTEP) configuration on a campus fabric switch. The command displays the source VTEP address, the associated loopback interface, and the VLAN/VNI mappings that are advertised into the EVPN-VXLAN fabric. It also shows the VTEP interface used for VXLAN encapsulation and decapsulation.

Sample Output

show ethernet-switching vxlan-tunnel-end-point remote

Purpose

Verify that the switch has discovered remote VXLAN Tunnel Endpoints (VTEPs) through EVPN and has installed the corresponding VXLAN forwarding information in the forwarding table. This command displays the remote VTEP IP addresses, associated VTEP interfaces, next-hop information, and the VNIs reachable through each remote VTEP. It is particularly useful for validating VXLAN overlay connectivity and EVPN route propagation across the fabric.

Sample Output

show interfaces vtep

Purpose

Verify that the VXLAN Tunnel Endpoints (VTEPs) in the campus fabric are operational and that VXLAN tunnels have been correctly established between fabric nodes. The command displays local and remote VTEP interfaces, their associated routing instances, operational status, and VXLAN traffic statistics.

A local VTEP interface is automatically created for the switch's own VXLAN endpoint, while a remote VTEP interface is automatically created for each remote VTEP discovered through EVPN route advertisements. These remote VTEP interfaces are used to encapsulate and decapsulate VXLAN traffic exchanged with other fabric nodes.

Sample Output

show evpn database

Purpose

Verify local and remote MAC/IP route learning. This command displays the addresses learned locally and remotely. If a particular MAC address does not appear in the database, its source should be traced to the originating device or interface. The connected switch configuration should also be verified to ensure that the required EVPN settings are configured correctly.

Output

show ethernet-switching table

Purpose

Verify that MAC addresses learned through EVPN have been installed in the forwarding table. It displays the Ethernet switching table containing learned Layer 2 MAC address information.

Sample Output