前端开发入门到精通的在线学习网站

网站首页 > 资源文章 正文

流量统计、分析确认网络丢包点

qiguaw 2024-12-14 14:28:23 资源文章 15 ℃ 0 评论

编 号: 080-20240904

飘落的秋叶

流量统计、分析确认网络丢包点

目录

1、 概述

2、 拓扑

3、 配置

4、 验证


1、概述

本文通过示例来演示流量统计、分析确认网络丢包点

用户使用114.80.2.2无法访问业务112.65.2.2

通过抓包确认网络丢包点

在AR1 G0/0/1 确认是否发送相关数据

在AR3 G0/0/3 确认是否接收相关数据

本例丢包点在AR2,存在相关策略,经过修复后,恢复访问


2、拓扑

3、配置

---------AR1关键配置---------

<AR1>

sysname AR1

#

acl name ICMP_pack 3999

rule 10 permit ip source 114.80.2.2 0 destination 112.65.2.2 0

#

traffic classifier ICMP_pack operator or

if-match acl ICMP_pack

#

traffic behavior ICMP_pack

statistic enable

#

traffic policy ICMP_pack

classifier ICMP_pack behavior ICMP_pack

#

isis 1

is-level level-2

network-entity 49.0001.0000.0000.0001.00

import-route direct

#

interface GigabitEthernet0/0/0

ip address 114.80.2.1 255.255.255.0

#

interface GigabitEthernet0/0/1

ip address 12.1.1.1 255.255.255.252

isis enable 1

traffic-policy ICMP_pack outbound

---------AR2关键配置---------

<AR2>

sysname AR2

#

acl name ICMP_Deny 3999

rule 5 deny icmp destination 112.65.2.2 0

#

traffic classifier ICMP_Deny operator or

if-match acl ICMP_Deny

#

traffic behavior ICMP_Deny

#

traffic policy ICMP_Deny

classifier ICMP_Deny behavior ICMP_Deny

#

isis 1

is-level level-2

network-entity 49.0001.0000.0000.0002.00

#

interface GigabitEthernet0/0/0

#

interface GigabitEthernet0/0/1

ip address 12.1.1.2 255.255.255.252

isis enable 1

#

interface GigabitEthernet0/0/2

ip address 23.1.1.1 255.255.255.252

isis enable 1

traffic-policy ICMP_Deny outbound

---------AR3关键配置---------

<AR3>

sysname AR3

acl name ICMP_pack 3999

rule 10 permit ip source 114.80.2.2 0 destination 112.65.2.2 0

#

traffic classifier ICMP_pack operator or

if-match acl ICMP_pack

#

traffic behavior ICMP_pack

statistic enable

#

traffic policy ICMP_pack

classifier ICMP_pack behavior ICMP_pack

#

isis 1

is-level level-2

network-entity 49.0001.0000.0000.0003.00

import-route direct

#

interface GigabitEthernet0/0/0

ip address 112.65.2.1 255.255.255.0

#

interface GigabitEthernet0/0/2

ip address 23.1.1.2 255.255.255.252

isis enable 1

traffic-policy ICMP_pack inbound


4、验证

在AR1 G0/0/1 确认是否发送相关数据(已发送):

在AR3 G0/0/3 确认是否接收相关数据(未能收到相关数据)

问题点出现在AR2,经检查AR2有相关策略导致无法正常通信,AR2配置关键点修复:

interface GigabitEthernet0/0/2

Undo traffic-policy outbound

修复后清除AR1计数器重新测试:

reset traffic policy statistics interface g0/0/1 ou

在AR1 G0/0/1 确认是否发送相关数据(已发送):

在AR3 G0/0/3 确认是否接收相关数据(已接收)

业务恢复:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表