oam cpe-ping vs ping router "vpls-management"?

Post Reply
User avatar
thekotaksampah
Member
Posts: 100
Joined: 06 Jan 2014 20:04

oam cpe-ping vs ping router "vpls-management"?

Post by thekotaksampah »

Hello All,

Let me know the different between oam cpe-ping and ping router "vpls-management"? I have sample like this

The topology

|PE|--------------------------|switch|-------------------------------|CE|

Code: Select all

*A:SR-1# ping router "vpls-management" 192.168.25.30 count 100 
PING 192.168.25.30 56 data bytes
64 bytes from 192.168.25.30: icmp_seq=1 ttl=128 time=4.03ms.
64 bytes from 192.168.25.30: icmp_seq=2 ttl=128 time=3.99ms.
64 bytes from 192.168.25.30: icmp_seq=3 ttl=128 time=4.24ms.
64 bytes from 192.168.25.30: icmp_seq=4 ttl=128 time=4.19ms.
64 bytes from 192.168.25.30: icmp_seq=5 ttl=128 time=4.02ms.
64 bytes from 192.168.25.30: icmp_seq=6 ttl=128 time=4.40ms.
64 bytes from 192.168.25.30: icmp_seq=7 ttl=128 time=4.27ms.
64 bytes from 192.168.25.30: icmp_seq=8 ttl=128 time=4.67ms.
64 bytes from 192.168.25.30: icmp_seq=9 ttl=128 time=4.14ms.
64 bytes from 192.168.25.30: icmp_seq=10 ttl=128 time=3.41ms.

Code: Select all

*A:SR-1# oam cpe-ping service 4876 destination 192.168.25.30 source 192.168.25.203 return-control count 100 

Seq  Sap-id                                    CPE Mac Address        RTT
----------------------------------------------------------------------------
[Send request Seq. 1.]
1   124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      3.72ms
[Echo replies received: 1]
[Send request Seq. 2.]
2   124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      3.32ms
[Echo replies received: 1]
[Send request Seq. 3.]
3   124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      3.59ms
[Echo replies received: 1]
…
[Send request Seq. 8.]
8   124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      62.0ms
[Echo replies received: 1]
[Send request Seq. 9.]
[Send request Seq. 10.]
[Send request Seq. 11.]
11  124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      3.45ms
Request Seq. 9 timed out.
[Echo replies received: 1]
[Send request Seq. 12.]
12  124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38       487ms
[Echo replies received: 1]
[Send request Seq. 13.]
13  124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38       100ms
Request Seq. 12 timed out.
[Echo replies received: 1]
[Send request Seq. 14.]
Request Seq. 13 timed out.
[Send request Seq. 15.]
15  124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      22.3ms
[Echo replies received: 1]
[Send request Seq. 16.]
[Send request Seq. 17.]
17  124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38       178ms
[Echo replies received: 1]
[Send request Seq. 18.]
Request Seq. 16 timed out.
[Send request Seq. 19.]
[Send request Seq. 20.]
20  124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38       592ms
Request Seq. 18 timed out.
[Echo replies received: 1]
[Send request Seq. 21.]


There is different Round Trip Time, when I use oam cpe-ping and ping router "vpls-management". Where is the best method to know, how customer latency condition from PE to CE??

Thanks
Technical Blog: ngoprek.achyarnurandi.id
mivens
Member
Posts: 262
Joined: 28 Sep 2012 06:34

Re: oam cpe-ping vs ping router "vpls-management"?

Post by mivens »

With a cpe-ping a broadcast mac-ping results in each VPLS PE sending an ARP request for the specific IP address and waiting for a response from the CE. Each PE reports back to the requesting 7750 when it has received a reply. This process takes longer than when using a conventional ICMP echo request and is less suitable for measuring latency. It's more useful for verifying that each VPLS PE has learnt the MAC address of the CE and can resolve its IP address.
User avatar
thekotaksampah
Member
Posts: 100
Joined: 06 Jan 2014 20:04

Re: oam cpe-ping vs ping router "vpls-management"?

Post by thekotaksampah »

Thanks for information mivens, let me know something. so when there is a switch between CE and PE, CPE mac address is switch mac or ce mac when we use oam cpe-ping?
Technical Blog: ngoprek.achyarnurandi.id
mivens
Member
Posts: 262
Joined: 28 Sep 2012 06:34

Re: oam cpe-ping vs ping router "vpls-management"?

Post by mivens »

If you cpe-ping an IP address on the CE, then the ARP reply will be the MAC address on the CE that is associated with that IP address.
User avatar
thekotaksampah
Member
Posts: 100
Joined: 06 Jan 2014 20:04

Re: oam cpe-ping vs ping router "vpls-management"?

Post by thekotaksampah »

mivens wrote:If you cpe-ping an IP address on the CE, then the ARP reply will be the MAC address on the CE that is associated with that IP address.
PE|--------------------|switch|----------------|CE

event there is switch between CE and PE?

Code: Select all

*A:SR-1# oam cpe-ping service 4876 destination 192.168.25.30 source 192.168.25.203 return-control count 100 

Seq  Sap-id                                    CPE Mac Address        RTT
----------------------------------------------------------------------------
[Send request Seq. 1.]
1   124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      3.72ms
[Echo replies received: 1]
[Send request Seq. 2.]
2   124.195.81.215:sap:2/2/1:876              9c:8e:99:d3:73:38      3.32ms
when I check on vpls fdb I found 9c:8e:99:d3:73:38, and I am sure there is mac from switch. Not come from CE. correct me if I wrong :D
Technical Blog: ngoprek.achyarnurandi.id
mivens
Member
Posts: 262
Joined: 28 Sep 2012 06:34

Re: oam cpe-ping vs ping router "vpls-management"?

Post by mivens »

And 192.168.25.30 is configured on the CE?

After your normal ping to 192.168.25.30, what MAC address is in the ARP cache on the 7750?
Does the ARP cache on the CE show a permanent entry for that IP address with its own MAC address?

You don't have something doing proxy ARP?
User avatar
thekotaksampah
Member
Posts: 100
Joined: 06 Jan 2014 20:04

Re: oam cpe-ping vs ping router "vpls-management"?

Post by thekotaksampah »

mivens: And 192.168.25.30 is configured on the CE?
Thekotaksampah: Yes
mivens: After your normal ping to 192.168.25.30, what MAC address is in the ARP cache on the 7750?
Thekotaksampah: I don't check about this, because I just running vpls instance not vprn
mivens:Does the ARP cache on the CE show a permanent entry for that IP address with its own MAC address?
Thekotaksampah: let me check it, but I am sure when I use oam cpe-ping, the mac address is mac switch port. But let me trial for make it sure
You don't have something doing proxy ARP?
No, I don't have
Technical Blog: ngoprek.achyarnurandi.id
User avatar
thekotaksampah
Member
Posts: 100
Joined: 06 Jan 2014 20:04

Re: oam cpe-ping vs ping router "vpls-management"?

Post by thekotaksampah »

mivens: And 192.168.25.30 is configured on the CE?
Thekotaksampah: Yes
mivens: After your normal ping to 192.168.25.30, what MAC address is in the ARP cache on the 7750?
Thekotaksampah: I don't check about this, because I just running vpls instance not vprn
mivens:Does the ARP cache on the CE show a permanent entry for that IP address with its own MAC address?
Thekotaksampah: let me check it, but I am sure when I use oam cpe-ping, the mac address is mac switch port. But let me trial for make it sure
You don't have something doing proxy ARP?
No, I don't have
Technical Blog: ngoprek.achyarnurandi.id
User avatar
thekotaksampah
Member
Posts: 100
Joined: 06 Jan 2014 20:04

Re: oam cpe-ping vs ping router "vpls-management"?

Post by thekotaksampah »

Hi all,

Update about this issue. I make topology like this

PE |--------------sdp----------------|Edge|--------sap----------|OmniSwitch|--------------|CE|


CE Interface (Juniper)

Code: Select all

lab# run show interfaces fe-0/2/1 media 
Physical interface: fe-0/2/1, Enabled, Physical link is Up
  Interface index: 136, SNMP ifIndex: 84
  Link-level type: Ethernet, MTU: 1504, Speed: 100mbps, Loopback: Disabled,
  Source filtering: Disabled, Flow control: Enabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  CoS queues     : 4 supported, 4 maximum usable queues
  Current address: 00:05:85:31:70:3f, Hardware address: 00:05:85:31:70:3f
  Last flapped   : 2015-09-12 21:11:13 UTC (2w1d 08:23 ago)
  Input rate     : 264 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  Active alarms  : None
  Active defects : None
  MAC statistics:
    Input bytes: 98153396, Input packets: 1237460, Output bytes: 57348738,
    Output packets: 645660
  Filter statistics:
    Filtered packets: 0, Padded packets: 0, Output packet errors: 0
  Autonegotiation information:
    Negotiation status: Complete
    Link partner:
        Link mode: Full-duplex, Flow control: None, Remote fault: OK

[edit]
lab# 
MAC address learned in Edge Node

Code: Select all

B:SITE-A# show service id 8585 fdb detail 

===============================================================================
Forwarding Database, Service 8585
===============================================================================
ServId    MAC               Source-Identifier        Type     Last Change
                                                     Age      
-------------------------------------------------------------------------------
8585      00:05:85:31:70:3f sap:2/1/6:20             L/90     01/03/00 06:16:46
8585      00:21:05:b2:f8:ea sdp:13:8585              L/90     01/03/00 06:12:59
8585      00:d0:f6:4a:a6:c2 cpm                      O/300    01/03/00 06:36:54
-------------------------------------------------------------------------------
No. of MAC Entries: 3
-------------------------------------------------------------------------------
Legend:  L=Learned O=Oam P=Protected-MAC C=Conditional S=Static
===============================================================================
B:SITE-A# 


I check on edge node, the mac address learned in Edge is CE Mac, Then let me know something, why when I ping with source address 0.0.0.0. I found RTO, but when I use dummy IP, it can get ICMP repply.

Code: Select all

B:SITE-A# oam cpe-ping service 8585 destination 192.168.20.10 source 0.0.0.0 count 5 

Seq  Sap-id                                    CPE Mac Address        RTT
----------------------------------------------------------------------------
[Send request Seq. 1.]
[Send request Seq. 2.]
[Send request Seq. 3.]
[Send request Seq. 4.]
[Send request Seq. 5.]
Request Seq. 1 timed out.
Request Seq. 2 timed out.
Request Seq. 3 timed out.
Request Seq. 4 timed out.
Request Seq. 5 timed out.
----------------------------------------------------------------------------
B:SITE-A# 

Code: Select all

B:SITE-A# oam cpe-ping service 8585 destination 192.168.20.10 source 192.168.20.1 count 5  

Seq  Sap-id                                    CPE Mac Address        RTT
----------------------------------------------------------------------------
[Send request Seq. 1.]
1   192.168.200.1:sap:2/1/6:20                00:05:85:31:70:3f     0.870ms
[Echo replies received: 1]
[Send request Seq. 2.]
2   192.168.200.1:sap:2/1/6:20                00:05:85:31:70:3f     0.841ms
[Echo replies received: 1]
[Send request Seq. 3.]
3   192.168.200.1:sap:2/1/6:20                00:05:85:31:70:3f     0.809ms
[Echo replies received: 1]
[Send request Seq. 4.]
4   192.168.200.1:sap:2/1/6:20                00:05:85:31:70:3f     0.836ms
[Echo replies received: 1]
[Send request Seq. 5.]
5   192.168.200.1:sap:2/1/6:20                00:05:85:31:70:3f     0.836ms
[Echo replies received: 1]
-----------
when I read oam diagnostic, it's recommended using ip source 0.0.0.0 to prevent the provider’s IP address of being learned by the CE

Image

Thanks
You do not have the required permissions to view the files attached to this post.
Technical Blog: ngoprek.achyarnurandi.id
Post Reply

Return to “7750 SR”