交换机配置IP地址以及配置密码

交换机配置IP地址以及配置密码_第1张图片

system-view #进入系统视图
[Huawei]interface Vlanif 1 #进入Vlanif 1视图
[Huawei-Vlanif1]ip address 192.168.1.100 24 # 配置IP地址
[Huawei-Vlanif1]undo shutdown # Vlanif 1 IP地址

               配置交换机登录密码

[Huawei]user-interface console 0 #进入console 0接口
[Huawei-ui-console0]set authentication password cipher 123 #设置终端密码 cipher 暗文密码
[Huawei-ui-console0]authentication-mode password #开启密码认证

你可能感兴趣的:(运维基础配置)