Cisco

>enable
#configure trminal
(confing)#line console 0

(config-line)#password xxx

(config-line)#loginconsole

exit

enadle
#configure terminal
(config)#enable secret xxx
(config)#login

exit

enable
#config terminal
(config)#line vty 0 4
(config-line)#password xx
(config-lline)#login
exit

>enadle
#copy running-config strat-config

H3C

[H3C]local-user xx
New local user added.

[H3C-luser-Cisco]password simple xx
[H3C-luser-Cisco]q

[H3C]super password level 1 cipher xx

[H3C]super password level 3 cipher xx

[H3C]user-interface vty 0 4

[H3C-ui-vty0-4]authentication-mode scheme
[H3C-ui-vty0-4]q

[H3C]user-interface aux 0
[H3C-ui-aux0]authentiaction-mode scheme

[H3C]interface gi 1/1/1

[H3C-GigabitEthernet1/1/1]port link-type trunk

[H3C-GigabitEthernet1/1/1]port trunk permit vlan x
Please wait… Done.

[H3C-GigabitEthernet1/1/1]un shu
Interface GigabitEthernet1/1/1 is not shut down

[H3C-GigabitEthernet1/1/1]qu
[H3C]vlan x
[H3C-vlanx]na
[H3C-vlanx]name manage

[H3C-vlanx]qu                  

[H3C]interface Vlan-interface x
[H3C-Vlan-interfacex]
%Apr 26 12:07:05:689 2000 H3C IFNET/x/LINK UPDOWN:
Vlan-interface4: link status is UP

[H3C-Vlan-interfacex]ip address x.x.x.x 255.255.255.0
[H3C-Vlan-interfacex]
%Apr 26 12:07:25:977 2000 H3C IFNET/x/UPDOWN:
Line protocol on the interface Vlan-interfacex is UP

[H3C-Vlan-interfacex]un shutdown
Interface Vlan-interfacex is not shut down

[H3C-Vlan-interfacex]qu

[H3C]telnet server enable
% Start Telnet server

[H3C]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait…….
Configuration is saved to device successfully.