Press ENTER to get started.
<H3C>%Jan 1 00:02:42:340 2011 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0.
<H3C>sys //进入系统视图
System View: return to User View with Ctrl+Z.
[H3C]
//插入光转电模块
%Jan 1 00:03:19:902 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is up.
%Jan 1 00:03:19:903 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is up.
%Jan 1 00:03:19:913 2011 H3C LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent new neighbor created on Port Ten-GigabitEthernet1/0/40 (IfIndex 40), Chassis ID is e86a-64e1-88f2, Port ID is e86a-64e1-88f2.
[H3C]dis int brie //检查接口状态,将电脑与设备40口连接。
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
InLoop0 UP UP(s) --
M-GE0/0/0 DOWN DOWN --
NULL0 UP UP(s) --
REG0 UP -- --
Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) - auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface Link Speed Duplex Type PVID Description
FGE1/0/41 DOWN auto A A 1
FGE1/0/42 DOWN auto A A 1
XGE1/0/1 DOWN auto A A 1............................
XGE1/0/40 UP 1G(a) F(a) A 1[H3C]
%Jan 1 00:03:50:717 2011 H3C STP/6/STP_DETECTED_TC: Instance 0's port Ten-GigabitEthernet1/0/40 detected a topology change.
[H3C]dis int Ten-GigabitEthernet 1/0/40 //查看40口状态
Ten-GigabitEthernet1/0/40
Current state: UP
Line protocol state: UP
IP packet frame type: Ethernet II, hardware address: 38ad-bea1-3926
Description: Ten-GigabitEthernet1/0/40 Interface
Bandwidth: 1000000 kbps
Loopback is not set
Media type is twisted pair, port hardware type is 1000_BASE_T_AN_SFP
1000Mbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Maximum frame length: 10000
Allow jumbo frames to pass
Broadcast max-ratio: 100%
Multicast max-ratio: 100%
Unicast max-ratio: 100%
PVID: 1
MDI type: Automdix
Port link-type: Access
Tagged VLANs: None
Untagged VLANs: 1
Port priority: 0
Last link flapping: 0 hours 1 minutes 54 seconds
Last clearing of counters: Never
Peak input rate: 47 bytes/sec, at 2011-01-01 00:05:09
Peak output rate: 34 bytes/sec, at 2011-01-01 00:05:09
Last 300 second input: 0 packets/sec 47 bytes/sec 0%
Last 300 second output: 0 packets/sec 34 bytes/sec 0%
Input (total): 175 packets, 14500 bytes
0 unicasts, 125 broadcasts, 50 multicasts, 0 pauses
Input (normal): 175 packets, - bytes
0 unicasts, 125 broadcasts, 50 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, 0 throttles
0 CRC, 0 frame, - overruns, 0 aborts
- ignored, - parity errors
Output (total): 66 packets, 10644 bytes
0 unicasts, 0 broadcasts, 66 multicasts, 0 pauses
Output (normal): 66 packets, - bytes
0 unicasts, 0 broadcasts, 66 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
0 lost carrier, - no carrier
[H3C]qu //退出,进入用户视图
<H3C>dir //检查软件信息
Directory of flash:
0 drw- - Jan 01 2011 00:00:29 diagfile
1 -rw- 1363 Jan 01 2011 00:12:42 ifindex.dat
2 drw- - Jan 01 2011 00:00:29 license
3 drw- - Jan 01 2011 00:00:29 logfile
4 -rw- 11868160 Apr 07 201716:00:00 s6520ei-cmw710-boot-r2432p03.bin
5 -rw- 76859392 Apr 07 201716:00:00 s6520ei-cmw710-system-r2432p03.bin
6 drw- - Jan 01 2011 00:00:29 seclog
7 -rw- 4330 Jan 01 2011 00:12:42 startup.cfg
8 -rw- 102455 Jan 01 2011 00:12:43 startup.mdb
9 drw- - Jan 01 2011 00:00:56 versionInfo
524288 KB total (436220 KB free)<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]int Ten-GigabitEthernet 1/0/40 //进入接口视图
[H3C-Ten-GigabitEthernet1/0/40]port link-mode route //该设备为三层设备,将接口Switch模式改为router模式
%Jan 1 00:15:04:964 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is down.
%Jan 1 00:15:04:965 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is down.
%Jan 1 00:15:09:200 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is up.
%Jan 1 00:15:09:200 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is up.
%Jan 1 00:15:10:189 2011 H3C LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent new neighbor created on Port Ten-GigabitEthernet1/0/40 (IfIndex 40), Chassis ID is e86a-64e1-88f2, Port ID is e86a-64e1-88f2.
[H3C-Ten-GigabitEthernet1/0/40]ip address 192.0.0.200 24 //配置IP地址
[H3C-Ten-GigabitEthernet1/0/40]qu
[H3C]qu
<H3C>ftp 192.0.0.238 //电脑搭建FTP工具(3cd软件),访问FTP
Press CTRL+C to abort.
Connected to 192.0.0.238 (192.0.0.238).
220 3Com 3CDaemon FTP 2.0
User (192.0.0.238:(none)): admin //用户、密码
Remote system type is UNIX.
ftp>
Invalid filename or pathname.
ftp> get S6520EI-CMW710-R2432P05.ipe //获取软件信息
227 ▒▒▒ڽ▒▒뱻▒▒ģʽ (192,0,0,238,204,91)125 ▒▒▒▒ʹ▒▒▒ִ▒▒▒▒▒▒▒▒
226 ▒▒▒ڹر▒▒▒▒▒▒▒; ▒ļ▒▒▒▒▒ɹ▒▒▒▒.
88845312 bytes received in179.950 seconds (482.15 Kbytes/s)
ftp> qu
<H3C>dir //检查软件信息
Directory of flash:
0 -rw- 88845312 Jan 01 2011 00:24:36 S6520EI-CMW710-R2432P05.ipe
1 drw- - Jan 01 2011 00:00:29 diagfile
2 -rw- 1363 Jan 01 2011 00:12:42 ifindex.dat
3 drw- - Jan 01 2011 00:00:29 license
4 drw- - Jan 01 2011 00:00:29 logfile
5 -rw- 11868160 Apr 07 201716:00:00 s6520ei-cmw710-boot-r2432p03.bin
6 -rw- 15440896 Jan 01 2011 00:21:01 s6520ei-cmw710-packet-capture-r2432p05.bin
7 -rw- 76859392 Apr 07 201716:00:00 s6520ei-cmw710-system-r2432p03.bin
8 drw- - Jan 01 2011 00:00:29 seclog
9 -rw- 4330 Jan 01 2011 00:12:42 startup.cfg
10 -rw- 102455 Jan 01 2011 00:12:43 startup.mdb
11 drw- - Jan 01 2011 00:00:56 versionInfo
524288 KB total (334244 KB free)<H3C>dis version //没升级前检查软件版本 2432P03
H3C Comware Software, Version 7.1.045, Release 2432P03
Copyright (c)2004-2017 New H3C Technologies Co., Ltd. All rights reserved.
H3C S6520-42QF-EI uptime is 0 weeks, 0 days, 0 hours, 32 minutes
Last reboot reason : Cold reboot
Boot image: flash:/s6520ei-cmw710-boot-r2432p03.bin
Boot image version: 7.1.045, Release 2432P03
Compiled Apr 07 201716:00:00
System image: flash:/s6520ei-cmw710-system-r2432p03.bin
System image version: 7.1.045, Release 2432P03
Compiled Apr 07 201716:00:00
Slot 1:
Uptime is 0 weeks,0 days,0 hours,32 minutes
S6520-42QF-EI with 2 Processors
BOARD TYPE: S6520-42QF-EI
DRAM: 2048M bytes
FLASH: 512M bytes
PCB 1 Version: VER.B
Bootrom Version: 157
CPLD 1 Version: 003
CPLD 2 Version: 002
Release Version: H3C S6520-42QF-EI-2432P03
Patch Version : None
Reboot Cause : ColdReboot
[SubSlot 0] 40SFP Plus+2QSFP Plus
<H3C>boot-loader file flash:/S6520EI-CMW710-R2432P05.ipe all main
//指定系统软件
Verifying the file flash:/s6520ei-cmw710-r2432p05.ipe on slot 1..........Done.
H3C S6520-42QF-EI images in IPE:
s6520ei-cmw710-boot-r2432p05.bin
s6520ei-cmw710-system-r2432p05.bin
This command will set the main startup software images. Continue? [Y/N]:y //确定
Add images to slot 1.
Decompressing file s6520ei-cmw710-boot-r2432p05.bin to flash:/s6520ei-cmw710-boot-r2432p05.bin.........................Done.
Decompressing file s6520ei-cmw710-system-r2432p05.bin to flash:/s6520ei-cmw710-system-r2432p05.bin.........................................................................................................................................................Done.
Verifying the file flash:/s6520ei-cmw710-boot-r2432p05.bin on slot 1...Done.
Verifying the file flash:/s6520ei-cmw710-system-r2432p05.bin on slot 1.........Done.
The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 1.
Decompression completed.
Do you want to delete flash:/s6520ei-cmw710-r2432p05.ipe now? [Y/N]:n //是否删除软件,释放空间。
<H3C><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):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
<H3C>reboot //重启
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
%Jan 1 00:41:35:007 2011 H3C DEV/5/SYSTEM_REBOOT: System is rebooting now.
Starting......
Press Ctrl+D to access BASIC BOOT MENU
********************************************************************************
* *
* H3C S6520-42QF-EI BOOTROM, Version 157 *
* *
********************************************************************************
Copyright (c)2004-2017 New H3C Technologies Co., Ltd.
Creation Date : Apr 102017,09:41:12
CPU Clock Speed : 1000MHz
Memory Size : 2048MB
Flash Size : 512MB
CPLD Version : 003/002
PCB Version : Ver.B
Mac Address : 38ADBEA138D6
PEX mode is disabled.
Press Ctrl+B to access EXTENDED BOOT MENU...0
Loading the main image files...
Loading file flash:/s6520ei-cmw710-system-r2432p05.bin..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done.
Loading file flash:/s6520ei-cmw710-boot-r2432p05.bin..............................................................................................Done.
Image file flash:/s6520ei-cmw710-boot-r2432p05.bin is self-decompressing...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done.
System is starting...
Cryptographic algorithms tests passed.
Line aux0 is available.
Press ENTER to get started.
<H3C>
%Jan 1 00:45:05:535 2011 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0.
<H3C>dis version //升级后检查软件版本 2432P05
H3C Comware Software, Version 7.1.045, Release 2432P05
Copyright (c)2004-2017 New H3C Technologies Co., Ltd. All rights reserved.
H3C S6520-42QF-EI uptime is 0 weeks, 0 days, 0 hours, 1 minute
Last reboot reason :USERreboot
Boot image: flash:/s6520ei-cmw710-boot-r2432p05.bin
Boot image version: 7.1.045, Release 2432P05
Compiled Aug 31201716:00:00
System image: flash:/s6520ei-cmw710-system-r2432p05.bin
System image version: 7.1.045, Release 2432P05
Compiled Aug 31201716:00:00
Slot 1:
Uptime is 0 weeks,0 days,0 hours,1 minute
S6520-42QF-EI with 2 Processors
BOARD TYPE: S6520-42QF-EI
DRAM: 2048M bytes
FLASH: 512M bytes
PCB 1 Version: VER.B
Bootrom Version: 157
CPLD 1 Version: 003
CPLD 2 Version: 002
Release Version: H3C S6520-42QF-EI-2432P05
Patch Version : None
Reboot Cause : UserReboot
[SubSlot 0] 40SFP Plus+2QSFP Plus
<H3C>%Jan 1 00:47:47:881 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is down.
%Jan 1 00:47:47:882 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is down.
%Jan 1 00:48:01:369 2011 H3C OPTMOD/4/MODULE_OUT: Ten-GigabitEthernet1/0/40: Transceiver absent.
<H3C>
Objects and Classes [对象和类] 1. Procedural and Object-Oriented Programming (过程性编程和面向对象编程)2. Abstraction and Classes (抽象和类)2.1. Classes in C (C 中的类)2.2. Implementing Class Member Functions (实现类成员函数)2.3. Using Classes References O…
关于sr2t
sr2t是一款针对安全扫描报告的格式转换工具,全称为“Scanning reports to tabular”,该工具可以获取扫描工具的输出文件,并将文件数据转换为表格格式,例如CSV、XLSX或文本表格等,能够为广大研究人员提供一个…
A 列是个随机序列,B2 格是参数,表示重排的次数。
AB1ItemsReplicates2A23B4C5D
要求将 A 列重拍 N 次
D1Result2C3D4B5A6D7A8B9C 使用 SPL XLL,输入公式:
spl("?2.conj(?1.sort(rand()))",A2:A5,B2)"整数.()…