Aruba 8325 AOS-CX: Access Ports, Trunks and VLANs - 夜莺博客

Aruba 8325 AOS-CX: Access Ports, Trunks and VLANs

The Aruba 8325 is a data center switch running ArubaOS-CX, whose CLI mixes Cisco IOS-style syntax with unique AOS-CX constructs. In a real active/active deployment of two 8325s, the most important day-one tasks are turning the Layer 3-default ports into access or trunk ports and getting VLAN traffic flowing. This article covers the platform basics and the exact CLI for access and trunk ports on AOS-CX.

Aruba 8325 Platform Overview

The 8325 family delivers up to 25Gbps on 48 ports and 100Gbps on 4 uplink ports, running ArubaOS-CX with advanced Layer 3 features and active gateway (a super-VRRP style default gateway). Firmware choice matters: check known issues per release before rollout.

Preparation and Planning

  • Port speeds are separated into blocks of 12 - a group of ports runs either 25G or 1G/10G; you cannot mix within the block.
  • 1G connections sometimes only work when speed and duplex are hardcoded to 1000/full on both ends; beware devices without hardcode support.
  • Ports are shut down by default and are Layer 3 by default - both must be changed.

AOS-CX CLI Syntax

Unlike the older ProVision-style Aruba OS, ArubaOS-CX is closer to Cisco IOS: configure terminal, interface 1/1/1, no shutdown, with the distinctive no routing and vlan access/vlan trunk commands replacing Cisco's switchport vocabulary.

Access Port Configuration

An access port accepts untagged frames and maps them to one VLAN - the right mode for computers, printers and other non-VLAN-aware devices:

switch(config)# interface 1/1/1
switch(config-if)# no shutdown
switch(config-if)# description "Connected to Server Host 1"
switch(config-if)# no routing
switch(config-if)# vlan access 200
switch(config-if)# exit

Trunk Port Configuration

A trunk (tagged) port inserts 802.1Q tags and carries multiple VLANs - used for switch-to-switch links, servers with VLAN-aware NICs, and firewalls:

switch(config)# interface 1/1/48
switch(config-if)# no shutdown
switch(config-if)# no routing
switch(config-if)# description "Uplink to Distribution"
switch(config-if)# vlan trunk allowed 10,20,30,200
switch(config-if)# vlan trunk native 1
switch(config-if)# exit

vlan trunk allowed lists the tagged VLANs; vlan trunk native sets the untagged (native) VLAN. If the peer expects only tagged frames, add tag to the native command: vlan trunk native 1 tag.

Verification Commands

switch# show vlan brief
switch# show vlan id 200
switch# show interfaces brief
switch# show running-config interface 1/1/1

Related articles: ArubaOS-CX access vs trunk native VLAN tagging, Junos VLAN access, trunk and IRB examples, and Cisco Nexus NX-OS VLAN and trunk configuration.

原文链接:https://networkengineerblogs.wordpress.com/aruba-8325