WorldSkills ModA Note

WorldSkills ModA Note

Named

viOS ROUTE = Route
IOL = Switch
ASAV = FW

VPC

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VPCS> ip ?
address [mask] [gateway]
address [gateway] [mask]

VPCS> ip 192.168.10.99 255.255.255.0 192.168.10.254
Checking for duplicate address...
VPCS : 192.168.10.99 255.255.255.0 gateway 192.168.10.254

VPCS> show ip

NAME : VPCS[1]
IP/MASK : 192.168.10.99/24
GATEWAY : 192.168.10.254
DNS :
MAC : 00:50:79:66:68:09
LPORT : 20000
RHOST:PORT : 127.0.0.1:30000
MTU : 1500

Switch

Router

1、User EXEC mode

1
2
3
4
5
6
7
8
9
10
11
Router>show ip int b ## show ip information
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
GigabitEthernet0/2 unassigned YES unset administratively down down
GigabitEthernet0/3 unassigned YES unset administratively down down

show running-config:显示当前运行的配置。
show interface:显示接口状态和配置。
show ip route:显示IP路由表。
show version:显示设备的软件版本和硬件信息

2、Privileged EXEC mode

1
2
3
4
Router>enable ##  To Privileged EXEC mode

Router#show running-config ## show run
Building configuration...

3、Global Configuration mode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Router#config    ### from   Privileged EXEC mode to Global Configuration mode
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.

### set host name
Router(config)#hostname bkfishroute
bkfishroute(config)#

### set enable password
bkfishroute(config)#enable secret bkfish
bkfishroute(config)#end
bkfishroute#write

bkfishroute(config)#enable password bkfish
bkfishroute(config)#end
bkfishroute#write

### set interface ip
bkfishroute(config)#interface GigabitEthernet0/0
bkfishroute(config-if)#ip address 192.168.101.254 255.255.255.0
bkfishroute(config-if)#no shutdown
bkfishroute(config-if)#clock rate 64000
bkfishroute(config-if)#end
bkfishroute#write
Building configuration...
[OK]

### set the next-hop network
bkfishroute(config)#ip route 192.168.102.0 255.255.255.0 192.168.10.20
bkfishroute(config)#end
bkfishroute#write
Building configuration...
[OK]


### Remote Access Password
bkfishroute(config)#line vty 0 4
bkfishroute(config-line)#password nanyidian
bkfishroute(config-line)#login
bkfishroute(config-line)#exit
bkfishroute(config)#exit
bkfishroute#write

### Console Password
bkfishroute(config)#line console 0
bkfishroute(config-line)#password nanyidian
bkfishroute(config-line)#login
bkfishroute(config-line)#exit
bkfishroute(config)#exit
bkfishroute#write

FW

IPSEC DOC

1
FW(config)# vpnsetup site-to-site steps

FTP

1
man vsftpd.conf

snort

1
2
3
grep -rn "alert" ./|grep icmp

snort - doc -README.alert_order
1
2
cd /etc/systemd/system/
cp syslog.service snort.service

www-db

1
2
help revoke
help grant

password

1
2
man pam_cracklib |grep credit
man pam_tally2 | grep deny
关于本机
MacBook Pro
16-inch, 2099
内存 512 GB 6400 MHz DDR10
处理器 Apple M9 Pro
显卡 Neural X 32-Core
序列号 MACF-2099-A1B2C3
系统 macOS 18.4
主题作者 bkfish
Music
未发现本地音乐
把 MP3 放在 `source/music/`(或在主题配置里设置 `desktop.music_dir`)
Finder 聚焦搜索 文章清单 Safari Music Trash F flag B bomb S sudoku