cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2096
Views
0
Helpful
4
Replies

Shamlink is flapping

mahesh_kv3
Level 1
Level 1

I had configured a sham link between

                                      ce-----pe----shamlink-------pe---------ce

iam getting the ospf neighbourship up but suddenly it is getting down.

Please share you views to clear this problem.Thanks in advance.

Mahesh

4 Replies 4

jcozzupoli
Level 1
Level 1

Hi Mahesh,

Can you please answer the following questions I have for you:

1. Please send us the conifgurations

2. What IOS is running on each router, especially on the PE routers? Is it the same on both ends?

3. Please show the output of "show ip ospf sham-links"

4. Please turn on "debug ip ospf adj" and "debug ip ospf events"

Once you answer these questions, i'm sure myself or someone here will be able to give you some advice.

Thanks,

Joe.

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Mahesh,

as it happens for a point to point GRE tunnel you need to avoid recursive routing: the sham-link uses endpoints and this endpoints must be known by other means.

Configure the source and destination addresses of the sham-link   as a host route mask (255.255.255.255)
on the PE   routers that serve as the endpoints of the sham-link. The source and   destination IP addresses
must   belong to the VRF and be advertised by Border Gateway Protocol (BGP) to   remote PE routers. The
sham-link endpoint addresses should not be advertised by OSPF.

then of course your issue may be different and related to the IOS version on the PE nodes as noted by Joe.

Hope to help

Giuseppe

amit.bhagat
Level 1
Level 1

Hi Mahesh,

I think you will find your answers here-

http://sites.google.com/site/amitsciscozone/home/important-tips/mpls-wiki/ospf-sham-link-support-for-mpls-vpn

NOTE: The Sham-link Endpoint Address must be advertised by BGP as VPN-IPv4 address; it must NOT be advertised by OSPF.

Also, remember to increase the cost of backdoor link and reduce the cost of sham-link otherwise, even though your sham-link will be UP, due to low-cost, backdoor link COULD be preferred.

HTH.

Regards,

Amit.

delhi.pnr
Level 1
Level 1

Before :

            |----------I BGP Session-------|

ce-----pe------------shamlink-----------pe---------ce

After : 


            |----------E BGP Session-------|

ce-----pe------------shamlink-----------pe---------ce

Regards

Nishant Thakur