华为交换机

华为交换机

开启 Telnet

<HUAWEI> system-view
[HUAWEI] telnet server enable
[HUAWEI] user-interface vty 0 4
[HUAWEI-ui-vty0-4] protocol inbound telnet    //Set the protocol supported by the VTY user interface to Telnet.

# use aaa
[HUAWEI-ui-vty0-4] authentication-mode aaa    //Set the authentication mode to AAA.
[HUAWEI-ui-vty0-4] quit
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher abcd@123    //Create a local user admin123 and set the login password to abcd@123.
[HUAWEI-aaa] local-user admin123 service-type telnet    //Set the access type of the local user admin123 to Telnet.
[HUAWEI-aaa] local-user admin123 privilege level 15    //Set the level of the local user admin123 to 15.
quit

# save config
# 必须在用户模式的 "<308Sw>" 提示符下操作
save

常用命令

display interface brief
display vlan summary
display vlan 50

Last update: 2021-09-22 05:49:35 UTC