H3C S5120V2-SI 交换机配置

连接终端线

可以看到开机信息

......................................................................Done.
System is starting...
Cryptographic algorithms tests passed.

Startup configuration file doesn't exist or is invalid.
Performing automatic configuration... Press CTRL_C or CTRL_D to break.

Automatic configuration attempt: 1.
Interface used: Vlan-interface1.
Enable DHCP client on Vlan-interface1.
Set DHCP client identifier: 38adbe3baab4-VLAN0001
Automatic configuration is aborted.
Line aux0 is available.


Press ENTER to get started.

这里要按CTRL+C跳过自动配置IP,然后按ENTER回车键进入

第一步配置IP 

system-view
interface vlan 1
ip address 192.168.1.253 255.255.255.0
ip route-static 0.0.0.0 0 192.168.1.1
dns server 114.114.114.114
dns proxy enable
quit

 

第二步配置WEB和Telnet

system-view
ip https enable
telnet server enable
ip https port 4
web idle-timeout 999
local-user 你要设置的用户名
password simple 您要设置的密码
authorization-attribute user-role network-admin
service-type terminal https telnet
line class vty
authentication-mode scheme
quit
quit
web captcha 8888

 

第三步配置时间

system-view
clock timezone Beijing add 08:00:00
clock protocol ntp
ntp-service unicast-server ntp.ntsc.ac.cn
display clock
quit

 

你可能感兴趣的:(H3C S5120V2-SI 交换机配置)