JN0-683 Cheatsheet
Data Center, Professional (JNCIP-DC)
Download free PDFIP fabric architecture and underlay
Clos topology and capacity
- A **pure IP fabric** routes between switches. Use an overlay when workloads need Layer 2 extension; an IP-only AI/ML network can use a routed EBGP fabric without EVPN or VXLAN.
- A **three-stage Clos** connects each leaf to every spine. Leaf-to-leaf traffic crosses one spine; with equal usable links, the number of spine choices determines the available equal-cost paths.
- A **five-stage Clos** adds a super-spine tier to interconnect pods. Size switch radix, link rates, failure capacity and supported forwarding features for the required scale.
- **Oversubscription = aggregate server-facing bandwidth / aggregate fabric uplink bandwidth.** A 3:1 leaf has three times as much downlink capacity as uplink capacity. Adding connected spine uplinks lowers this ratio; removing uplinks raises it.
- Adding similarly provisioned **leaves** increases total fabric capacity and endpoints without changing each leaf's uplink ratio. Calculate bottlenecks at the relevant leaf, pod or inter-pod boundary.
BGP reachability and path selection
- **EBGP underlay** sessions normally use directly connected leaf-spine links. Advertise infrastructure loopbacks so overlay BGP peers and remote VTEPs are reachable independently of a single physical link.
- BGP can retain multiple candidate paths while choosing one **best path** for ordinary advertisement. Receiving two routes does not automatically install both next hops in the forwarding table.
- Enable **multipath** for eligible BGP paths; **multipath multiple-as** permits ECMP across otherwise eligible paths learned from different neighboring AS numbers. Apply a load-balancing policy through **routing-options forwarding-table export** to program forwarding next hops.
- Reusing a **leaf AS** can cause remote leaf routes to fail AS-path loop detection. **as-override** rewrites the peer's AS in advertised paths; a controlled **loops** allowance changes acceptance of the local AS. Choose a consistent design rather than enabling both indiscriminately.
- For a **hidden route**, inspect the rejection reason, AS path, import policy and next-hop resolution. **show bgp summary**, **show route hidden extensive** and **show route forwarding-table** test different stages of route installation.
- **BGP unnumbered** discovers directly connected peers through IPv6 Neighbor Discovery and uses link-local addresses. IPv4 NLRI can use an IPv6 next hop with the supported extended-next-hop capability; configure the needed interface families and address families.
- **BFD** detects forwarding-path failure independently of long routing-protocol hold timers. Effective detection time follows negotiated timers and multiplier; verify hardware and scale support before selecting aggressive intervals.
AI/ML congestion control
- **RoCEv2** carries RDMA over UDP/IP. Engineer congestion control and queue behavior end to end; high link speed alone does not prevent drops or head-of-line blocking.
- **PFC** pauses selected Ethernet priorities hop by hop. Reserve headroom for in-flight traffic and apply lossless treatment only to the required classes; pausing a priority can spread congestion upstream.
- **ECN** marks congestion-experienced packets at configured queue thresholds. The receiver feeds congestion information back to the sender, whose rate-control mechanism reduces load. ECN requires compatible endpoints and fabric configuration.
- **ETS** allocates bandwidth among traffic classes. **DCBX** exchanges data-center bridging settings through LLDP. Plan classification, queue mappings, shared buffers and headroom together; leave capacity for other traffic classes.
VXLAN forwarding and EVPN signaling
Encapsulation and load balancing
- A **VTEP** encapsulates an Ethernet frame in VXLAN, UDP and outer IP headers; the remote VTEP decapsulates it. Underlay switches route the outer packet without needing tenant MAC tables.
- The **VNI** is a 24-bit overlay identifier; a **VLAN ID** identifies a local VLAN. They need not have the same number. Local VLAN-to-VNI mappings determine the bridge domain and host-facing tag at each endpoint.
- VXLAN normally uses **UDP destination port 4789**. The source VTEP derives a source port from inner-flow information, giving the underlay ECMP hash entropy while keeping a flow on a stable path.
- Allow enough **underlay MTU** for the complete encapsulated frame. VXLAN provides no acknowledgment or retransmission service; endpoints and their transport protocols handle loss when the application supports recovery.
Control plane and tenant membership
- **MP-BGP EVPN**, enabled with **family evpn signaling**, advertises endpoint reachability and discovers participating VTEPs. VXLAN supplies the data plane; EVPN supplies the control plane.
- A **multicast flood-and-learn** overlay uses multicast distribution, typically signaled by PIM, for BUM delivery and learns remote MACs from traffic. EVPN distributes MAC reachability through BGP and can use ingress replication without an underlay multicast tree.
- A **route distinguisher (RD)** makes otherwise identical EVPN routes unique. A **route target (RT)** extended community controls route import into the intended EVI or VRF. Matching RDs are not a tenant-membership requirement.
- Check **vtep-source-interface**, loopback reachability, VXLAN encapsulation, extended VNIs and RT import/export together. A working underlay BGP session does not prove that loopback-based overlay sessions or VXLAN forwarding work.
- In an **ERB** fabric, preserve the originating leaf VTEP as the EVPN next hop through transit control-plane devices. Junos **multihop no-nexthop-change** is relevant to EBGP overlay designs that must retain that next hop.
Route types and endpoint state
- **Type 1: Ethernet Auto-Discovery** supports multihoming functions such as aliasing and mass withdrawal. **Type 2: MAC/IP Advertisement** carries MAC reachability and optionally its IP binding.
- **Type 3: Inclusive Multicast Ethernet Tag (IMET)** identifies participants for BUM distribution. **Type 4: Ethernet Segment** discovers PEs attached to an Ethernet segment and supports designated-forwarder election.
- **Type 5: IP Prefix** advertises routed prefixes independently of individual MAC advertisements. Use it for tenant subnet reachability and routed DCI rather than stretching every subnet as Layer 2.
- **show evpn database extensive** exposes MAC/IP bindings, VLAN or VNI context, ESI and learning source. Correlate it with the EVPN route table and forwarding table; a database entry alone does not prove a usable forwarding next hop.
- A **local interface** source identifies local attachment; a remote VTEP source identifies overlay learning. Inspect state flags and route resolution when the active source is absent instead of inferring a cause from the MAC address alone.
- Use **show interfaces vtep.32770 detail** for counters on that logical tunnel when present. Compare ingress, tunnel and egress counters; **monitor traffic** captures traffic visible to the control plane and may miss hardware-forwarded transit packets.
Overlay routing and tenant services
Bridged, centralized and edge routing
- A **bridged overlay** extends a subnet between VTEPs. Hosts in different subnets still need a router, which may be outside the fabric; VXLAN bridging alone does not route between VNIs.
- **Edge-routed bridging (ERB)** places VTEPs and tenant IRB gateways on leaf devices. Spines can provide only IP transit. Border leaves add external connectivity where the design requires it.
- **Centrally routed bridging (CRB)** concentrates inter-subnet routing at central gateways, commonly spines, while access leaves bridge. A **collapsed fabric** combines roles for smaller deployments; identify which devices actually terminate VXLAN and route.
- Attach switches without overlay support below capable **VTEP gateways**, using VLAN trunks or routed access as appropriate. An EVPN overlay does not require every physical switch to act as a VTEP.
IRB gateways and ARP suppression
- An **IRB interface** provides Layer 3 service to a bridge domain. Configure its IP address and bind it to the VLAN with **l3-interface irb.N**, or to an MX bridge domain with **routing-interface irb.N**.
- A **distributed anycast gateway** uses the same gateway IP and MAC across participating leaves. Hosts retain their default gateway as they move, and traffic can be routed at the nearest leaf.
- **Proxy ARP** answers IPv4 neighbor queries from known EVPN MAC/IP bindings and suppresses unnecessary broadcast. **Proxy NDP** serves the analogous IPv6 role. Unknown or stale bindings still require correct discovery and state handling.
- For failed **inter-VLAN routing**, verify host addressing and gateway, IRB state and attachment, tenant VRF membership, destination routes and return reachability. Bridging within one subnet does not require an IRB routing hop.
Asymmetric and symmetric IRB
- **Asymmetric IRB** routes at the ingress VTEP and bridges at egress using the destination subnet's L2 VNI. Ingress leaves need the destination VLAN/VNI configuration, even without locally attached hosts in that VLAN.
- **Symmetric IRB** routes at both VTEPs through the tenant's L3 transit VNI. Each leaf can retain only its locally needed access VLANs, improving scale when VLANs are sparsely distributed.
- For Junos **symmetric Type 2** routing, use supported **MAC-VRF** instances with VLAN-based or VLAN-aware service and an IRB for each local routed VLAN. Associate an L3 VRF and its transit VNI; the documented model adds a transit VLAN/IRB per tenant VRF.
- **irb-symmetric-routing vni** enables the supported Type 2 model. Validate the L3 VNI and router-MAC information in received routes. Junos **Type 5** routing uses the symmetric model; route type and routing model are separate design choices.
MAC-VRF service types
- **MAC-VRF** separates tenant EVPN forwarding contexts and can support overlapping VLAN IDs across isolated instances. **IP-VRF** supplies the tenant's Layer 3 routing table; connect the two through the intended IRBs.
- **vlan-based** maps one VLAN and one bridge table to an EVI. **vlan-aware** places multiple VLANs in one EVI while retaining a separate bridge table and broadcast domain for each VLAN.
- **vlan-bundle** places multiple VLANs in one shared bridge table; MAC addresses must be unique across the bundle. It differs from VLAN-aware service and does not provide the same per-VLAN separation or VLAN translation.
- Host-facing **service-provider-style** logical interfaces allow explicit VLAN demultiplexing and flexible encapsulation where required for overlapping services. Match interface style, encapsulation and service type to the platform; a successful commit alone does not prove service correctness.
EVPN multihoming and multicast
ESI, redundancy and designated forwarders
- An **Ethernet segment identifier (ESI)** is a 10-byte identifier for a shared multihomed attachment. Configure the same nonzero ESI on the PEs serving that segment; use a different ESI for a different segment.
- **All-active** multihoming permits multiple PEs to forward unicast for the segment. An aggregated Ethernet attachment can combine a common ESI with **esi all-active**; align LACP and segment configuration across peers.
- **Single-active** multihoming selects one forwarding PE per service while others stand by. The **designated forwarder (DF)** role is evaluated per Ethernet segment and service, rather than selecting one universal forwarder for the whole fabric.
- In **all-active** operation, the DF controls overlay-to-segment BUM forwarding to avoid duplicate delivery. Type 4 routes support the election; DF election does not restrict all unicast traffic to a single PE.
- **Split horizon** prevents traffic from returning to its originating Ethernet segment. Locally sourced BUM can flood to eligible local ports and remote VTEPs in the broadcast domain, excluding the source; overlay-received traffic must follow loop-prevention rules.
Selective multicast and MAC stability
- **IGMP snooping** tracks IPv4 multicast receiver interest; **MLD snooping** performs the IPv6 role. Selective forwarding avoids sending multicast to every participant in a broadcast domain.
- **Type 6: SMET** advertises selective multicast interest. **Type 7: Join Synchronization** and **Type 8: Leave Synchronization** coordinate membership state between multihoming peers; these are distinct from Type 3 inclusive membership.
- **MAC mobility** tracks a host moving between attachments. Repeated moves can indicate a loop, duplicate address or unstable attachment rather than legitimate migration.
- **MAC move limiting** bounds moves per MAC over a configured interval. Supported actions include **drop**, **log** and **shutdown**; exact logging and recovery behavior depend on the platform and configuration hierarchy.
Data center interconnect and traffic policy
Layer 2 stretch or routed interconnect
- Use **routed DCI** for non-overlapping prefixes when Layer 2 extension is unnecessary. Border gateways exchange EVPN **Type 5** prefixes and provide tenant routing across the interconnect.
- Extend selected **Layer 2** services with **Type 2** MAC/IP reachability and the required BUM membership state. Combine Type 2 and Type 5 services when some subnets must stretch and others need only routed connectivity.
- **Over-the-top (OTT) DCI** extends the overlay across an IP transport network. Participating remote leaf VTEPs need underlay reachability and the relevant EVPN routes; physical spines need not terminate tenant tunnels.
- Before troubleshooting overlay peering, verify **border loopback reachability** through the provider and return path. An established provider-facing BGP session does not prove that remote overlay endpoints are reachable.
Seamless stitching and VNI translation
- **VXLAN stitching** terminates and re-originates tunnels at interconnect gateways. Local fabric tunnels remain within each data center; inter-site tunnels run between border gateways, reducing the cross-site tunnel mesh.
- **Type 2 seamless stitching** supports selective Layer 2 extension while separating local and interconnect control-plane contexts. Gateways can translate a site's local VNI to a common interconnect **translation-vni**.
- The interconnected gateways must agree on the **translation VNI** for a stretched service. Keep local and interconnect RD/RT configuration distinct as the stitching design requires; an ESI identifies a segment, not a global tenant number.
- Trace **EVPN next-hop resolution** to the intended local or border VTEP. Validate RT import, encapsulation, VNI mapping and tunnel reachability on both sides; a learned MAC or prefix alone does not prove the stitched data path.
Microsegmentation and selective inspection
- A **VRF** isolates routing tables. Within one VRF, use supported **firewall filters** for traffic restrictions; routing-policy import/export and route leaking control reachability rather than inspecting individual packets.
- **Filter-based forwarding (FBF)** matches selected packets in a firewall filter and directs them to another routing or forwarding instance. A **family inet** filter matches IPv4 fields such as addresses, protocol and ports, rather than Ethernet MAC fields.
- Apply FBF at a supported **VXLAN gateway** attachment to steer chosen flows toward inspection. Supply the required routes and return path in the selected instance; targeted inspection conserves firewall capacity.
- **VXLAN group-based policy (GBP)** carries group identity for consistent security policy. Group tags may be assigned statically or through supported RADIUS/802.1X integration; the receiving enforcement point applies policy based on those tags.
Provisioning, telemetry and troubleshooting
Zero-touch provisioning
- **ZTP** bootstraps a supported factory-default or zeroized device. Provide DHCP service and a reachable file server holding the configuration, software image or supported provisioning script.
- DHCP supplies an **IP address** and provisioning locations or options. Per-device reservations and file mappings let many identical switches receive different management addresses and configurations.
- The onboarding sequence is **discover DHCP, obtain network settings, retrieve artifacts, then apply provisioning**. Software information can trigger installation of the specified image; account for reboots before validating the final configuration.
- Check DHCP leases/options, server reachability, filenames and transfer permissions when ZTP stalls. **Syslog** and **NTP** improve operations but do not replace the DHCP and artifact services required for provisioning.
Streaming telemetry and sensor models
- **Junos Telemetry Interface (JTI)** streams operational measurements to a collector. Push subscriptions suit frequent interface TX/RX reporting; set and verify the required sampling interval rather than assuming all sensors share one default.
- **Native sensors** expose Juniper-specific instrumentation. **OpenConfig sensors** use vendor-neutral models. **gNMI** is a management protocol, not itself a sensor data model.
- JTI export options include supported **UDP** streaming and **gRPC** services. **gNMI Subscribe** uses gRPC for subscriptions; choose transport and encoding supported by the sensor and collector.
- **SNMP polling** periodically requests counters. **CLI** and **NETCONF** retrieve operational state on demand. Distinguish the acquisition method, sensor path, encoding and transport when comparing monitoring designs.
Sampling, active probes and microbursts
- **sFlow** exports sampled packet headers and interface counters in datagrams. Samples can identify ingress/egress interfaces and supported VLAN metadata; sampling describes traffic statistically rather than capturing every packet.
- **IPFIX** exports template-based flow records. **RPM** sends active probes to measure reachability, loss and delay. Flow export, packet sampling and synthetic probes answer different operational questions.
- **Port buffer monitoring** reveals queue occupancy and microbursts that long counter intervals can hide. Correlate occupancy with queue drops, ECN marks and PFC events to locate congestion.
- **Port mirroring** copies selected traffic to an analyzer for packet inspection. Check mirror capacity and sampling limits; syslog or protocol traceoptions alone do not provide a complete hardware data-plane packet capture.