3 example of ssh server configuration, 3 configure switch ip addresses, Onfigure – QTECH QSW-3400 Инструкция по настройке User Manual

Page 38: Witch, Ddresses

Advertising
background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

37

ssh-server authentication-retires

<authentication-retires>

no ssh-server authentication-retries

Configure the number of times for retrying

SSH

authentication;

the

no

command

restores the default number of times for

retrying SSH authentication.

ssh-server host-key create rsa modulus

<moduls>

Generate the new RSA host key on the SSH

server.

Admin Mode

terminal monitor

terminal no monitor

Display SSH debug information on the SSH

client side; the no command stops displaying

SSH debug information on the SSH client

side.

show crypto key

Show the secret key of ssh.

rypto key clear rsa

Clear the secret key of ssh.

2.2.2.3 Example of SSH Server Configuration

Example1:

Requirement: Enable SSH server on the switch, and run SSH2.0 client software such as

Secure shell client or putty on the terminal. Log on the switch by using the username and

password from the client.

Configure the IP address, add SSH user and enable SSH service on the switch. SSH2.0 client

can log on the switch by using the username and password to configure the switch.
Switch(config)#ssh-server enable
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip address 100.100.100.200 255.255.255.0
Switch(Config-if-Vlan1)#exit
Switch(config)#username test privilege 15 password 0 test

In IPv6 networks, the terminal should run SSH client software which support IPv6, such as

putty6. Users should not modify the configuration of the switch except allocating an IPv6

address for the local host.

2.3 Configure Switch IP Addresses

All Ethernet ports of switch are default to Data Link layer ports and perform layer 2 forwarding.

VLAN interface represent a Layer 3 interface function which can be assigned an IP address,

which is also the IP address of the switch. All VLAN interface related configuration commands

can be configured under VLAN Mode. Switch provides three IP address configuration methods:

Manual

Advertising