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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM