Huawei Switch Full Configuration Step by Step

 The Basic Configuration Command of S5700 Huawei


Set Hostname

<Quidway> System-View

[Quidway] sysname GSH-FZ-Front

[Quidway] quit


Set check equipment time zone and time

<Quidway> clock timezone Asia/Dhaka add 06:00:00

<Quidway> clock datetime 18:20:30 2011-06-08

<Quidway> display clock


Telnet remote login

<Quidway> System-View

[Quidway] AAA

[Quidway-aaa] local-user testadmin password cipher p@ssw0rd privilege level 15

[Quidway-aaa] quit

[Quidway]user-interface vty 04

[Quidway-vty0-4]authentication-mode AAA


Add VLAN

<Quidway> System-View

[Quidway] VLAN 128

[Quidway-vlan128] quit


 Set port mode access

<HUAWEI> system-view

[HUAWEI] interface GigabitEthernet 0/0/13

[HUAWEI-GigabitEthernet 0/0/13]port link-type access

[HUAWEI-GigabitEthernet 0/0/13]port default vlan 6

[HUAWEI-GigabitEthernet 0/0/13]quit


Port entry into the Vlan

<Quidway> System-View

[Quidway] VLAN 131

[Quidway-vlan131] port gigabitethernet 0/0/21 to 0/0/22

[Quidway-Vlan131] quit


Set Trunk

<Quidway> System-View

[Quidway] interface GigabitEthernet 0/0/23

[Quidway-GigabitEthernet0/0/23] port link-type trunk

[Quidway-GigabitEthernet0/0/23] port trunk allow-pass VLAN 128131


 Set VLAN IP (management IP)

<Quidway> System-View

[Quidway] interface vlanif 131

[Quidway-Vlanif131] IP address 192.168.0.253 255.255.255.0

[Quidway-Vlanif131] shutdown

[Quidway-Vlanif131] undo shutdown


Set default router

<Quidway> System-View

[Quidway] IP route-static 0.0.0.0 0.0.0.0 192.168.0.254


 Set NTP

<Quidway> System-View

[Quidway] ntp-service unicast-peer 192.168.0.254


Stop WEB Server & DHCP Server

<Quidway> System-View

[Quidway] undo HTTP server enable

[Quidway] undo DHCP enable


Static LACP mode

Devices that are directly connected through an Eth-Trunk can support LACP, by running the mode lacp-static command you can configure the Eth-Trunk to work in static LACP mode. This mode can implement both load balancing and redundancy.


<HUAWEI> system-view

[HUAWEI] interface Eth-Trunk 1

[HUAWEI- interface Eth-Trunk 1]mode lacp-static

[HUAWEI- interface Eth-Trunk 1]quit


LACP Dynamic mode

When a server is connected to a file server over the device that has an Eth-Trunk configured, one is able to run the mode lacp-dynamic command on the device to configure its Eth-Trunk to work in dynamic mode.


<HUAWEI> system-view

[HUAWEI] interface Eth-Trunk 1

[HUAWEI- interface Eth-Trunk 1]mode lacp-dynamic

[HUAWEI- interface Eth-Trunk 1]quit


Save configuration

<Quidway> save all





Huawei Switch Full Configuration Step by Step Huawei Switch Full Configuration Step by Step Reviewed by RIO IT on 11:14 Rating: 5
Powered by Blogger.