<Switch> system-view
[Switch] undo stp enable
[Switch] sysname Switch
[Switch] save
[Switch] save force
[Switch] interface vlan-interface 1
ip address 192.168.20.10 255.255.255.0
[Switch] ip route-static 0.0.0.0 0.0.0.0 192.168.1.254
<Switch> reboot
[Switch] header legal "Configures the banner to be displayed before a user inputs the username and password to access the CLI"
[Switch] header motd "Configures the greeting banner to be displayed before the legal banner appears"
<Switch> display boot-loader
<Switch> display device manuinfo slot 1
<Switch> display device
<Switch> display system stable state
<Switch> display version
<Switch> display mac-address
[Switch] local-user admin
[Switch-luser-manage-admin] password simple password
[Switch-luser-manage-admin] authorization-attribute level 3
[Switch] local-user admin
[Switch-luser-manage-admin] password
p@ssw0rd:p
p@ssw0rd:p
[Switch-luser-manage-admin] authorization-attribute user-role network-admin
[Switch] public-key local create rsa
[Switch] ssh server enable
[Switch] undo ssh server compatible-ssh1x
[Switch] local-user admin
[Switch-luser-manage-admin] service-type ssh
[Switch] stp enable
[Switch] stp mode rtsp
[Switch] stp root primary
<Switch> display stp
[Switch] line aux 0
[Switch-line-aux0] authentication-mode password
[Switch-line-aux0] set authentication password simple "password"
[Switch] line aux 0
[Switch-line-aux0] idle-timeout "minutes" "seconds"
[Switch] password-control login-attempt 3 exceed lock-time 120
[Switch] no telnet server enable
[Switch] password-control complexity user-name check
[Switch] password-control composition type-number "type number"
[Switch] ntp-service unicast-server 192.168.1.100
[Switch] ntp-service source vlan-interface 10
[Switch] ntp-service enable
[Switch] show clock
[Switch] vlan 10
[Switch-vlan10] name ADMIN
[Switch] interface GigabitEthernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-type access
[Switch-GigabitEthernet1/0/1] port access vlan 10
[Switch] interface GigabitEthernet 1/0/24
[Switch-GigabitEthernet1/0/24] port link-type trunk
[Switch-GigabitEthernet1/0/24] port trunk permit vlan 1 10
On peut récupérer les derniers firmwares à cette addresse : https://h10145.www1.hpe.com/downloads/
<Switch> tftp TFTP_SERVER get FIRMWARE.ipe
<Switch> boot-loader file flash:/FIRMWARE.ipe slot 1 main
<Switch> display boot-loader
<Switch> reboot
Contact :