<Huawei> system-view
[Huawei] sysname Switch-Name
[Switch-Name] user-interface vty 0 4
[Switch-Name-ui-vty0-4] authentication-mode aaa
[Switch-Name-ui-vty0-4] protocol inbound ssh
[Switch-Name] interface vlanif 1
[Switch-Name-Vlanif1] ip address 192.168.1.2 255.255.255.0
[Switch-Name-Vlanif1] quit
[Switch-Name] vlan 10
[Switch-Name-vlan10] quit
[Switch-Name] interface Ethernet 0/0/1
[Switch-Name-Ethernet0/0/1] port link-type access
[Switch-Name-Ethernet0/0/1] port default vlan 10
[Switch-Name-Ethernet0/0/1] quit
[Switch-Name] interface Eth-Trunk 1
[Switch-Name-Eth-Trunk1] mode lacp
[Switch-Name] interface Ethernet 0/0/1
[Switch-Name-Ethernet0/0/1] eth-trunk 1
[Switch-Name] interface Ethernet 0/0/2
[Switch-Name-Ethernet0/0/2] eth-trunk 1
[Switch-Name] ssh user admin authentication-type password
[Switch-Name] ssh user admin service-type stelnet
[Switch-Name] local-user admin password irreversible-cipher StrongPassword
[Switch-Name] acl 2001
[Switch-Name-acl-basic-2001] rule permit source 192.168.1.0 0.0.0.255
[Switch-Name] save