Switch: Huawei Initial Config

From Catatan IBM
Revision as of 19:44, 6 January 2026 by Ibm (talk | contribs) (Created page with "Untuk menampilkan semua konfigurasi display current-configuration Untuk masuk ke mode konfig system-view ==Configure the Device Nama== Asumsi nama hostname SW-Sinyalku sysname SW-Sinyalku ==Configure the VLAN== Asumsi: ID VLAN = 10 Description = MGMT system-view vlan 10 description MGMT quit * Pastikan Uplink Port sudah di mode Trunk dan mengizinkan vlan 10 Asumsi interface uplink berada di XGigabitEthernet0/0/1 system-view interface XGigabitEthernet0/0/1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Untuk menampilkan semua konfigurasi

display current-configuration

Untuk masuk ke mode konfig

system-view


Configure the Device Nama

Asumsi nama hostname SW-Sinyalku

sysname SW-Sinyalku

Configure the VLAN

Asumsi: ID VLAN = 10 Description = MGMT

system-view
vlan 10
description MGMT
quit
  • Pastikan Uplink Port sudah di mode Trunk dan mengizinkan vlan 10

Asumsi interface uplink berada di XGigabitEthernet0/0/1

system-view
interface XGigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
description **Uplink-to-Mikrolink**
undo shutdown
quit
  • Melihat Konfigurasi Interface
display current-configuration interface XGigabitEthernet0/0/1
  • Melihat status Interface
display interface XGigabitEthernet0/0/1


Configure the MGMT

Asumsi: IP Address = 192.168.10.1/24

system-view
interface vlanif 10
ip address 192.168.10.1 255.255.255.0
quit


Configure the Trunk and Access Port

Tipe Trunk

system-view
interface XGigabitEthernet0/0/1
port link-type trunk

Configure the default Route

ip route-static 0.0.0.0 0.0.0.0 <default gateway>

Asumsi IP Gateway = 192.168.10.254

system-view
ip route-static 0.0.0.0 0.0.0.0 192.168.10.254

Configure the LACP

Create a LACP Eth-Trunk

interface Eth-Trunk <Trunk-ID>
mode lacp-static
interface eth-trunk 1
mode lacp-static
quit

interface XGigabitEthernet0/0/2
eth-trunk 1
quit

interface eth-trunk 1
port link-type trunk
port trunk allow-pass vlan 10
undo shutdown
quit
  • Melihat status
display eth-trunk 1
  • Jangan lupa untuk simpan konfigurasi yang telah dibuat
save
y