T
Techeia

Mastering the Network CLI: Cisco, HPE, Aruba & H3C

Last Updated: 2024-01-083 min read

Introduction to the Command Line Interface

The Command Line Interface (CLI) remains the industry standard for configuring enterprise network infrastructure. While GUIs exist, the CLI offers speed, precision, and access to advanced features not exposed in web interfaces.

Core Concept: Modes

Most CLIs use a hierarchical mode structure. You strictly move from User Mode (monitoring) to Privileged Mode (advanced commands) to Global Configuration Mode (making changes).


Cisco IOS (The Standard)

Cisco's IOS set the standard for network CLIs. Being proficient here allows you to adapt to almost any other vendor.

Essential Commands

Action Command Context
Enter Privileged Mode enable User Exec (>)
Enter Config Mode configure terminal Priv Exec (#)
View Configuration show running-config Priv Exec (#)
Save Changes copy run start Priv Exec (#)

HPE ProCurve / ArubaOS-Switch

Legacy HPE switches (ProCurve) and modern Aruba campus switches (2930, 5400R) use a CLI very similar to Cisco, but with some "friendly" quirks.

Key Differences

  • VLAN Context: In Cisco, you assign an IP to an SVI (interface vlan). In ArubaOS, you enter the VLAN context directly (vlan 10) then add the IP.
  • Tagging: You strictly "tag" or "untag" ports within the VLAN context. No "switchport mode access".
# Create VLAN 10 and untag port 1
conf t
vlan 10
name "Staff-Data"
untagged 1
tagged 24
ip address 192.168.10.1/24
exit

ArubaCX (The Modern Era)

Aruba's new operating system for the CX series (6000, 8000) is Linux-based and returns to a more Cisco-like Interface-centric model.

Modern Features

  • • Checkpoint & Rollback built-in
  • • REST API accessible
  • • Python scripting on-box
! Checkpoint Command
checkpoint cp1
! Rollback Command
checkpoint rollback cp1

HPE Comware / H3C

Used in HPE FlexFabric (5900, 12900) and H3C devices. This CLI is distinct and verbose.

Translation Guide

Standard Term Comware Command
configure terminal system-view
show run display current-configuration
show ip interface brief display ip interface brief
Trunk Port port link-type trunk

Was this article helpful?

MAIN_LAYOUT_ACTIVE_MARKER
LAYOUT_ACTIVE_MARKER