H3C Technologies H3C S5120 Series Switches User Manual
Page 437

1-31
Figure 1-9 Add an account for device management
2) Configure the switch
# Configure the IP address of VLAN interface 2, through which the SSH user accesses the switch.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 192.168.1.70 255.255.255.0
[Switch-Vlan-interface2] quit
# Configure the IP address of VLAN-interface 3, through which the switch access the server.
[Switch] interface vlan-interface 3
[Switch-Vlan-interface3] ip address 10.1.1.2 255.255.255.0
[Switch-Vlan-interface3] quit
# Generate RSA and DSA key pairs and enable the SSH server.
[Switch] public-key local create rsa
[Switch] public-key local create dsa
[Switch] ssh server enable
# Configure the switch to use AAA for SSH users.
[Switch] user-interface vty 0 4
[Switch-ui-vty0-4] authentication-mode scheme
# Configure the user interfaces to support SSH.
- H3C S12500X-AF Series Switches (3 pages)
- H3C S12500X-AF Series Switches (3 pages)
- H3C S12500X-AF Series Switches (53 pages)
- H3C S12500 Series Switches (19 pages)
- H3C MSV 50 (8 pages)
- H3C S12500 Series Switches (21 pages)
- H3C S9500E Series Switches (4 pages)
- H3C S7500E Series Switches (3 pages)
- H3C WA2200 Series WLAN Access Points (42 pages)
- H3C S12500-X Series Switches (8 pages)
- H3C SR6600 (64 pages)
- H3C S9500E Series Switches (36 pages)
- H3C WA3600 Series Access Points (237 pages)
- H3C S9500E Series Switches (270 pages)
- H3C MSR 900 (249 pages)
- H3C S12500 Series Switches (163 pages)
- H3C S12500 Series Switches (170 pages)
- H3C MSR 900 (96 pages)
- H3C MSR 900 (443 pages)
- H3C MSR 900 (468 pages)
- H3C S9500E Series Switches (32 pages)
- H3C S9500E Series Switches (241 pages)
- H3C S12500 Series Switches (39 pages)
- H3C S6800 Series Switches (59 pages)
- H3C LSBM1WCM2A0 Access Controller Module (197 pages)
- H3C S10500 Series Switches (27 pages)
- H3C LSBM1WCM2A0 Access Controller Module (226 pages)
- H3C S6300 Series Switches (188 pages)
- H3C MSR 900 (410 pages)
- H3C MSR 900 (239 pages)
- H3C WA3600 Series Access Points (394 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (2 pages)
- H3C S10500 Series Switches (1 page)
- H3C S7500E Series Switches (19 pages)
- H3C S7500E Series Switches (115 pages)
- H3C S6300 Series Switches (58 pages)
- H3C S6300 Series Switches (208 pages)
- H3C S6300 Series Switches (251 pages)
- H3C S10500 Series Switches (140 pages)