华三交换机v7基本配置


undo autodeploy udisk enable
vlan 100
qu
int vlan 100
ip a 10.0.0.9 24
qu
int g1/0/1
port link-t ac
port acc vlan 100
qu



public-key local create rsa
y
2048
public-key local create dsa
y
2048
public-key local create ecdsa secp256r1
y

ip http enable
ip https enable
[H3C]ssh server enable
[H3C]user-interface vty 0 63
[H3C-ui-vty0-15]authentication-mode scheme
[H3C-ui-vty0-15] protocol inbound all

[H3C]local-user admin
[H3C-luser-admin]password simple <密码十位数>

[H3C-luser-admin]service-type ssh terminal telnet http https


[H3C-luser-admin]authorization-attribute user-role network-admin
[H3C-luser-admin]quit
[H3C]save  
# 配置完进web页面改成弱密码选项再调整



# 时区
clock protocol ntp
ntp-service  enable
clock timezone beijing add 8
ntp-service unicast-server 10.0.0.1


# 配置默认路由和dns
ip route-static 0.0.0.0 0.0.0.0 10.0.0.1
dns server 10.0.0.1

声明:渣渣的学习日记|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - 华三交换机v7基本配置


Carpe Diem and Do what I like