<Quidway> (华为交换机的命令行提示符)
%Jun 20 17:18:31 2006 Quidway SHELL/5/LOGIN: Console login from Aux0/0
[Quidway]interface vlan1 (进入管理VLAN,默认的ID为1)
[Quidway-Vlan-interface1]undo ip address (取消管理VLAN原有的IP地址)
[Quidway-Vlan-interface1]
%Jun 20 17:19:15 2006 Quidway IFNET/5/UPDOWN:Line protocol on the interface Vlan -interface1 turns into DOWN state
[Quidway-Vlan-interface1]
[Quidway-Vlan-interface1]ip address 192.168.1.234 255.255.255.0 (配置以太网交换机管理VLAN的IP地址,建议与管理PC终端在同一网段)
[Quidway-Vlan-interface1]
%Jun 20 17:21:05 2006 Quidway IFNET/5/UPDOWN:Line protocol on the interface Vlan -interface1 turns into UP state quit
[Quidway]local-user admin (添加以太网交换机的Telnet用户,设置用户名为admin)
New local user added.
[Quidway-luser-admin]service-type telnet level 3 (设置管理级别为3即超级用户)
[Quidway-luser-admin]password simple admin (设置密码为admin)
[Quidway-luser-admin]
<Quidway>
%Jun 20 17:33:44 2006 Quidway SHELL/5/LOGIN: Console login from Aux0/0
<Quidway>ftp 192.168.1.3 (登录FTP服务器)
Trying ...
Press CTRL+K to abort
Connected.
220 sklf-cb7d530cb9 Microsoft FTP Service (Version 5.0).
User(none):ftp (输入FTP用户名)
331 Anonymous access allowed, send identity (e-mail name) as password.
Password: (FTP密码)
230-Hi
230 Anonymous user logged in.
[ftp]get S3026EFGTC_PWR-VRP310-R0037.bin (下载目标文件)
200 PORT command successful.
150 Opening ASCII mode data connection for S3026EFGTC_PWR-VRP310-R0037.bin(3557576 bytes).
226 Transfer complete.
FTP: 3557576 byte(s) received in 153.659 second(s) 23.00Kbyte(s)/sec.
[ftp]quit
221
<Quidway>? (显示可用命令)
user view commands:
boot Set boot option
cd Change the current path
clock Specify the system clock
cluster Run cluster command
copy Copy the file
debugging Debugging functions
delete Delete the file
dir Display the file list in system
display Display current system information
format Format the device
free Clear user terminal interface
ftp Open FTP connection
language-mode Specify the language environment
lock Lock current user terminal interface
mkdir Create new directory
more Display the specified file
move Move the file
ntdp Run NTDP commands
ping Ping function
pwd Display the current path
quit Exit from current command view
reboot Reset switch
rename Rename file or directory
reset Reset operation
rmdir Delete existing directory
save Save current configuration
send Send information to other user terminal interface
stacking Run command on stack switch
super Privilege specified user priority level
system-view Enter the system view
telnet Establish one TELNET connection
temperature-limit Set temperature limit
terminal Specify the terminal characteristics
tracert Trace route function
undelete Undelete the deleted file
undo Undo a command or set to its default status
<Quidway>save (保存设置)
This will save the configuration in the flash memory.
The switch configurations will be written to flash.
Are you sure?[Y/N]y
Now saving current configuration to flash memory.
Please wait for a while...
Current configuration saved to flash memory successfully.
<Quidway>reboot
This will reboot Switch. Continue? [Y/N] y
%Jun 20 17:42:52 2006 Quidway DEV/5/DEV_LOG:
Switch is rebooted.
Press Ctrl-B to enter Boot Menu... 0
<Quidway>
<Quidway>ftp 192.168.1.3
Trying ...
Press CTRL+K to abort
Connected.
220 sklf-cb7d530cb9 Microsoft FTP Service (Version 5.0).
User(none):ftp
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230-Hi
230 Anonymous user logged in.
[ftp]get wnm2.2.2-0005.zip (此文件为WEB网管程序)
200 PORT command successful.
150 Opening ASCII mode data connection for wnm2.2.2-0005.zip(447827 bytes).
226 Transfer complete.
FTP: 447827 byte(s) received in 19.788 second(s) 22.00Kbyte(s)/sec.
[ftp]dir (查看FTP服务器上可供下载的文件)
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
03-31-06 11:14AM 168775 Quidway S3026GTC-PWR-VRP310-R0037版本说明书
.pdf
03-25-06 03:39PM 3557576 S3026EFGTC_PWR-VRP310-R0037.bin
07-27-05 02:56PM 447827 wnm2.2.2-0005.zip
226 Transfer complete.
FTP: 218 byte(s) received in 0.302 second(s) 721.00byte(s)/sec.
在浏览器的地址栏输入192.168.1.234即可登陆到交换机的WEB管理界面.
%Jun 20 17:18:31 2006 Quidway SHELL/5/LOGIN: Console login from Aux0/0
[Quidway]interface vlan1 (进入管理VLAN,默认的ID为1)
[Quidway-Vlan-interface1]undo ip address (取消管理VLAN原有的IP地址)
[Quidway-Vlan-interface1]
%Jun 20 17:19:15 2006 Quidway IFNET/5/UPDOWN:Line protocol on the interface Vlan -interface1 turns into DOWN state
[Quidway-Vlan-interface1]
[Quidway-Vlan-interface1]ip address 192.168.1.234 255.255.255.0 (配置以太网交换机管理VLAN的IP地址,建议与管理PC终端在同一网段)
[Quidway-Vlan-interface1]
%Jun 20 17:21:05 2006 Quidway IFNET/5/UPDOWN:Line protocol on the interface Vlan -interface1 turns into UP state quit
[Quidway]local-user admin (添加以太网交换机的Telnet用户,设置用户名为admin)
New local user added.
[Quidway-luser-admin]service-type telnet level 3 (设置管理级别为3即超级用户)
[Quidway-luser-admin]password simple admin (设置密码为admin)
[Quidway-luser-admin]
<Quidway>
%Jun 20 17:33:44 2006 Quidway SHELL/5/LOGIN: Console login from Aux0/0
<Quidway>ftp 192.168.1.3 (登录FTP服务器)
Trying ...
Press CTRL+K to abort
Connected.
220 sklf-cb7d530cb9 Microsoft FTP Service (Version 5.0).
User(none):ftp (输入FTP用户名)
331 Anonymous access allowed, send identity (e-mail name) as password.
Password: (FTP密码)
230-Hi
230 Anonymous user logged in.
[ftp]get S3026EFGTC_PWR-VRP310-R0037.bin (下载目标文件)
200 PORT command successful.
150 Opening ASCII mode data connection for S3026EFGTC_PWR-VRP310-R0037.bin(3557576 bytes).
226 Transfer complete.
FTP: 3557576 byte(s) received in 153.659 second(s) 23.00Kbyte(s)/sec.
[ftp]quit
221
<Quidway>? (显示可用命令)
user view commands:
boot Set boot option
cd Change the current path
clock Specify the system clock
cluster Run cluster command
copy Copy the file
debugging Debugging functions
delete Delete the file
dir Display the file list in system
display Display current system information
format Format the device
free Clear user terminal interface
ftp Open FTP connection
language-mode Specify the language environment
lock Lock current user terminal interface
mkdir Create new directory
more Display the specified file
move Move the file
ntdp Run NTDP commands
ping Ping function
pwd Display the current path
quit Exit from current command view
reboot Reset switch
rename Rename file or directory
reset Reset operation
rmdir Delete existing directory
save Save current configuration
send Send information to other user terminal interface
stacking Run command on stack switch
super Privilege specified user priority level
system-view Enter the system view
telnet Establish one TELNET connection
temperature-limit Set temperature limit
terminal Specify the terminal characteristics
tracert Trace route function
undelete Undelete the deleted file
undo Undo a command or set to its default status
<Quidway>save (保存设置)
This will save the configuration in the flash memory.
The switch configurations will be written to flash.
Are you sure?[Y/N]y
Now saving current configuration to flash memory.
Please wait for a while...
Current configuration saved to flash memory successfully.
<Quidway>reboot
This will reboot Switch. Continue? [Y/N] y
%Jun 20 17:42:52 2006 Quidway DEV/5/DEV_LOG:
Switch is rebooted.
Press Ctrl-B to enter Boot Menu... 0
<Quidway>
<Quidway>ftp 192.168.1.3
Trying ...
Press CTRL+K to abort
Connected.
220 sklf-cb7d530cb9 Microsoft FTP Service (Version 5.0).
User(none):ftp
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230-Hi
230 Anonymous user logged in.
[ftp]get wnm2.2.2-0005.zip (此文件为WEB网管程序)
200 PORT command successful.
150 Opening ASCII mode data connection for wnm2.2.2-0005.zip(447827 bytes).
226 Transfer complete.
FTP: 447827 byte(s) received in 19.788 second(s) 22.00Kbyte(s)/sec.
[ftp]dir (查看FTP服务器上可供下载的文件)
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
03-31-06 11:14AM 168775 Quidway S3026GTC-PWR-VRP310-R0037版本说明书
03-25-06 03:39PM 3557576 S3026EFGTC_PWR-VRP310-R0037.bin
07-27-05 02:56PM 447827 wnm2.2.2-0005.zip
226 Transfer complete.
FTP: 218 byte(s) received in 0.302 second(s) 721.00byte(s)/sec.
在浏览器的地址栏输入192.168.1.234即可登陆到交换机的WEB管理界面.
转载于:https://blog.51cto.com/jilulishi/145460