switch huawei merupakan salah satu perangkat yang sering digunakan untuk dijadikan sw core atau sw distribusi pada beberapa provider dengan harga yang relative murah dan kapasitas yang besar sw huawei menjadi salah satu alternative untuk menjadikan sebagai perangkat utama berikut beberapa yang cara untuk config dasar pada sw huawei
system-view
Enter system view, return user view with Ctrl+Z
display version
display current-configuration
display current-configuration | include sysname #view switch name
display current-configuration | include vlan
display current-configuration include interface
display ip interface brief # switch IP address
display interface brief | exclude Ethernet|NULL|Tunnel
display current-configuration include interface
display ip interface brief # switch IP address
display interface brief | exclude Ethernet|NULL|Tunnel
[~SW-SLI-NEU]interface 40g
[~SW-SLI-NEU]interface 40GE1/0/1
[~SW-SLI-NEU-40GE1/0/1]por
[~SW-SLI-NEU-40GE1/0/1]port li
[~SW-SLI-NEU-40GE1/0/1]port link-tyal
[~SW-SLI-NEU-40GE1/0/1]port link-type trunk
[SW-SLI-NEU-40GE1/0/1]port [SW-SLI-NEU-40GE1/0/1]port tr
[SW-SLI-NEU-40GE1/0/1]port trun [SW-SLI-NEU-40GE1/0/1]port trunk al
[SW-SLI-NEU-40GE1/0/1]port trunk allow-pass val [SW-SLI-NEU-40GE1/0/1]port trunk allow-pass vlan
[SW-SLI-NEU-40GE1/0/1]port trunk allow-pass vlan 1800 1802 2374 2839 325 401 2391 2392 Info: Some VLANs are not created. Please create them to make the configuration take effect. [SW-SLI-NEU-40GE1/0/1]commit
[~SW-SLI-NEU-40GE1/0/1]
interface buat trunk allow vlan 1800-1804 2374 2839 325 401
[SW-SLI-NEU-aaa]local-user rikza2025 service-type ter [SW-SLI-NEU-aaa]local-user rikza2025 service-type terminal te
[SW-SLI-NEU-aaa]local-user rikza2025 service-type terminal telnet ssh [SW-SLI-NEU-aaa]local-user rikza2025 service-type terminal telnet ssh
Info: The user rikza2025’s password has been changed to be irreversible.
Warning: The service type configured contains unsecured protocol(telnet, terminal). It is recommended to configure the secure service type only.
[SW-SLI-NEU-aaa]quit [SW-SLI-NEU]commit
[~SW-SLI-NEU]quit
save
Warning: The current configuration will be written to the device. Continue? [Y/N]:y
Now saving the current configuration to the slot 1 ..
Info: Save the configuration successfully.
interface Eth-Trunk1
description BONDING-SLI
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 53
mode lacp-static
lacp mixed-rate link enable
loopback-detect enable
loopback-detect action alarm
load-balance src-dst-ip
