========================配置端口汇聚========================
[H3C]int Bridge-Aggregation 1 ##创建端口汇聚组1
[H3C-Bridge-Aggregation1]port link-type trunk
[H3C-Bridge-Aggregation1]port trunk permit vlan all
[H3C]int GigabitEthernet 1/0/9
[H3C-GigabitEthernet1/0/9]port link-aggregation group 1
[H3C]link-aggregation load-sharing mode destination-ip source-ip ##设置负载模式
[H3C]dis link-aggregation verbose
[H3C]dis link-aggregation summary ##
[H3C]dis interface Bridge-Aggregation 1
======================配置DHCP服务器=======================
[H3C]dhcp enable
[H3C]dhcp server ip-pool vlan10
[H3C-dhcp-pool-vlan10]dis th
dhcp server ip-pool vlan10
network 192.168.0.0 mask 255.255.255.0
gateway-list 192.168.0.17
dns-list 192.168.0.2 114.114.114.114
expired day 0 hour 8
[H3C]static-bind ip-address 192.168.1.177 hardware-address 082e-5f22-fb4d ##绑定静态IP地址
[H3C]dhcp server forbidden-ip 192.168.0.17 ##排除地址
====================配置AAA本地认证========================
[H3C]local-user admin
[H3C-luser-admin]password cipher admin
[H3C-luser-admin]service-type ssh telnet
[H3C]user-interface vty 0 4
[H3C-ui-vty0-4]authentication-mode scheme
[H3C-ui-vty0-4]user privilege level 3
[H3C-ui-vty0-4]set authentication password cipher admin
[H3C]telnet server enable
======================配置NTP客户端===========================
[H3C]ntp-service enable
[H3C]ntp-service unicast-server 192.168.0.2 #配置NTP服务器
[H3C]ntp-service unicast-server 192.168.0.3
[H3C]clock timezone zone-name add 8 #配置时区
<H3C>clock datetime 15:40:59 2017/10/19 #配置本地时间,没有NTP服务器情况下
===================恢复出厂配置==========================
<H3C>reset saved-configuration