最佳答案
1、进入系统视图
<H3C>sys
2、创建本地用户admin,并设置登录密码为admin,服务类型为http跟https,用户级别为network-admin
[H3C] local-user admin
[H3C-luser-manage-admin] password simple admin
[H3C-luser-manage-admin] service-type http https
[H3C-luser-manage-admin] authorization-attribute user-role network-admin
[H3C-luser-manage-admin] quit
3、配置交换机的管理地址:
<H3C>sys
[H3C] interface GigabitEthernet 1/0/1
[H3C - GigabitEthernet 1/0/1]ip address 192.168.1.1 255.255.255.0
[H3C - GigabitEthernet 1/0/1]quit
4、开启http跟https服务
[H3C]ip http enable
[H3C]ip https enable
5、保存配置
<H3C>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/backup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/backup.cfg exists, overwrite? [Y/N]:y
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论