Table of Contents

H3C : Basic Setting



IP

<test-sw-1> system-view
[test-sw-1]interface Vlan-interface 1
[test-sw-1-Vlan-interface1]ip address 192.168.0.1 255.255.255.0

User

<test-sw-1> system-view
[test-sw-1]local-user admin 
[test-sw-1-luser-admin]password simple PASSWORD
[test-sw-1-luser-admin]service-type terminal telnet
[test-sw-1-luser-admin]authorization-attribute level 3     # A level 3 is a administrator level.
configuration of console certification
[test-sw-1]user-interface aux 0 
[test-sw-1-ui-aux0]authentication-mode scheme
configuration of telnet certification
[test-sw-1]user-interface vty 0 15
[test-sw-1-ui-vty0-15]authentication-mode scheme

Hostname

<HP>system-view
[HP]test-sw-1
[test-sw-1]

Time

<test-sw-1>system-view
[test-sw-1]clock timezone JST add 9

NTP

<test-sw-1>system-view
[test-sw-1]ntp-service unicast-server 192.168.0.5
<test-sw-1>display ntp-service status
 Clock status: synchronized
 Clock stratum: 2
 Reference clock ID: 192.168.1.5
(abbr)






HPE(H3C) CLI Commands