Enabling the SSH function on the S series switches

0

Enabling the SSH function on the S series switches (except for the S1700) is as follows:

system-view
[huawei] sysname SSH_Server
[SSH_Server] dsa local-key-pair create

[SSH_Server] user-interface vty 0 14
[SSH_Server-ui-vty0-14] authentication-mode aaa
[SSH_Server-ui-vty0-14] protocol inbound ssh
[SSH_Server-ui-vty0-14] quit

[SSH_Server] aaa
[SSH_Server-aaa] local-user client001 password irreversible-cipher Huawei@123
[SSH_Server-aaa] local-user client001 privilege level 3
[SSH_Server-aaa] local-user client001 service-type ssh
[SSH_Server-aaa] quit
[SSH_Server] ssh user client001 authentication-type password

[SSH_Server] stelnet server enable

[SSH_Server] ssh user client001 service-type stelnet

Other related questions:
Enable and disable PoE on an S series switch
Enable or disable the PoE function on S series switches:

1. By default, the PoE function is enabled on an interface
2. Enable or disable PoE power supply.
<HUAWEI>system-view
[HUAWEI]interface gigabitethernet 1/0/0
[HUAWEI-GigabitEthernet1/0/0]undo poe enable  //Disable PoE power supply.
[HUAWEI-GigabitEthernet1/0/0]poe enable       //Enable PoE power supply.

The downlink electrical interfaces of PoE switches support PoE power supply, with up to 30 W power on each interface. The maximum power supply distance is 100 m.
Only ES0D0G48VA00 (S7700)/LE0DG48VEA00 (S9300) cards of modular switches (S7700/S9700/S9300/S12700) support PoE power supply.

If the switch connects to 48 V standard PoE powered devices but cannot negotiate power supply capabilities with the devices, you can run poe force-power on the interfaces to forcibly power on the devices.


Enabling or disabling the Telnet or SSH function on the USG6000
Enable or disable the Telnet or SSH function on the USG6000 as follows: 1. Run the following commands in the CLI to enable or disable the Telnet or SSH function: sy [USG6600-1]aaa [USG6600-1-aaa]manager-user admin [USG6600-1-aaa-manager-user-admin]service-type ? ftp FTP user ssh SSH user telnet Telnet user terminal Terminal user web Web authentication user [USG6600-1-aaa-manager-user-admin]service-type ft [USG6600-1-aaa-manager-user-admin]service-type ftp ssh te [USG6600-1-aaa-manager-user-admin]service-type ftp ssh terminal After you run the preceding commands, the admin account has only the ftp ssh terminal permission but not the telnet web permission.

Function of the bpdu enable command on S series switch
On an S series switch, except S1700, the bpdu enable command sends BPDUs to the CPU for processing. S series switches: In the versions earlier than V100R006, BPDUs are discarded by default. In V100R006 and later versions, BPDUs are sent to the CPU by default. E series switches: BPDUs are sent to the CPU by default. Run the display bpdu mac-address command to check which packets are determined as BPDUs. The bpdu mac-address command configures packets as BPDUs.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top