• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

Package Lost Case Analysis of MPLS VPN on E1

2008-10-16 发表
  • 0关注
  • 0收藏 591浏览
粉丝: 关注:

 

Package Lost Case Analysis of MPLS VPN on E1

 

 

KeywordsNE16; Package Lost;MPLS VPN

1. Case Backgroud

The Softwares fail to communicate between Xi'an and LingWu, the server of Xi'an sending "Request" to LingWu, there only has seldom "Reply" could be received by Xi'an's server, and the probability is only 10%. Were the "Request" or "Reply" packages losted by the MPLS VPN tunnel ?

2. Topology

As figure 1 shows below: The NE16 of Xi'an and LingWu were connected by E1. The server of Xi'an with double netcards communicate with the Linux server of LinWu through MPLS VPN tunnel which was set up by the  NE16 .

                          Figure 1 Topology of Xi'an and LingWu

3. Solution Steps

3.1 Methods

Plan 1Observe the total package numbers of the servers. This is not a best and easy way to resolve this problem.

Plan 2Counting the package passing through the interface of NE16 to determine whether there is package lost. In detail: Comparing the ingress number of Xi'an with the egress of LingWu in both VPN interfaces, If the number of each other is equal, we can conclude that there is no package lost, otherwise, there maybe package lost.

3.2 Technical Difficulty

We could not use package capture tools to get the statistics of the ingress and egress packages directly. Therefore, we mark different package with different "color"in this way, we could count how many package were sended or received

3.3 Testing

Step 1Analysis the feature of the business between the servers of Xi'an and LingWu. The server of Xi'an has two netcards which communicate with the netcard of the server in LinWu, which only has one netcard. The ip address of both sides show below

 

IP address

Server of Xi'an

10.60.3.101

10.60.3.102

Server of LinWu

10.64.95.2

   To help us counting the receiving and sending package number, We defined acl rules to separate the package of these two servers from others

 acl number 3001

     rule 5 permit ip vpn-instance vpn-rt source 10.60.3.101 0 destination 10.64.95.2 0

     rule 10 permit ip vpn-instance vpn-rt source 10.60.3.102 0 destination 10.64.95.2 0

 Step 2: Using the commands below to modify the package's mpls-exp value to 3 according to acl 3001, then we can measure the number of these package

//Define class remark

[7.25]traffic classifier remark

//If match acl 3001

[7.25-classifier-remark]if-match acl 3001

//Define flow behavior remark

[7.25]traffic behavior remark

//Modify the MPLS's  EXP fields to 3default are 4 or 6

[7.25-behavior-remark]remark mpls-exp 3

//bingding class and behavior

[7.25]traffic policy remark

[7.25-trafficpolicy-remark]classifier remark behavior remark

//Apply policy on interface

[7.25]int Ethernet 5/1/0.901

[7.25-Ethernet5/1/0.901]traffic-policy remark inbound 

 

[7.25]traffic classifier  exp3

[7.25-classifier-exp3]if-match mpls-exp 3

[7.25]traffic behavior exp3

//Incriease width of ef queue from 200 to 1400, in case the burst flow

[7.25-behavior-exp3]queue ef bandwidth 1400

[7.25]traffic policy p_vpn_rt

[7.25-trafficpolicy-p_vpn_rt]classifier  exp3  behavior exp3

       Step 3

After configed the command above, Using command:

display traffic policy interface Ethernet 5/1/0.901 //Ingress interface of Xi'an Node

display traffic policy interface Serial 5/0/3:0    //Egress interface of Xi'an Node

Checking the number of marked data continuously, if the result of these two interfaces are equal, that means there is no package lost.

On inside, we mainly check the interface Ethernet 5/1/0.901 value below

Classifier: remark

     Matched : 824/36384 (Packets/Bytes)

     Operator: AND

     Rule(s) : if-match acl 3001

     Behavior: remark

      Marking:               

        Remark MPLS EXP 3               

        Remarked: 824 (Packets)

On outside, we mainly check the interface s5/0/3:0 value below

Classifier: exp3

     Matched : 27/1314 (Packets/Bytes)

     Operator: AND

     Rule(s) : if-match mpls-exp 3

     Behavior: exp3

      Expedited Forwarding:

        Bandwidth 1300 (Kbps), CBS 32500 (Bytes)

        Matched : 0/0 (Packets/Bytes)               

        Enqueued : 0/0 (Packets/Bytes)               

        Discarded: 0/0 (Packets/Bytes)

       Step 4

Similarly,we do the same configuration on YinChuan node

[7.25-classifier-car]if-match mpls-exp 3

[7.25]traffic behavior car

[7.25-behavior-car]car cir 50000000 green pass red pass

[7.25]traffic policy car

[7.25-trafficpolicy-car]classifier car behavior car

Apply the policy above under these two interface:

[7.25]int Serial 5/0/0:0 

[7.25-Serial5/0/0:0]traffic-policy car inbound

//Here, pay more attention to the direction, because they are contrary

[7.25]int Serial 10/0/6:0 

[7.25-Serial10/0/6:0]traffic-policy car outbound

Also, According to Xi'an node, checking the package number of each direction continuously.

       Step 5

              Below are part of the data we collected under 10 second interval(Part of the data). we can see from the table below that all the data increasing steady, that means the increasing number of data of Xi'an and YinChuan nearly equal:

       The total sending packages number of Xi'an

              0 + 13 + + 5 + 9 = 106

       The total receiving packages number of YinChuan

              0 + 12 + + 4 + 9 = 108

Index

Entrance of Xi'an

S5/0/3:0

Increasing Package

Egress of Xi'an

E5/1/0.901

Subtract of In and Out

Entrance of YinChuan

S5/0/0:0

Increasing Package

Egress of YinChuan

S10/0/6:0

Subtract of In and Out

1

14

0

14

0

19

0

19

0

2

27

13

27

0

31

12

31

0

3

35

8

36

1

42

11

42

0

4

47

12

47

0

55

13

55

0

5

53

6

53

0

60

5

60

0

6

59

6

59

0

66

6

66

0

7

65

6

65

0

72

6

72

0

8

70

5

70

0

77

5

78

1

9

78

8

78

0

84

7

84

0

10

83

5

83

0

90

6

90

0

11

88

5

88

0

95

5

95

0

12

98

10

98

0

104

9

104

0

13

103

5

103

0

110

6

110

0

14

106

3

106

0

114

4

114

0

15

111

5

111

0

118

4

118

0

16

120

9

120

0

127

9

127

0

合计

1157

106

1158

1

1264

108

1265

1

 

To sumup:

1.    The package number of every in and out direction of each pair interface are equal

2.   In 160 second, the increasing number of Xi'an and YinChuan are nearly equal.If we check as long as possible, the result will be equal.

4. Result

From the analysis above, we can concluded that there has no package lost through the VPN tunnel between Xi'an and YinChuan. We must check other part of the network to find the exact reason

 

若您有关于案例的建议,请反馈:

作者在2009-12-07对此案例进行了修订
0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作