I
feel that RTB LDP session will go down with RTA immidietly when the link
goes down. After the re-establishment of the LDP session, RTB will be
sending FT session TLV with Recovery Time 0. This will cause the RTA to
remove the stale FEC-to-label mapping. But until this happens, traffic will
be black holed.
To overcome this, other methods of identifying link
failures in RTA have to be employed, such as BFD, this will help RTA to use
alternate FEC-to-Label mapping, because link failure does not start LDP GR
but it will bring down LDP session in case of link level
LDP.
-----
Original Message ----
From: Yu Yi <yuyi@nortel.com>
To:
little_star@huawei.com; mpls@lists.ietf.org
Sent: Monday, 16 October,
2006 2:51:33 PM
Subject: RE: [MPLS] LDP GR query
For your case it is fine. RTB should be in normal
case(normal session down)(no any GR flow) and delete all LSPs
which are established on the port. After session up again RTA
will re-send the same label mapping which are sent before session down. But
as you know during this period the MPLS traffic are lost. So this is not a
complete GR case.
GR is applicable only if the forwarding plane
is fine.
From:
little_star@huawei.com [mailto:little_star@huawei.com]
Sent:
2006年10月16日 3:07 PM
To: mpls@lists.ietf.org
Subject:
[MPLS] LDP GR query
Hi
I have query
related to LDP Graceful Restart.
RFC 3478 say
When an LSR detects that its LDP session with a neighbor went
down,
and the LSR knows that the neighbor is
capable of preserving its MPLS
forwarding state across the restart (as was
indicated by the FT
Session TLV in the Initialization message
received from the
neighbor), the LSR retains the label-FEC
bindings received via that
session (rather than discarding the
bindings), but marks them as
"stale".
RFC 3478 say that a router will implement GR flow when it detect
that its LDP session with a neighbor went down.
But there are many cases which can cause the LDP
session went down ,and it’s neighbor don’t restart
actually.
Consider this
scenario:

Suppose that the link between RTB and LAN-SWITCH is broken down, then
RTA will detects that its LDP session with RTB went down, then RTA will
implement GR flow, even the LDP session between RTA and RTB is
re-established after the link between RTB and LAN-SWITCH
is resumed. Because the FT TLV in the initialization message of RTB
don’t indicate that RTB whether reboot or not, so RTA is still implement GR
flow.
Now RTA is in GR flow , but RTB isn’t in GR
flow.
But what will happen if RTA is in GR flow , at the same time RTB
isn’t in GR flow? I think it will fall into
confusion.
Another example that the LDP
session will be down is that the LSR’s neighbor can’t send out it’s packet,
including hello packet or keepalive packet, if the control plane of it’s
neighbor is very busy or occurs some error ,then the
LDP session will be down. In this case the LSR will
conclude that it’s neighbor restart and the LSR will implement GR
flow.