考试要求

图片

图片

配置命令

vlan 10

192.168.学号后三位.x 24

vlan 20

192.168.学号后三位+2.x 24

vlan 30

192.168.学号后三位+3.x 24

三层设备互联使用30位掩码

SW1

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
sys
sys 2136
v b 10 20 30 8
int g0/0/11
p l a
p d v 10
int g0/0/3
p l a
p d v 10
int g0/0/4
p l a
p d v 20
int g0/0/2
p l t
p t a v 10 20 30 8
int g0/0/1
p l t
p t a v 10 20 30 8
stp mode mstp
stp region-config 
region-name xmd
revision-level 1
instance 10 vlan 10 20
instance 20 vlan  30
active  region-configuration 
stp instance  10 pri   8192
stp instance  20 pri   32768

SW2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sys
sys 2136
v b 10 20 30 8
int g0/0/4
p l a
p d v 30
int g0/0/13
p l a
p d v 10
int g0/0/1
p l t
p t a v 10 20 30 8
int g0/0/3
p l t
p t a v 10 20 30 8
stp mode mstp
stp region-config 
region-name xmd
revision-level 1
instance 10 vlan 10 20
instance 20 vlan  30
active  region-configuration 
stp instance  20 pri   8192
stp instance  10 pri   32768

SW3

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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
sys
sys 2136
v b 10 20 30 8 13
int g0/0/2
p l t
p t a v 10 20 30 8
int g0/0/3
p l t
p t a v 10 20 30 8
int g0/0/1
p l a
p d v 13
int g0/0/8
p l a
p d v 8
router id 192.168.13.2
ospf
area 0
net 192.168.13.2 0.0.0.0
q
ospf
a 1
net 192.168.8.1 0.0.0.0
q
a 2
net 0.0.0.0 0.0.0.0
q
int vlan  13
ip add 192.168.13.2 30
int vlan 8
ip add 192.168.8.1 30
int v 10
ip add 192.168.136.1 24
int v 20
ip add 192.168.138.1 24
int v 30
ip add 192.168.139.1 24
stp mode mstp
stp region-config 
region-name xmd
revision-level 1
instance 10 vlan 10 20
instance 20 vlan  30
active  region-configuration 
stp instance  10 pri   4096
stp instance  20 pri   4096
dhcp enable
ip pool v10
net 192.168.136.0 mask 24
gateway-list 192.168.136.1
dns-list 202.106.0.20 192.168.8.8
lease day 5
excluded-ip-address 192.168.136.2 192.168.136.10
int vlan 10
dhcp select global
quit
ip pool v20
net 192.168.138.0 mask 24
gateway-list 192.168.138.1
dns-list 202.106.0.20 192.168.8.8
lease day 5
excluded-ip-address 192.168.138.2 192.168.138.10
int vlan 20
dhcp select global
quit
ip pool v30
net 192.168.139.0 mask 24
gateway-list 192.168.139.1
dns-list 202.106.0.20 192.168.8.8
lease day 5
excluded-ip-address 192.168.139.2 192.168.139.10
int vlan 30
dhcp select global
quit

SW5

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
sys
sys 2136
v b 10 20 13
int e0/0/1
p l a
p d v 10
int e0/0/2
p l a
p d v 20
int e0/0/3
p l a
p d v 13
int v 10
ip add 192.168.136.1 24
q
int v 20
ip add 192.168.138.1 24
q
int v 13
ip add 192.168.13.2 30
q
dhcp en
ip pool v10
net 192.168.136.0 mask 24
gateway-list 192.168.136.1
dns-list 202.106.0.20 
lease day 5
int vlan 10
dhcp select global
quit
ip route-s 0.0.0.0 0 192.168.13.1

AR4

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sys
sys 2136
int g0/0/1
ip add 192.168.13.1 30
int g0/0/2
ip add 202.106.2.2 29
ip route-s 0.0.0.0 0 202.106.2.1
ip route-s 192.168.0.0 16 192.168.13.2
acl n 2000
rule p s an
int g0/0/2
nat out 2000
int g0/0/2
nat se p tcp gl 202.106.2.3 tel inside 192.168.13.2 23
super password cipher 123456
user-int vty 0 4
authentication-mode pass 123456
protocol inbound telnet
user privilege level 10

AR1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sys
sys 2136
int g0/0/0
ip add 202.106.1.2 29
q
router id 202.106.1.2 
ospf
area 0
net 192.168.13.1 0.0.0.0
ip route-s 0.0.0.0 0 202.106.1.1
acl 2000
rule permit source 192.168.0.0 0.0.255.255
q
int g0/0/0
nat outbound 2000
super password cipher 123456
user-int vty 0 4
authentication-mode pass 123456
protocol inbound telnet
user privilege level 10
int g0/0/0
nat se p tcp gl 202.106.1.3 tel inside 192.168.13.2 23

AR2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
sys
sys 2136
int g0/0/0
ip add 202.106.1.1 29
int g0/0/1
ip add 202.106.0.1 24
int g0/0/2
ip add 202.106.2.1 29
q
ip route-s 0.0.0.0 0 202.106.1.2
super password cipher 123456
user-int vty 0 4
authentication-mode pass 123456
protocol inbound telnet
user privilege level 10

运行结果

河北

图片

图片

天津

图片

图片

Telnet

图片

图片