如何掌握华为交换机和路由器的基本配置?
1、配置交换机的名称和密码,会考,但不会单独考,基础知识。
<Huawei>system-view
从用户视图进入系统视图
[Huawei]sysname switchName21
命名交换机名字为switchName21
[Huawei]user-interface console 0
进入控制台0
[Huawei-ui-console0]authentication-mode password
配置密码验证模式
[Huawei-ui-console0]set authentication password cipher daojishi21
配置密文密码daojishi21

2、配置交换机的远程管理IP地址,就是配置远程管理的IP地址。
interface vlanif 1进入VLAN1
ip address 192.168.1.1 254
配置IP地址
undo shutdown
开启接口
dns domain 21.com
配置域名为21.com
dns server 192.168.21.21
配置IP地址192.168.21.21

3、配置交换机端口为双工模式
interface gigabitethernet 0/0/1
进入接口0/0/1
undo negotiation auto
取消协商
duplex full
全双工
auto duplex full
自动

4、配置交换机的ARP,就是将IP地址和MAC地址绑定。
arp static 192.168.1.5 2121-21ab-2121
绑定IP地址和MAC地址
dis arp
查看ARP信息,也可以用dis arp all

5、掌握下午考试注意点,差不多实验是重头戏,毕竟都是系统性的知识,灵活性比较强,而其它的服务器知识,组网规划与设计,安全与配置,都相对以记忆为主,因此后面的学习要以加深印象为目的,当然回顾前面,系统性地准备最好。
