本文共 1490 字,大约阅读时间需要 4 分钟。
环境:ensp
防火墙USG6000V Cloud
与防火墙连接的线需在g0/0/0端口
https://192.168.0.1:8443/默认用户名和密码admin Admin@123
①系统视图下开启telnet server
sys[USG6000V1]telnet server enable
②创建vty下的策略
[USG6000V1]user-interface vty 0 4[USG6000V1-ui-vty0-4] authentication-mode aaa user privilege level 15 protocal inbound telnet
③进入aaa 创建telnet用户
[USG6000V1]aaa #aaa方式,需要提供账号和密码[USG6000V1-aaa]manager-user huawei[USG6000V1-aaa-manager-user-huawei]password cipher xxxxxx[USG6000V1-aaa-manager-user-huawei]service-type telnet [USG6000V1-aaa-manager-user-huawei]level 15
④进入接口,允许telnet协议
int g0/0/0service-manage telnet permit
⑤把接口分配到trust区域
firewall zone trustadd interface GigabitEthernet0/0/0
⑥登录验证
注意第一次登录需要修改密码①开启SSH服务
[USG6000V1]stelnet server enable
②配置ssh user 属性
[USG6000V1]ssh user xiaomi[USG6000V1]ssh user xiaomi authentication-type password[USG6000V1]ssh user xiaomi service-type stelnet[USG6000V1]dis ssh user
③创建ssh user
[USG6000V1]aaa[USG6000V1-aaa]manager-user xiaomi[USG6000V1-aaa-manager-user-xiaomi]password cipher xxxxxxxx[USG6000V1-aaa-manager-user-xiaomi]service-type ssh[USG6000V1-aaa-manager-user-xiaomi]level 15
④创建vty下的策略
[USG6000V1]user-interface vty 0 4 authentication-mode aaa user privilege level 15 protocal inbound ssh
⑤把接口分配到trust区域
[USG6000V1]firewall zone trustadd interface GigabitEthernet0/0/0
⑥使用xshell进行登录
初次登录需要修改密码,直接登录即可。
转载地址:http://jdgjx.baihongyu.com/