华为s3900初始化基础配置以及远程telnet管理配置
Xshell 4 (Build 0138)
Copyright (c) 2002-2014 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
Xshell:\>
Connecting to COM3...
Connected.
通过输入命令后加?可以输出更多帮助
输入一个不完整的命令并按TAB键,就可以补全该命令
[Quidway]interface ?
Aux Aux interface
Ethernet Ethernet interface
GigabitEthernet GigabitEthernet interface
LoopBack LoopBack interface
NULL NULL interface
Vlan-interface VLAN interface
显示当前配置
<Quidway>disp curr confi
#
sysname Quidway
#
radius scheme system
#
domain system
#
vlan 1
#
undo irf-fabric authentication-mode
#
voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
user-interface aux 0 7
user-interface vty 0 4
#
return
vlan 1是自动设置的vlan
创建vlan 20
<Quidway>sy
System View: return to User View with Ctrl+Z.
[Quidway]vlan 20
配置vlan 20
指定交换机ip
[Quidway]interface vlan-interface 20
[Quidway-Vlan-interface20]ip address 192.168.1.254 255.255.255.0
[Quidway-Vlan-interface20]quit
[Quidway]save
The configuration will be written to the device.
Are you sure?[Y/N]y
Please input the file name(*.cfg)(To leave the existing filename
unchanged press the enter key):
Now saving current configuration to the device.
Saving configuration. Please wait...
..
Unit1 save configuration flash:/vrpcfg.cfg successfully
%Apr 2 00:01:00:492 2000 Quidway CFM/3/CFM_LOG:- 1 -Unit1 saved configuration successfully.
[Quidway]disp curr confi
#
sysname Quidway
#
radius scheme system
#
domain system
#
vlan 1
#
vlan 20
#
undo irf-fabric authentication-mode
#
voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
user-interface aux 0 7
user-interface vty 0 4
#
return
<Quidway>sy
System View: return to User View with Ctrl+Z.
显示vlan 20配置情况
[Quidway]disp interface Vlan-interface 20
Vlan-interface20 current state :DOWN
Line protocol current state :DOWN
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e2d3-9fee
Internet Address is 192.168.1.254/24 Primary
Description : Vlan-interface20 Interface
The Maximum Transmit Unit is 1500
[Quidway]disp curr conf
#
sysname Quidway
#
radius scheme system
#
domain system
#
vlan 1
#
vlan 20
#
undo irf-fabric authentication-mode
#
management-vlan 20
#
voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.253 preference 60
#
user-interface aux 0 7
user-interface vty 0 4
#
return
通过xshell、putty等telnet客户端登录,交换机显示登录记录
[Quidway-ui-vty0]
%Apr 2 00:44:44:409 2000 Quidway SHELL/5/LOGIN:- 1 - myhaspl(192.168.1.16) in unit1 loginauthentication-mode scheme
[Quidway-ui-vty0]local-user myhaspl
[Quidway-luser-myhaspl]level 3
[Quidway-luser-myhaspl]
%Apr 2 00:45:24:120 2000 Quidway SHELL/5/LOGOUT:- 1 - myhaspl(192.168.1.16) in unit1 logout
[Quidway-luser-myhaspl]
%Apr 2 00:45:38:931 2000 Quidway SHELL/5/LOGIN:- 1 - myhaspl(192.168.1.16) in unit1 login
[Quidway-luser-myhaspl]
%Apr 2 00:46:37:914 2000 Quidway CFM/3/CFM_LOG:- 1 -Unit1 saved configuration successfully.
%Apr 2 00:46:43:609 2000 Quidway SHELL/5/LOGOUT:- 1 - myhaspl(192.168.1.16) in unit1 logout
%Apr 2 00:46:55:392 2000 Quidway SHELL/5/LOGIN:- 1 - myhaspl(192.168.1.16) in unit1 login