HPE6-A86 Cheatsheet
HPE Network Switching Associate
Download free PDFNetwork fundamentals and physical connectivity
Layers, traffic and service quality
- **OSI layers:** Physical (bits), Data Link (frames/MAC), Network (IP packets), Transport (TCP/UDP ports), Session (dialogues), Presentation (representation) and Application (services such as TFTP and SNMP).
- **Encapsulation** adds transport, IP and link headers as data moves down the stack. Transport segmentation divides application data; the receiving stack removes headers and reassembles data as required.
- **TCP** provides connection-oriented, ordered delivery with acknowledgments and retransmission. **UDP** is connectionless and provides no built-in delivery or ordering guarantee; applications can implement their own recovery.
- **Unicast** targets one receiver, **broadcast** targets the local broadcast domain, and **multicast** targets a group. **Anycast** uses a shared destination address reached through routing to a selected instance.
- **QoS** classifies, marks, queues and schedules traffic during congestion. Prioritize delay-sensitive voice/video; **CoS/PCP** is a Layer 2 marking and **DSCP** is an IP-layer marking. Trust markings only at an intentional boundary.
Ethernet, link speed and media
- **Switches learn source MAC addresses** per VLAN and forward known unicast toward the learned port. Unknown unicast and broadcasts are flooded within that VLAN, except back through the ingress port.
- **Broadcast domains** follow VLAN boundaries; routing separates them. Each switched Ethernet link separates collision domains. Full-duplex links have no normal collisions; hubs share one collision domain.
- **Simplex** transmits in one direction; **half duplex** alternates directions, as with push-to-talk radio; **full duplex** permits simultaneous transmission and reception.
- **Link compatibility** requires a common supported speed, port type and validated cable/transceiver at both ends. A faster peer does not increase the speed of the slower port; LAG capacity is not single-port speed.
- **DAC** is short-reach copper; **AOC** is an active optical cable. **Multimode fiber** serves shorter optical links; **single-mode fiber** serves longer reach. Match wavelength, distance rating, fiber and optics at both ends.
- **LC** is a compact latch-style fiber connector; **SC** is a larger push-pull connector; **ST** uses a bayonet coupling; **MPO** carries multiple fibers. Check connector type and optical polarity separately.
Power over Ethernet
- **PSE** supplies power, typically the PoE switch; **PD** receives power, such as an AP or phone. Verify that the selected switch model and port actually support PoE.
- **PoE standards, maximum PSE output:** 802.3af supplies 15.4 W; 802.3at supplies 30 W; 802.3bt Type 3 supplies 60 W; Type 4 supplies 90 W. Power available at the device is lower after cable loss.
- **An unlit AP** calls for checking power, cable continuity, PoE enablement, negotiation and available switch power budget. VLAN or cloud-reachability errors affect connectivity after the AP has power.
VLAN switching and resilient links
VLANs, access ports and trunks
- **A VLAN is a Layer 2 broadcast domain.** Hosts in different VLANs require a Layer 3 gateway to communicate. Creating VLANs separates broadcasts without requiring separate physical switches.
- **802.1Q VLAN IDs** normally range from 1 through 4094; 0 and 4095 are reserved. On AOS-CX, a range such as **vlan 100-110** creates multiple VLANs.
- **Access ports** carry one untagged data VLAN, configured with **vlan access 100**. On a routing-capable physical port, **no routing** selects Layer 2 operation before VLAN configuration.
- **Trunk ports** carry multiple VLANs. **vlan trunk allowed** selects permitted VLANs; **vlan trunk native** identifies the VLAN for untagged traffic. Match allowed VLANs and native-tagging behavior at both ends.
- **AP bridged-client traffic** can use tagged client VLANs while AP management uses an untagged native VLAN. Permit the management VLAN and required client VLANs across every upstream trunk.
- **Native VLAN mismatch** can place untagged traffic into different VLANs on opposite ends. An allowed-VLAN omission can isolate one downstream group while other users remain connected.
LAG and LACP
- **Link aggregation (LAG)** presents compatible physical links as one logical interface. Configure VLAN and Layer 3 properties on the LAG; assign member ports to the same aggregation.
- **Static LAG** assumes correct cabling. **LACP** exchanges partner system and port information to form a dynamic aggregation and detect incompatible partners; active mode initiates negotiation, while passive responds.
- **One LAG requires one logical peer.** Two independent access switches are separate peers. A supported VSF stack or VSX multi-chassis arrangement can provide the common logical endpoint for dual-homed links.
- **Hash-based distribution** selects a member from packet or flow fields. A single flow generally remains on one member. Changing supported hash inputs can improve distribution across many flows; LACP timers do not rebalance the hash.
- **AOS-S trunk terminology** can mean link aggregation, while an AOS-CX VLAN trunk carries multiple VLANs. During migration, map static versus LACP aggregation and tagged versus untagged VLANs separately.
Spanning tree path selection
- **STP** prevents Layer 2 forwarding loops by leaving redundant paths non-forwarding. Loops can produce broadcast storms, duplicated frames and unstable MAC learning.
- **The lowest bridge ID wins root election:** bridge priority is compared before the MAC address. Select the intended root near the aggregation/core rather than relying on default priorities.
- **Root ports** provide each non-root switch its best path toward the root, primarily using cumulative path cost. **Designated ports** forward for each segment; alternate paths can take over after a failure.
- **RSTP/MSTP** provide loop prevention and convergence mechanisms. Use edge behavior for endpoint ports and BPDU protection where appropriate; disabling STP is not a general repair for a blocked uplink.
IPv4 services and routing
Subnets, ARP and gateways
- **CIDR prefix length** counts network bits; IPv4 host bits equal 32 minus the prefix. A conventional subnet has 2 to the power of host bits addresses, with network and broadcast addresses excluded from ordinary host assignments.
- **255.255.254.0 is /23:** nine host bits, 512 total addresses and 510 conventional usable addresses. For 10.64.0.240/23, the network is 10.64.0.0 and broadcast is 10.64.1.255.
- **Subnet comparison** determines whether a destination is local. A wrong mask can make a host ARP for a remote destination or send local traffic unnecessarily to its gateway.
- **ARP** resolves an on-link IPv4 address to a MAC address. For remote traffic, the host resolves the next-hop gateway MAC; the IP destination remains the remote host.
- **Default gateway** is a next hop for off-subnet traffic when no more specific host route applies. The gateway must be reachable on the local subnet; verify the address, mask and gateway as a set.
Layer 3 interfaces and route selection
- **An SVI**, configured under **interface vlan 200**, provides Layer 3 service for its VLAN. Give client VLANs suitable gateway addresses and ensure the VLANs and required forwarding interfaces are operational.
- **A routed physical port** uses **routing** and an **ip address** on the interface. It is a Layer 3 link rather than a VLAN access port; supported switch platforms can use it for a firewall or router connection.
- **Longest-prefix match** chooses the most specific installed route for a packet. For competing routes to the same prefix, lower **administrative distance** wins between sources; the protocol metric selects within its source.
- **Common default distances:** connected 0, static 1, external BGP 20 and OSPF 110. A **local host route** represents an address owned by the switch, including a loopback address.
- **Static routing** uses manually defined destinations and next hops. A higher-distance floating static route becomes usable when the preferred route is withdrawn; a distant outage may leave the local next hop reachable and prevent withdrawal.
- **OSPF** is a link-state routing protocol; **BGP** exchanges routing reachability using path attributes. The **advertising router** of an OSPF LSA identifies its originator and need not be the forwarding next hop.
DHCP discovery and relay
- **DHCP DORA:** Discover, Offer, Request, Acknowledge. An unconfigured client initially broadcasts to find a server; DHCP uses UDP server port 67 and client port 68.
- **DHCP relay** lets clients use a server on another subnet. Configure **ip helper-address** on the client-facing VLAN interface; a server in the same VLAN can receive discovery directly.
- **Relay example:** under **interface vlan 200**, assign gateway **192.168.200.1/24** and **ip helper-address 192.168.1.100**. The server needs a matching client scope and a return route to the relay.
- **DHCP troubleshooting** checks client VLAN, trunk allowance, active scope, relay address, server reachability and return routing. An AP missing from cloud management may simply lack a valid lease, gateway or DNS service.
CX platforms and virtual switching
Choose the platform and topology
- **Access, aggregation and core** form a three-tier campus design: endpoints attach at access, aggregation collects access switches and applies policy, and the core provides resilient transit. Smaller sites may use a collapsed core.
- **CX 6000/6100** target entry access; **6200** adds stackable access options; **6300** serves more demanding access/aggregation needs. **6400 and 8400** are modular chassis families; **8325** is a fixed data-center platform.
- **Exact SKU matters:** check port speeds, PoE budget, supported optics, software features, chassis slots and rack space. CX 6200F uses fixed power supplies; CX 6300M offers modular power supplies and higher-speed stacking options.
- **VSF versus VSX:** VSF forms a single managed stack with a shared control plane. VSX pairs supported switches with independent control and management planes while supporting coordinated multi-chassis forwarding.
VSF roles, topology and integrity
- **CX 6200F and 6300 support VSF.** Build stacks from supported members within the same family; do not combine an AOS-S 2930F and an AOS-CX switch into one stack. CX 8325 uses VSX rather than VSF.
- **Conductor** runs the stack control plane; **standby** synchronizes state and can assume the conductor role. Other members forward traffic under stack control. Member identity and current operating role are different concepts.
- **Primary member ID 1** anchors initial stack formation. Configure a supported secondary member for standby protection. CX 6200F supports up to eight members and CX 6300 up to ten; use unique member IDs.
- **Ring topology** provides a second stack path; one broken link normally changes a ring to a chain without splitting it. A chain break, or sufficient ring failures, can partition the stack.
- **Split detection** addresses multiple fragments attempting to operate independently. On 6200/6300, management-interface connectivity between conductor and standby supports detection; verify the feature and cabling rather than assuming it is active.
- **VSF links** are dedicated stack interconnections, not ordinary endpoint ports. A **VSX ISL** connects a VSX pair; its separate keepalive helps distinguish peer failure from ISL failure.
Stack changes and dual-homed access
- **Before adding a VSF member**, check model compatibility, firmware compatibility, unique member numbering and link assignments. Prepare the new member using the supported provisioning or autojoin procedure.
- **Inserting into a ring** may require opening an existing stack link and connecting the new member between its neighbors. Plan the temporary chain and protect the remaining path; the exact ports depend on the topology.
- **After a stack change**, verify members, conductor/standby roles, topology, link state and split detection with **show vsf**. Confirm forwarding and management reachability before saving the accepted configuration.
- **Dual-homed access LAGs** can terminate on different members of one VSF stack. Replacing an aggregation stack requires preserving the logical peer, VLAN mappings and static/LACP mode on the access side.
Management access and security
In-band and out-of-band access
- **In-band management** uses an SVI and the production network. **Out-of-band management** uses a dedicated management path where supported, improving isolation and availability during data-network problems.
- **On a CX 6300 management interface**, use **interface mgmt**, **no shutdown**, **ip static 10.250.136.52/29** and **default-gateway 10.250.136.49**. The management interface belongs to the dedicated **mgmt VRF**.
- **In-band example:** assign an address under **interface vlan 1**, such as **ip address 10.10.10.10/24**. Devices without a dedicated management interface use an SVI; provide the appropriate route for remote administration.
- **SSH and HTTPS** protect administrative sessions; **SFTP** transfers files over SSH. HTTP, Telnet and TFTP provide no equivalent encrypted session protection. Enable services only on the required management VRF/path.
- **Hardening** includes unique accounts, strong credentials, restricted source networks and trusted certificates. With working OOB access, remove unnecessary SSH/HTTPS exposure from the production VRF while preserving an administrative recovery path.
- **Certificate trust** requires a trusted issuing CA, a matching server name and valid time. Public guest portals usually need publicly trusted certificates; managed devices can trust an enterprise CA distributed through policy.
AAA, roles and least privilege
- **Authentication** verifies identity; **authorization** determines permitted actions; **accounting** records activity. Central AAA simplifies individual access control and auditing across many switches.
- **RADIUS** commonly uses UDP 1812 for authentication and UDP 1813 for accounting. **TACACS+** uses TCP 49 and supports administrative AAA, including command authorization.
- **RADIUS responses** include Access-Accept, Access-Reject and Access-Challenge. Accept/Reject are protocol outcomes; informal words such as allow or block are not substitutes for packet types.
- **Built-in groups** include **administrators**, **operators** and **auditors**. Administrators can change configuration; operators have limited read access; auditors focus on audit information. A group can exist without a user account assigned to it.
- **Custom command authorization** should grant only required CLI operations. Check rule sequence, command matching and implicit denial when a read-only user cannot run **show version**; test effective rights with the intended account.
- **Confidentiality, integrity and availability** protect secrecy, trustworthy data and continued service. Encryption, access control and resilient topology address different security needs.
SNMP monitoring
- **SNMP manager** polls an **agent** on the switch. A **MIB** describes managed objects, and an **OID** identifies an object. GET reads data; SET requests a permitted change.
- **UDP 161** serves queries to the agent; **UDP 162** commonly receives notifications at the manager. A **trap** is unacknowledged; an **inform** requests acknowledgment.
- **SNMPv3 authPriv** provides authentication and encryption. Merely choosing SNMPv3 does not guarantee privacy; configure the required security level, credentials and algorithms. SNMPv2c community strings do not encrypt data.
- **VSF monitoring** treats the stack as one managed system through its conductor. Verify SNMP service VRF, reachability, credentials and access policy rather than polling every member as an independent switch.
Provisioning, tools and troubleshooting
Configuration persistence and ZTP
- **Running configuration** is active; **startup configuration** is loaded at boot. Use **write memory** or **copy running-config startup-config** to preserve accepted changes. Copying startup to running goes in the opposite direction.
- **Zero Touch Provisioning** automatically provisions a factory-default switch using DHCP information and reachable provisioning files. Normal ZTP stops when a custom configuration is detected; force provisioning is a deliberate override.
- **DHCP-based ZTP** can identify a TFTP server, configuration file and firmware image. Stage the correct image on the reachable server and configure the DHCP options; a copy on an administrator PC is insufficient.
- **ZTP verification** uses **show ztp information** to inspect offered files and operation status. Check DHCP options, server routes and file availability. Use a controlled provisioning network because DHCP/TFTP do not provide encrypted provisioning.
Central, analytics and fabric tools
- **HPE Aruba Networking Central** centralizes device onboarding, configuration, monitoring, alerts and troubleshooting. For a missing device, check administrative enablement, management IP, DNS, time, routing and required cloud connectivity.
- **Network Analytics Engine (NAE)** runs supported onboard agents/scripts to monitor conditions, correlate events and support root-cause analysis. Python-based analytics support depends on the switch platform.
- **Fabric Composer** orchestrates supported data-center fabrics through APIs and integrates fabric/virtualization visibility. Use topology views to relate virtual-server connectivity to physical switch ports.
- **Local setup** can use the console or supported mobile-app Bluetooth workflows. Use a compatible Bluetooth adapter in the supported USB host port; distinguish the USB-A host port from a USB-C console connection.
Troubleshoot from evidence
- **Bottom-up isolation:** power and cable, physical link, VLAN/LAG/STP, IP address and routing, then DNS and application service. A reported symptom describes the failure; a cause is a hypothesis to test.
- **Interface checks** distinguish administrative shutdown from operational link-down. Compare speed/duplex, VLAN tagging, MTU, counters and PoE. **no shutdown** removes administrative disablement but cannot repair cabling.
- **CRC/FCS errors** point toward a link-quality problem; increasing discards can indicate congestion. Use **show interface error-statistics**, sample counters over time and correlate with traffic rather than relying on a single snapshot.
- **Ping** tests IP reachability, loss and round-trip time; **traceroute** helps locate a routed path issue. A cable test addresses the physical layer. Same-subnet problems often require VLAN, MAC and interface checks before routing changes.
- **LLDP** advertises local neighbor identity, peer port and supported capabilities. Inspect actual advertised fields; local interface names, remote port IDs and VLAN information are distinct. LLDP visibility does not prove end-to-end IP service.
- **Useful evidence:** **show system** for hardware identity, **show version** for software, **show running-config** for active settings and **show tech** for support diagnostics. Record scope, recent changes and reproduction steps before escalation.