Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. HPE6-A86/
  4. HPE6-A86 Learning Path/
  5. Study FAQs/
  6. How do I configure access VLANs and a restricted 802.1Q trunk on CX 6300?

Study FAQ

How do I configure access VLANs and a restricted 802.1Q trunk on CX 6300?

Exam · HPE6-A86Knowledge domain · Install, configure, set up, and validate wired network solutions.Updated Nov 25, 2026
Also asked as 2
  • How do I connect untagged hosts to two VLANs carried over one CX 6300 uplink?
  • How should I set access ports, native VLAN, and allowed VLANs on a CX 6300 trunk?

Answer

On two standalone CX 6300 switches running AOS-CX 10.13, put each untagged host port in its intended Layer 2 access VLAN. Configure the inter-switch link as a Layer 2 trunk with the same native VLAN, native tagging behavior, and explicit allowed VLANs at both ends. The trunk can carry VLANs 10 and 20 in tagged frames while keeping their forwarding domains separate.

For an isolated lab, create VLANs 10, 20, and 99 on both switches. Confirm the example port numbers exist, keep the uplink shut during configuration, and retain console access. In global configuration mode, use the following interface commands on each end:

interface 1/1/1
    no routing
    vlan access 10
    no shutdown
    exit
interface 1/1/2
    no routing
    vlan access 20
    no shutdown
    exit
interface 1/1/48
    shutdown
    no routing
    vlan trunk native 99
    vlan trunk allowed 10,20,99

VLAN 99 is the untagged native VLAN in this example. Defining the native VLAN on 10.13 enables vlan trunk allowed all, so place the explicit list after the native command. A mismatched native VLAN can put the same untagged traffic into different VLANs on the two switches. Keep the port down while checking both ends and use no shutdown on the uplinks once the settings match.

Verify the intended membership with show vlan port for each access port and the uplink, then test a same-subnet host pair in each VLAN. This Layer 2 exercise provides no route between VLAN 10 and VLAN 20.

AOS-CX 10.13 access VLAN configuration · AOS-CX 10.13 native VLAN command · AOS-CX 10.13 trunk forwarding behavior · AOS-CX 10.13 Layer-2 Bridging Guide for CX 6300/6400

Full explanation

HPE6-A86: Configuring VLAN Membership, 802.1Q Tagging and LLDP Validation

Study guide · HPE6-A86

Read the full explanation →
← Back to HPE6-A86 FAQsView learning path →

Related questions

How do I commission SSH on the dedicated management port of a CX 6300? →How do I build a Layer 2 LACP bundle between two standalone CX 6300 switches? →How do I route between two local VLANs using SVIs on CX 6300? →Where should I use MSTP admin-edge and BPDU guard on CX 6300? →How do I configure a matching MSTP region and choose its roots on CX 6300? →How do I verify MSTP blocks a redundant link and restores forwarding after a failure? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.