JN0-649 Cheatsheet
Enterprise Routing and Switching, Professional (JNCIP-ENT)
Download free PDFAdvanced Ethernet switching
Spanning tree and regions
- **RSTP** builds a rapid-converging loop-free topology. **VSTP** maintains a tree per VLAN and provides interoperability with PVST+ environments; verify VLAN membership and BPDU handling on interswitch links.
- **MSTP** maps multiple VLANs to each spanning-tree instance. Switches share one region only when the configuration name, revision number and VLAN-to-instance mapping agree.
- **Root election** selects the lowest bridge ID: priority first, then MAC address. Set priorities per instance to place different MSTI roots on different distribution switches.
- **Root ports** lead toward the root; designated ports forward for their segments. Check the instance, root ID, path cost and received BPDUs before interpreting a port role.
- **Edge ports** connect end systems. BPDU protection can disable a protected port when BPDUs arrive; do not treat an interswitch connection as an ordinary host port.
VLAN registration and extension
- **MVRP** registers and prunes VLAN membership on trunks. It works with RSTP and MSTP; Junos does not support combining it with VSTP. Join and leave timers control registration updates.
- **Normal** MVRP mode participates in registration. **Restricted** accepts joins only for statically configured VLANs. **Forbidden** suppresses dynamic registration and declaration, with an exception for statically configured VLANs.
- **Q-in-Q** preserves an inner customer **C-tag** inside an outer service **S-tag**. All-in-one bundling carries multiple customer VLANs in one service VLAN; allow for the extra tag in the provider MTU.
- **L2PT** transports customer Layer 2 control protocols across a provider network. Coordinate tunnel endpoints and BPDU protection; customer spanning-tree frames require explicit treatment across the service.
- **Filter-based VLAN assignment** can classify ingress traffic by source MAC or IP when several hosts share a port through an unmanaged switch. A trunk alone cannot identify separate untagged hosts.
Voice VLANs and Ethernet power
- **Voice VLANs** separate phone traffic from workstation data on a shared access connection. The phone typically tags voice traffic while the attached computer uses the data VLAN.
- **LLDP-MED** advertises voice network policy, including VLAN and priority information, to compatible phones. Configure both the voice VLAN association and discovery on the relevant interfaces.
- **PoE** supplies power through Ethernet. IEEE **802.3af** provides up to **15.4 W at the switch port**; less reaches the device after cable loss. IEEE **802.3at PoE+** raises the port limit to 30 W.
- **LLDP/LLDP-MED power information** supports power negotiation with compatible devices. Check total switch budget, per-port limits, port priority and actual allocation when phones lose power.
OSPF and IS-IS routing
OSPF adjacency and reliable flooding
- **OSPF neighbors** progress through Down, Init, 2-Way, ExStart, Exchange, Loading and Full. On broadcast networks, two DROther routers can remain 2-Way normally.
- **ExStart/Exchange** trouble often points to an MTU mismatch during database-description negotiation. Also compare area, authentication, timers, network type and interface addressing.
- **Reliable flooding** uses link-state acknowledgments and retransmissions. OSPF runs directly over IP, rather than over TCP; the LSDB and routing table represent different stages of route processing.
- **OSPFv2 and OSPFv3** both use a 32-bit router ID, areas, SPF and virtual links. OSPFv3 forms adjacencies per link, uses link-local IPv6 neighbor addresses and supports multiple instances per link.
- **Stub-router advertisement** raises transit link metrics to discourage paths through a router during maintenance. Local destinations remain reachable; without an alternative, transit traffic can still use it.
OSPF LSAs, areas and policy
- **Type 1** router and **Type 2** network LSAs describe intra-area topology. Type 2 is originated by the DR on an eligible multiaccess network.
- **Type 3** advertises interarea prefixes. **Type 4** describes reachability to an ASBR. **Type 5** carries AS-external prefixes; **Type 7** carries NSSA external prefixes for translation at an eligible ABR.
- **Stub areas** suppress external LSAs and use an ABR default. **Totally stubby** areas also suppress ordinary interarea summaries, but still receive a Type 3 default; they do not contain only Types 1 and 2.
- **NSSA** permits local external redistribution as Type 7 while blocking incoming Type 5 LSAs. **ABRs** connect areas to the backbone; **ASBRs** redistribute routes into OSPF.
- **Area summarization** at ABRs reduces interarea route detail and can contain topology changes. It may produce less-specific paths; summary design does not guarantee optimal forwarding.
- **Routing policy order** matters: a terminating accept or reject prevents later terms from changing the decision. OSPF import filtering affects route installation, not the requirement to maintain consistent area LSDB information.
IS-IS levels and route propagation
- **Level 1** routes within an area; **Level 2** routes between areas in the IS-IS domain. An **L1/L2** router participates in both databases. IS-IS is an IGP, not an inter-AS routing protocol.
- **L1 adjacency** requires a matching area address; L2 neighbors can use different areas. Check enabled levels, interface mode, authentication and adjacency output when a neighbor forms at only one level.
- **L1 routes** normally propagate into L2. L2 routes do not automatically leak as specific prefixes into L1; an attached L1/L2 router lets L1 routers derive a default toward the backbone.
- **Wide metrics** provide larger metric values and extensible reachability encoding. Use explicit policy for controlled L2-to-L1 leaking and preserve loop prevention when crossing level boundaries.
BGP policy and path selection
Sessions, families and advertisements
- **BGP uses TCP port 179**. For a failed session, verify interface state, IP reachability, local address, peer AS, authentication and filtering; inspect notifications and session state before blaming packet size.
- **Direct EBGP** normally uses TTL 1. Loopback peering requires reachability to the loopbacks and an appropriate multihop/TTL configuration. Multihop changes session reach, not route load sharing.
- **Address families** negotiate eligible NLRI. IPv4 unicast, VPN unicast and EVPN are distinct families; an Established session does not prove that the required family is enabled on both peers.
- **Missing advertisements** require checking the route in the correct instance, its active status and export policy. Compare **show route advertising-protocol bgp** with the intended export; an import policy governs received routes.
- **vpn-apply-export** applies VRF export first, then BGP group or neighbor export policy to VPN advertisements. Use it when VPN routes need the additional BGP export filtering.
- **AS-path loop control** can block routes when sites reuse an AS. **advertise-peer-as** permits sending routes containing the peer AS; **loops** changes local acceptance of own-AS occurrences. Apply narrowly to avoid creating loops.
Communities and multipath forwarding
- **Best-path comparisons** favor higher local preference, shorter AS path and lower origin code before later tie-breakers. MED comparison, EBGP versus IBGP and next-hop IGP cost can intervene before router ID and peer address.
- **Final tie-breakers** can favor the lower router ID and then lower peer address. Existing external-path age and path-selection options can affect this stage; compare all preceding attributes before using these values.
- **no-export** keeps a route inside the AS or confederation boundary. **no-advertise** prevents advertisement to any BGP peer. **internet** permits ordinary propagation; communities still require correct policy handling.
- **BGP multipath** retains eligible equal paths. Configure it in the BGP scope serving the routing instance, and apply a forwarding-table load-balancing policy where needed to install multiple next hops.
- **load-balance per-packet** is the Junos policy action name; forwarding on many platforms uses flow hashing. Inspect the forwarding table and platform behavior rather than assuming packets in one flow alternate between links.
IP multicast
Membership, trees and source selection
- **IGMP** registers IPv4 receiver membership; **MLD** performs that role for IPv6. **PIM** builds router-to-router multicast distribution state using unicast routing information for RPF checks.
- **PIM sparse mode** initially joins a shared **(*,G)** tree toward the RP. A receiver signals its local router, which sends a PIM Join toward the RP; the source does not send an IGMP join to announce itself.
- **PIM Register** messages carry initial source traffic from the source DR to the RP. Source-specific **(S,G)** state can establish a shortest-path tree; verify RPF direction and outgoing interfaces.
- **IPv4 SSM uses 232.0.0.0/8** and identifies both source and group. IGMPv3 supports source-aware joins; SSM does not require an RP. **239.0.0.0/8** is administratively scoped multicast.
RP resilience and source discovery
- **Anycast RP** assigns the same RP address to multiple routers. Unicast routing takes each participant toward a nearby RP; the RPs still need a way to share active-source information.
- **MSDP** exchanges Source-Active information between RPs in IPv4 ASM designs. Use unique addresses for the MSDP peers even when the shared RP service address is anycast.
- **PIM anycast-RP** uses an RP set so RPs can replicate received Register messages to the other RPs. Configure the set on the participating RPs, with reachable unique addresses.
- **RP troubleshooting** checks group-to-RP mapping, source registration, source discovery and RPF reachability separately. BFD failure detection alone does not synchronize source state; IGMPv3 alone does not provide RP redundancy.
EVPN-VXLAN
Overlay foundations and route types
- **VXLAN** carries an Ethernet overlay over an IP underlay. A **VTEP** encapsulates and decapsulates traffic; a **VNI** identifies the overlay segment. Verify VTEP reachability and encapsulation MTU first.
- **EVPN Type 1: Ethernet Auto-Discovery** supports multihoming reachability and fast convergence. Its withdrawal can remove a failed attachment from many MAC forwarding entries without waiting for individual MAC withdrawals.
- **Type 2: MAC/IP Advertisement** carries endpoint MAC information and, when included, the associated IP. **Type 3: Inclusive Multicast Ethernet Tag** supplies information for BUM distribution.
- **Type 4: Ethernet Segment** discovers PEs attached to the same ESI and supports designated-forwarder election. **Type 5: IP Prefix** advertises routed prefixes independently of individual endpoint MAC advertisements.
- **Routed DCI** can exchange Type 5 prefixes while each data center keeps its Layer 2 subnets local. Choose route types and gateway placement from the required routing or bridging service.
Replication, multihoming and diagnosis
- **BUM traffic** includes broadcast, unknown unicast and multicast. **Ingress replication** creates copies at the ingress VTEP; multicast underlay replication lets the IP network distribute copies through a multicast tree.
- **ESI** identifies a shared Ethernet segment. PEs attached to the same multihomed segment must agree on its ESI and redundancy mode; single-active and all-active have different forwarding behavior.
- **Designated-forwarder election** controls delivery of BUM traffic toward a multihomed segment. Split-horizon mechanisms prevent traffic from returning to its originating segment and forming loops.
- **All-active forwarding** can use multiple eligible PEs. Remote PEs use Auto-Discovery information for aliasing and mass withdrawal; do not infer the redundancy mode from a route type alone.
- **Overlay troubleshooting** checks **family evpn signaling**, route-reflector neighbor relationships, route targets and **show route table bgp.evpn.0**. Inspect Types 1 and 4 for segment state and Type 3 for BUM membership.
- **Control and data planes** need separate checks: an EVPN route can exist while VNI mapping, VLAN membership, IRB configuration, underlay MTU or a missing remote next hop prevents forwarding.
Class of service
Classification and marking
- **Behavior aggregate classifiers** map existing markings such as DSCP, IP precedence or IEEE 802.1p to a forwarding class and loss priority. Verify the classifier applied at the actual ingress interface.
- **Multifield classifiers** use firewall-filter matches such as addresses, protocol and ports. Terms execute in order; set forwarding class and loss priority, then use the intended accepting or terminating action.
- **IP precedence** is the top three bits of the IPv4 DS field; DSCP uses six bits. A binary marking such as **100** has meaning only with the configured classifier map; it does not universally identify one queue.
- **Rewrite rules** set outgoing packet markings. Classification chooses local treatment; rewriting signals treatment to the next device. Verify both trust boundaries and egress marking.
Queues, bandwidth and congestion
- **Forwarding classes** select queues. A **scheduler** defines service parameters; a **scheduler map** associates schedulers with classes and is applied to the relevant output interface.
- **Transmit rate**, **priority** and **buffer size** control queue service and buffering. Modified deficit round-robin shares service among eligible queues; strict-priority treatment requires care to avoid starving other traffic.
- **Expedited forwarding** markings alone do not reserve bandwidth. For voice or video drops, inspect the egress queue, offered load, scheduler allocation, interface capacity and queue drop counters.
- **WRED** drops probabilistically before buffers fill, using congestion and loss priority. **Policers** enforce traffic limits; **shapers** pace output. Neither replaces correct queue bandwidth allocation.
Access control and authentication
802.1X, MAC authentication and portals
- **802.1X** separates the supplicant, switch authenticator and RADIUS authentication server. EAPOL operates on the access link; RADIUS carries authentication exchanges between switch and server.
- **Single supplicant** authenticates the first device and lets other devices use the opened port. **Single-secure** restricts access to one authenticated device. **Multiple supplicant** authenticates devices individually.
- **MAC RADIUS** authenticates a device identity centrally using its MAC address, useful for devices without an 802.1X supplicant. **Static MAC bypass** locally exempts selected devices; neither provides cryptographic proof of device identity.
- **Captive portals** require web authentication before granting normal access. Configure the portal on intended access interfaces, protect credential transport and test permitted preauthentication traffic and browser redirection.
Dynamic VLANs and failure handling
- **Dynamic VLAN assignment** uses RADIUS authorization attributes to place authenticated endpoints in the intended VLAN. Match the VLAN, supplicant mode and attribute support to the switch platform.
- **Juniper VSAs** can supply vendor-specific authorization behavior. A supplicant-mode VSA can select single or single-secure behavior on supported platforms; distinguish this from VLAN assignment attributes.
- **Guest VLANs** serve eligible devices that do not participate in authentication. A **server-reject VLAN** handles explicit authentication rejection; a **server-fail VLAN** handles an unavailable RADIUS service.
- **Server-fail sustain** retains access for previously authenticated devices while denying new unauthenticated devices. Permit, deny and fallback-VLAN behavior make different availability and access-control tradeoffs.
- **Access troubleshooting** distinguishes an authentication reject from a timeout. Check RADIUS reachability, shared secret, endpoint MAC, authentication state and assigned VLAN before changing forwarding configuration.