考点1:配置交换机的名称和密文密码
《huawei》 //用户视图
《huawei》 system-view //进入系统视图设置
[huawei] //系统视图
[huawei] quit /return //退出系统视图模式
[huawei] sysname DT //设置主机名
[huawei] user-interface console 0 //进入控制台
[huawei-ui-console 0] authentication-mode password
[huawei-ui-console 0] set authentication password/aaa cipher
(密文) /simple(明文)huawei //配置密文密码
考点2:配置交换机的远程管理IP地址
[huawei] interface Vlanif 1 //进入vlan1
[huawei-Vlanif1] ip address 192.168.1.254 24 //配置IP
[huawei-Vlanif1] undo shutdown // 开启接口
[huawei] dns domain dtwlxy.com //设置域名
[huawei] dns server 192.168.254.254 //设置域名ip
display vlan //显示vlan
save //保存 reboot //重启设备
display curr //显示当前配置
《huawei》undo terminal monitor //取消提示信息
考点3:配置交换机端口速率,双工,ARP
[huawei] int g 0/0/1 //进入端口
[huawei- g0/0/1] description negotiation auto //取消协商
[huawei- g0/0/1]duplex full //全双工
[huawei- gigabitEthernet 0/0/1] auto duplex full //自动
[huawei- gigabitEthernet 0/0/1] speed 10 //速率10M
[huawei- gigabitEthernet 0/0/1] auto speed 100 //自动
[huawei] arp static 192.168.1.8 5489-98cf-2603 //绑定
[huawei] display arp
[huawei] display arp all //查看ARP
考点4:配置路由器接口IP和静态路由
[huawei] int g0/0/1 //进入接口
[huawei- gigabitEthernet 0/0/1] ip address 192.168.1.6 24
//配置ip地址
[huawei- gigabi