小综合实验

小综合实验题目

实验拓扑

在这里插入图片描述

实验需求

1.按照图示配置IP地址

2.按照图示区域划分配置对应的动态路由协议

3.在R7上配置dhcp服务器,能够让pc可以获取IP地址

4.将所有环回⼝宣告进ospf中,将环回⼝7宣告进rip中,将rip路由引⼊ospf 中,ospf路由引⼊rip中

5.要求实现全⽹互通

6.在r3和r6上开启rip的端⼝验证,密码为hyzy

7.在R7上开启rip静默接⼝,要求业务⽹段不允许接收协议报⽂

8.在R5和R4上开启ospf端⼝验证,密码为hyzy

9.要求在R4上配置ftp服务,测试时可以允许所有设备均可登录访问

10.要求在R1上配置telnet服务,测试时可以允许所有设备均可登录访问管理

11.要求拒绝R5访问R1的telnet服务,其他设备均不影响

12.要求拒绝R2访问R4的ftp服务,其他设备均不影响

13.要求拒绝10.1.1.0/24⽹段ping通R1地址

14.要求拒绝10.1.1/24地址访问R4地址

15.要求拒绝10.1.1.2/24地址访问R3地址

实验步骤

1.按照图示配置IP地址

[R1]dis ip int br 
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       192.168.1.1/24     --           --
GE0/1               up       up       192.168.2.1/24     --           --
GE0/2               up       up       100.3.3.1/24       --           --
Loop0               up       up(s)    1.1.1.1/32         --           --
[R2]dis ip int br 
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       192.168.1.2/24     --           --
GE0/1               up       up       192.168.3.2/24     --           --
GE0/2               up       up       100.1.1.2/24       --           --
Loop0               up       up(s)    2.2.2.2/32         --           --
<R3>dis ip int br 
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       192.168.2.3/24     --           --
GE0/1               up       up       192.168.3.3/24     --           --
GE0/2               up       up       200.2.2.3/24       --           --
GE5/0               up       up       200.1.1.3/24       --           --
Loop0               up       up(s)    3.3.3.3/32         --           --
<R4>dis ip int br 
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       172.16.3.4/24      --           --
GE0/1               up       up       172.16.1.4/24      --           --
GE0/2               up       up       100.3.3.4/24       --           --
Loop0               up       up(s)    4.4.4.4/32         --           --
<R5>dis ip int br 
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       172.16.1.5/24      --           --
GE0/1               up       up       172.16.2.5/24      --           --
GE0/2               up       up       100.2.2.5/24       --           --
Loop0               up       up(s)    5.5.5.5/32         --           --
<R6>dis ip int br 
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       200.3.3.6/24       --           --
GE0/1               up       up       200.1.1.6/24       --           --
GE0/2               up       up       172.16.3.6/24      --           --
GE5/0               up       up       172.16.2.6/24      --           --
Loop0               up       up(s)    6.6.6.6/32         --           --
<R7>dis ip int br 
*down: administratively down
(s): spoofing  (l): loopback
Interface           Physical Protocol IP address/Mask    VPN instance Description  
GE0/0               up       up       200.2.2.7/24       --           --
GE0/1               up       up       200.3.3.7/24       --           --
GE0/2               up       up       100.1.1.7/24       --           --
GE5/0               up       up       100.2.2.7/24       --           --
GE5/1               up       up       10.1.1.254/24      --           --
Loop0               up       up(s)    7.7.7.7/32         --           --

2.按照图示区域划分配置对应的动态路由协议

[R1]ospf 1 router-id 1.1.1.1 
[R1-ospf-1]area 0 
[R1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[R1-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255
[R1-ospf-1-area-0.0.0.0]network 100.3.3.0 0.0.0.255
[R1-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0 
[R2-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]network 192.168.3.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]network 100.1.1.0 0.0.0.255
[R3]rip 1 
[R3-rip-1]version 2
[R3-rip-1]undo summary 
[R3-rip-1]network 200.1.1.0
[R3-rip-1]network 200.2.2.0 

[R3]ospf 1 router-id 3.3.3.3 
[R3-ospf-1]area 0 
[R3-ospf-1-area-0.0.0.0]network 192.168.3.0 0.0.0.255 
[R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255 

[R3]ospf 1
[R3-ospf-1]import-route rip 
[R3-ospf-1]import-route direct 
[R3-ospf-1]quit
[R3]rip
[R3-rip-1]import-route ospf 1  
[R3-rip-1]import-route direct 
[R4]ospf 2 router-id 4.4.4.4 
[R4-ospf-2]area 0 
[R4-ospf-2-area-0.0.0.0]network 4.4.4.4 0.0.0.0 
[R4-ospf-2-area-0.0.0.0]network 172.16.1.0 0.0.0.255
[R4-ospf-2-area-0.0.0.0]network 172.16.3.0 0.0.0.255
[R4-ospf-2-area-0.0.0.0]network 100.3.3.0 0.0.0.255
[R5]ospf 2 router-id 5.5.5.5 
[R5-ospf-2]area 0 
[R5-ospf-2-area-0.0.0.0]network 5.5.5.5 0.0.0.0 
[R5-ospf-2-area-0.0.0.0]network 172.16.1.0 0.0.0.255
[R5-ospf-2-area-0.0.0.0]network 172.16.2.0 0.0.0.255
[R5-ospf-2-area-0.0.0.0]network 100.2.2.0 0.0.0.255
[R6]rip 1 
[R6-rip-1]version 2
[R6-rip-1]undo summary 
[R6-rip-1]network 200.1.1.0 
[R6-rip-1]network 200.3.3.0 
[R6-rip-1]import-route ospf 2
[R6-rip-1]import-route direct

[R6]ospf 2 router-id 6.6.6.6 
[R6-ospf-2]area 0 
[R6-ospf-2-area-0.0.0.0]network 6.6.6.6 0.0.0.0 
[R6-ospf-2-area-0.0.0.0]network 172.16.2.0 0.0.0.255
[R6-ospf-2-area-0.0.0.0]network 172.16.3.0 0.0.0.255
[R6-ospf-2-area-0.0.0.0]exit
[R6-ospf-2]import-route rip 
[R6-ospf-2]import-route direct 
[R7]rip 
[R7-rip-1]version 2 
[R7-rip-1]undo summary 
[R7-rip-1]network 7.7.7.7 
[R7-rip-1]network 200.2.2.0 
[R7-rip-1]network 200.3.3.0 

[R7]ospf 1  
[R7-ospf-1]area 0 
[R7-ospf-1-area-0.0.0.0]network 100.1.1.0 0.0.0.255 

[R7]ospf 2  
[R7-ospf-2]area 0 
[R7-ospf-2-area-0.0.0.0]network 100.2.2.0 0.0.0.255 

**3.在R7上配置dhcp服务器,能够让pc可以获取IP地址 **

[R7]dhcp enable 
[R7]dhcp server ip-pool 1
[R7-dhcp-pool-1]network 10.1.1.0 24
[R7-dhcp-pool-1]gateway-list 10.1.1.254 

**4.在r3和r6上开启rip的端⼝验证,密码为hyzy **

[R3]int g5/0 
[R3-GigabitEthernet5/0]rip authentication-mode  simple plain hyzy
[R6]int g0/1 
[R6-GigabitEthernet0/1]rip authentication-mode simple plain hyzy

**5.在R7上开启rip静默接⼝,要求业务⽹段不允许接收协议报⽂ **

[R7]rip 
[R7-rip-1]silent-interface g5/1

**6.在R5和R4上开启ospf端⼝验证,密码为hyzy **

[R4]int g0/1
[R4-GigabitEthernet0/1]ospf authentication-mode simple plain hyzy 
[R5]int g0/0
[R5-GigabitEthernet0/0]ospf authentication-mode simple plain hyzy

**7.要求在R4上配置ftp服务,测试时可以允许所有设备均可登录访问 **

[R4]ftp server enable 
[R4]local-user lfx class manage 
New local user added.
[R4-luser-manage-lfx]password simple 123456.com
[R4-luser-manage-lfx]service-type ftp 
[R4-luser-manage-lfx]authorization-attribute user-role level-15 

[R4]line vty 0 4
[R4-line-vty0-4]authentication-mode scheme 
<R1>ftp 4.4.4.4
Press CTRL+C to abort.
Connected to 4.4.4.4 (4.4.4.4).
220 FTP service ready.
User (4.4.4.4:(none)): lfx
331 Password required for lfx.
Password: 
230 User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.

8.要求在R1上配置telnet服务,测试时可以允许所有设备均可登录访问管理

[R1]telnet server enable 
[R1]local-user lfx class manage 
New local user added
[R1-luser-manage-lfx]password simple 123456.com
[R1-luser-manage-lfx]service-type telnet 
[R1-luser-manage-lfx]authorization-attribute user-role level-15 
[R1-luser-manage-lfx]exit
[R1]line vty 0 4 
[R1-line-vty0-4]authentication-mode scheme 
<H3C>telnet 1.1.1.1 
Trying 1.1.1.1 ...
Press CTRL+K to abort
Connected to 1.1.1.1 ...

******************************************************************************
* Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent,                                 *
* no decompiling or reverse-engineering shall be allowed.                    *
******************************************************************************

Login: lfx
Password: 
<R1>

9.要求拒绝R5访问R1的telnet服务,其他设备均不影响

[R1]acl advanced 3000 
[R1-acl-ipv4-adv-3000]rule deny tcp source 5.5.5.5 0  destination-port eq 23 
[R1-acl-ipv4-adv-3000]rule deny tcp source 172.16.2.5 0  destination-port eq telnet
[R1-acl-ipv4-adv-3000]rule deny tcp source 172.16.1.5 0  destination-port eq telnet
[R1-acl-ipv4-adv-3000]rule deny tcp source 100.2.2.5 0  destination-port eq 23 

[R1]int g0/0 
[R1-GigabitEthernet0/0]packet-filter 3000 inbound 
[R1-GigabitEthernet0/0]int g0/1 
[R1-GigabitEthernet0/1]packet-filter 3000 inbound 
[R1-GigabitEthernet0/1]int g0/2 
[R1-GigabitEthernet0/2]packet-filter 3000 inbound  

**10.要求拒绝R2访问R4的ftp服务,其他设备均不影响 **

​```
[R4]acl advanced 3000
[R4-acl-ipv4-adv-3000]rule deny tcp source 2.2.2.2 0 destination-port range 20 21 
[R4-acl-ipv4-adv-3000]rule deny tcp source 192.168.1.2 0 destination-port range 20 21
[R4-acl-ipv4-adv-3000]rule deny tcp source 192.168.3.2 0 destination-port range 20 21
[R4-acl-ipv4-adv-3000]rule deny tcp source 100.1.1.2 0 destination-port range 20 21

[R4]int g0/0
[R4-GigabitEthernet0/0]packet-filter 3000 inbound 
[R4-GigabitEthernet0/0]int g0/1
[R4-GigabitEthernet0/1]packet-filter 3000 inbound  
[R4-GigabitEthernet0/1]int g0/2
[R4-GigabitEthernet0/2]packet-filter 3000 inbound 

**11.要求拒绝10.1.1.0/24⽹段ping通R1地址 **

[R1]acl basic 2000
[R1-acl-ipv4-basic-2000]rule deny source 10.1.1.0 0.0.0.255
[R1-acl-ipv4-basic-2000]exit
[R1]int g0/1
[R1-GigabitEthernet0/1]packet-filter 2000 inbound 
[R1-GigabitEthernet0/1]int g0/0
[R1-GigabitEthernet0/0]packet-filter 2000 inbound 
[R1-GigabitEthernet0/0]int g0/2 
[R1-GigabitEthernet0/2]packet-filter 2000 inbound 

**12.要求拒绝10.1.1/24地址访问R4地址 **

[R4]acl advanced 3000 
[R4-acl-ipv4-adv-3000]rule deny ip source 10.1.1.1 0 destination 4.4.4.4 0
[R4-acl-ipv4-adv-3000]rule deny ip source 10.1.1.1 0 destination 172.16.3.4 0
[R4-acl-ipv4-adv-3000]rule deny ip source 10.1.1.1 0 destination 172.16.1.4 0
[R4-acl-ipv4-adv-3000]rule deny ip source 10.1.1.1 0 destination 100.3.3.4 0
[R4-acl-ipv4-adv-3000]exit
[R4]int g0/2 
[R4-GigabitEthernet0/2]packet-filter 3000 inbound 
[R4-GigabitEthernet0/2]int g0/1
[R4-GigabitEthernet0/1]packet-filter 3000 inbound 
[R4-GigabitEthernet0/1]int g0/0
[R4-GigabitEthernet0/0]packet-filter 3000 inbound 

13.要求拒绝10.1.1.2/24地址访问R3地址

[R3]acl basic 2000
[R3-acl-ipv4-basic-2000]rule deny source 10.1.1.2 0
[R3-acl-ipv4-basic-2000]exit
[R3]int g0/0
[R3-GigabitEthernet0/0]packet-filter 2000 inbound 
[R3-GigabitEthernet0/0]int g0/1
[R3-GigabitEthernet0/1]packet-filter 2000 inbound 
[R3-GigabitEthernet0/1]int g0/2 
[R3-GigabitEthernet0/2]packet-filter 2000 inbound 
[R3-GigabitEthernet0/2]int g5/0 
[R3-GigabitEthernet5/0]packet-filter 2000 inbound 

实验结果

DHCP下发成功
在这里插入图片描述

全⽹互通

<R1>ping 4.4.4.4
Ping 4.4.4.4 (4.4.4.4): 56 data bytes, press CTRL+C to break
56 bytes from 4.4.4.4: icmp_seq=0 ttl=255 time=0.484 ms
56 bytes from 4.4.4.4: icmp_seq=1 ttl=255 time=0.403 ms
56 bytes from 4.4.4.4: icmp_seq=2 ttl=255 time=0.598 ms
56 bytes from 4.4.4.4: icmp_seq=3 ttl=255 time=0.343 ms
56 bytes from 4.4.4.4: icmp_seq=4 ttl=255 time=0.681 ms

--- Ping statistics for 4.4.4.4 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.343/0.502/0.681/0.124 ms
<R1>%Sep 20 09:47:30:482 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 4.4.4.4: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.343/0.502/0.681/0.124 ms.

<R1>ping 6.6.6.6
Ping 6.6.6.6 (6.6.6.6): 56 data bytes, press CTRL+C to break
56 bytes from 6.6.6.6: icmp_seq=0 ttl=254 time=1.132 ms
56 bytes from 6.6.6.6: icmp_seq=1 ttl=254 time=0.901 ms
56 bytes from 6.6.6.6: icmp_seq=2 ttl=254 time=1.274 ms
56 bytes from 6.6.6.6: icmp_seq=3 ttl=254 time=0.580 ms
56 bytes from 6.6.6.6: icmp_seq=4 ttl=254 time=0.970 ms

--- Ping statistics for 6.6.6.6 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.580/0.971/1.274/0.235 ms
<R1>
<R1>%Sep 20 09:47:36:074 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 6.6.6.6: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.580/0.971/1.274/0.235 ms.

<R1>
<R1>ping 2.2.2.2
Ping 2.2.2.2 (2.2.2.2): 56 data bytes, press CTRL+C to break
56 bytes from 2.2.2.2: icmp_seq=0 ttl=255 time=0.481 ms
56 bytes from 2.2.2.2: icmp_seq=1 ttl=255 time=0.390 ms
56 bytes from 2.2.2.2: icmp_seq=2 ttl=255 time=0.369 ms
56 bytes from 2.2.2.2: icmp_seq=3 ttl=255 time=0.459 ms
56 bytes from 2.2.2.2: icmp_seq=4 ttl=255 time=0.410 ms

--- Ping statistics for 2.2.2.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.369/0.422/0.481/0.042 ms
<R1>%Sep 20 09:47:47:736 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 2.2.2.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.369/0.422/0.481/0.042 ms.

<R1>
<R1>ping 7.7.7.7
Ping 7.7.7.7 (7.7.7.7): 56 data bytes, press CTRL+C to break
56 bytes from 7.7.7.7: icmp_seq=0 ttl=252 time=1.295 ms
56 bytes from 7.7.7.7: icmp_seq=1 ttl=252 time=1.233 ms
56 bytes from 7.7.7.7: icmp_seq=2 ttl=252 time=1.162 ms
56 bytes from 7.7.7.7: icmp_seq=3 ttl=252 time=1.621 ms
56 bytes from 7.7.7.7: icmp_seq=4 ttl=252 time=1.793 ms

--- Ping statistics for 7.7.7.7 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.162/1.421/1.793/0.244 ms
<R1>%Sep 20 09:47:52:709 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 7.7.7.7: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.162/1.421/1.793/0.244 ms.

<R1>
<R1>
<R1>ping 4.4.4.4
Ping 4.4.4.4 (4.4.4.4): 56 data bytes, press CTRL+C to break
56 bytes from 4.4.4.4: icmp_seq=0 ttl=255 time=0.323 ms
56 bytes from 4.4.4.4: icmp_seq=1 ttl=255 time=0.290 ms
56 bytes from 4.4.4.4: icmp_seq=2 ttl=255 time=0.559 ms
56 bytes from 4.4.4.4: icmp_seq=3 ttl=255 time=0.378 ms
56 bytes from 4.4.4.4: icmp_seq=4 ttl=255 time=1.002 ms

--- Ping statistics for 4.4.4.4 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.290/0.510/1.002/0.263 ms
<R1>%Sep 20 09:50:18:985 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 4.4.4.4: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.290/0.510/1.002/0.263 ms.

<R1>ping 3.3.3.3
Ping 3.3.3.3 (3.3.3.3): 56 data bytes, press CTRL+C to break
56 bytes from 3.3.3.3: icmp_seq=0 ttl=254 time=0.737 ms
56 bytes from 3.3.3.3: icmp_seq=1 ttl=254 time=0.931 ms
56 bytes from 3.3.3.3: icmp_seq=2 ttl=254 time=0.948 ms
56 bytes from 3.3.3.3: icmp_seq=3 ttl=254 time=0.674 ms
56 bytes from 3.3.3.3: icmp_seq=4 ttl=254 time=0.718 ms

--- Ping statistics for 3.3.3.3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.674/0.802/0.948/0.115 ms
<R1>%Sep 20 09:50:25:540 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 3.3.3.3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.674/0.802/0.948/0.115 ms.

<R1>ping 6.6.6.6
Ping 6.6.6.6 (6.6.6.6): 56 data bytes, press CTRL+C to break
56 bytes from 6.6.6.6: icmp_seq=0 ttl=254 time=1.127 ms
56 bytes from 6.6.6.6: icmp_seq=1 ttl=254 time=0.879 ms
56 bytes from 6.6.6.6: icmp_seq=2 ttl=254 time=1.164 ms
56 bytes from 6.6.6.6: icmp_seq=3 ttl=254 time=0.933 ms
56 bytes from 6.6.6.6: icmp_seq=4 ttl=254 time=0.949 ms

--- Ping statistics for 6.6.6.6 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.879/1.010/1.164/0.113 ms
<R1>
<R1>%Sep 20 09:50:30:855 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 6.6.6.6: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.879/1.010/1.164/0.113 ms.

<R1>ping 2.2.2.2
Ping 2.2.2.2 (2.2.2.2): 56 data bytes, press CTRL+C to break
56 bytes from 2.2.2.2: icmp_seq=0 ttl=255 time=0.452 ms
56 bytes from 2.2.2.2: icmp_seq=1 ttl=255 time=0.455 ms
56 bytes from 2.2.2.2: icmp_seq=2 ttl=255 time=0.387 ms
56 bytes from 2.2.2.2: icmp_seq=3 ttl=255 time=0.569 ms
56 bytes from 2.2.2.2: icmp_seq=4 ttl=255 time=0.416 ms

--- Ping statistics for 2.2.2.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.387/0.456/0.569/0.062 ms
<R1>
<R1>%Sep 20 09:50:37:418 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 2.2.2.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.387/0.456/0.569/0.062 ms.

<R1>ping 5.5.5.5
Ping 5.5.5.5 (5.5.5.5): 56 data bytes, press CTRL+C to break
56 bytes from 5.5.5.5: icmp_seq=0 ttl=253 time=1.279 ms
56 bytes from 5.5.5.5: icmp_seq=1 ttl=253 time=0.878 ms
56 bytes from 5.5.5.5: icmp_seq=2 ttl=253 time=1.299 ms
56 bytes from 5.5.5.5: icmp_seq=3 ttl=253 time=0.504 ms
56 bytes from 5.5.5.5: icmp_seq=4 ttl=253 time=0.903 ms

--- Ping statistics for 5.5.5.5 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.504/0.973/1.299/0.295 ms
<R1>
<R1>%Sep 20 09:50:44:331 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 5.5.5.5: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.504/0.973/1.299/0.295 ms.

<R1>ping 7.7.7.7
Ping 7.7.7.7 (7.7.7.7): 56 data bytes, press CTRL+C to break
56 bytes from 7.7.7.7: icmp_seq=0 ttl=253 time=0.972 ms
56 bytes from 7.7.7.7: icmp_seq=1 ttl=253 time=1.081 ms
56 bytes from 7.7.7.7: icmp_seq=2 ttl=253 time=0.916 ms
56 bytes from 7.7.7.7: icmp_seq=3 ttl=253 time=0.986 ms
56 bytes from 7.7.7.7: icmp_seq=4 ttl=253 time=0.582 ms

--- Ping statistics for 7.7.7.7 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.582/0.907/1.081/0.171 ms
<R1>%Sep 20 09:50:49:370 2024 R1 PING/6/PING_STATISTICS: Ping statistics for 7.7.7.7: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.582/0.907/1.081/0.171 ms.

要求拒绝R5访问R1的telnet服务,其他设备均不影响

<R5>telnet 1.1.1.1
Trying 1.1.1.1 ...
Press CTRL+K to abort
Connected to 1.1.1.1 ...
Failed to connect to the remote host! 

<R6>telnet 1.1.1.1
Trying 1.1.1.1 ...
Press CTRL+K to abort
Connected to 1.1.1.1 ...

******************************************************************************
* Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent,                                 *
* no decompiling or reverse-engineering shall be allowed.                    *
******************************************************************************

Login: 
Login: lfx
Password: 
<R1>

**要求拒绝R2访问R4的ftp服务,其他设备均不影响 **

<R2>ftp 4.4.4.4
Press CTRL+C to abort.

<R3>ftp 4.4.4.4
Press CTRL+C to abort.
Connected to 4.4.4.4 (4.4.4.4).
220 FTP service ready.
User (4.4.4.4:(none)): lfx
331 Password required for lfx.
Password: 
230 User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.

**要求拒绝10.1.1.0/24⽹段ping通R1地址 **

<H3C>ping 1.1.1.1
Ping 1.1.1.1 (1.1.1.1): 56 data bytes, press CTRL_C to break
Request time out
Request time out
Request time out

--- Ping statistics for 1.1.1.1 ---
4 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss
<H3C>%Sep 20 10:56:39:331 2024 H3C PING/6/PING_STATISTICS: Ping statistics for 1.1.1.1: 4 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss.

要求拒绝10.1.1/24地址访问R4地址

在这里插入图片描述

要求拒绝10.1.1.2/24地址访问R3地址
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

学识小鑫

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值