Re: [rbridge] announcing vlans question

"Jeff Pickering" <jeffpick@broadcom.com> Mon, 15 February 2010 19:55 UTC

Return-Path: <rbridge-bounces@postel.org>
X-Original-To: ietfarch-trill-archive-Osh9cae4@core3.amsl.com
Delivered-To: ietfarch-trill-archive-Osh9cae4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B04753A772F for <ietfarch-trill-archive-Osh9cae4@core3.amsl.com>; Mon, 15 Feb 2010 11:55:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.148
X-Spam-Level:
X-Spam-Status: No, score=-2.148 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_54=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Xfu-k+U87c9 for <ietfarch-trill-archive-Osh9cae4@core3.amsl.com>; Mon, 15 Feb 2010 11:55:28 -0800 (PST)
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by core3.amsl.com (Postfix) with ESMTP id 255613A7372 for <trill-archive-Osh9cae4@lists.ietf.org>; Mon, 15 Feb 2010 11:55:28 -0800 (PST)
Received: from boreas.isi.edu (localhost [127.0.0.1]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id o1FJZlQq013264; Mon, 15 Feb 2010 11:35:48 -0800 (PST)
Received: from MMS3.broadcom.com (mms3.broadcom.com [216.31.210.19]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id o1FJZUfl013210 for <rbridge@postel.org>; Mon, 15 Feb 2010 11:35:30 -0800 (PST)
Received: from [10.16.192.224] by MMS3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Mon, 15 Feb 2010 11:35:22 -0800
X-Server-Uuid: B55A25B1-5D7D-41F8-BC53-C57E7AD3C201
Received: from SJEXCHCCR02.corp.ad.broadcom.com ([10.16.192.130]) by SJEXCHHUB01.corp.ad.broadcom.com ([10.16.192.224]) with mapi; Mon, 15 Feb 2010 11:35:22 -0800
From: Jeff Pickering <jeffpick@broadcom.com>
To: Donald Eastlake <d3e3e3@gmail.com>
Date: Mon, 15 Feb 2010 11:35:21 -0800
Thread-Topic: [rbridge] announcing vlans question
Thread-Index: AcquY4kDdbzfg77XQFunAAHNa5NTTwADimag
Message-ID: <9793EC0A42D76D4EB2A8F94D77E2138893DC576D9F@SJEXCHCCR02.corp.ad.broadcom.com>
References: <9793EC0A42D76D4EB2A8F94D77E2138893DC576D91@SJEXCHCCR02.corp.ad.broadcom.com> <1028365c1002150922l26a8803esa9095f7bc90944e4@mail.gmail.com>
In-Reply-To: <1028365c1002150922l26a8803esa9095f7bc90944e4@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
MIME-Version: 1.0
X-WSS-ID: 67677E7031G30127399-01-01
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: jeffpick@broadcom.com
Cc: "rbridge@postel.org" <rbridge@postel.org>
Subject: Re: [rbridge] announcing vlans question
X-BeenThere: rbridge@postel.org
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: "Developing a hybrid router/bridge." <rbridge.postel.org>
List-Unsubscribe: <http://mailman.postel.org/mailman/listinfo/rbridge>, <mailto:rbridge-request@postel.org?subject=unsubscribe>
List-Archive: <http://mailman.postel.org/pipermail/rbridge>
List-Post: <mailto:rbridge@postel.org>
List-Help: <mailto:rbridge-request@postel.org?subject=help>
List-Subscribe: <http://mailman.postel.org/mailman/listinfo/rbridge>, <mailto:rbridge-request@postel.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0385815421=="
Sender: rbridge-bounces@postel.org
Errors-To: rbridge-bounces@postel.org

I understand the "cosiderable controversy" and think the argument goes something like this:

- there should be a single designated vlan which is shared enabled among all rbs, in which case sending hellos only on that dvid is sufficient and safe.
- but there may be a misconfiguration where this is not the case and multiple rbs may be appointed avf causing loops if you only send on the dvid.
- to solve this problem the full announcing set is defined in the spec. this may still, in patholgical cases, result in multiple rbs being
  appointed avf for the same vlan, but the AF bit and inhibition will result in only a single forwarder per-vlan.
- in order to ensure safety in the zero configuration case, the full announcing set is the default.

I am still concerned with scalability in cases of lots of adjs and lot of vlans, but also want to allow for "misconfiguration". I think there could be a way
to start announcing on the "full set" as defined and then fall back to only the dvid if yoiu discover the dvid is enabled on all rbs on a link. It would
work like this:

- An rb that is not DR would only choose as desginated vlan one of its enabled vlans. Its view of the dvid would be included in the vlaf subtlv.
- Such an rb that could not accept the DRs view of the dvid would continue to hello on its view if the dvid.
- All rbs announce on the full set (per-spec DR status dependent) when an interface is enabled or the vlan set changes.
- When any rb hears a hello that has in its vlaf subtlv a dvid value not equal to its dvid, it sets a timer.
- When the timer expires, an rb can fall back to only sending on the dvid.

I dont think this requires any spec change except for a non-dr refusing to accept as dvid a non-enabled vlan id. This would not affect anyone not
desiring to implement the above. And it would also address the case of an RB sending absolutely no hellos, which IMO is extermely counter-intuitive and
will cause network managers a lot of confusion.

Jeff



________________________________
From: Donald Eastlake [mailto:d3e3e3@gmail.com]
Sent: Monday, February 15, 2010 12:23 PM
To: Jeff Pickering
Cc: rbridge@postel.org
Subject: Re: [rbridge] announcing vlans question

Hi Jeff,

On Mon, Feb 15, 2010 at 9:18 AM, Jeff Pickering <jeffpick@broadcom.com<mailto:jeffpick@broadcom.com>> wrote:

If a non-drb is configured to announce on all vlans, but does not have the vlan enabled that is the designated vlan
announce by the drb, the non-drb will send helos only on vlan for which it is avf.

This is all on a per port basis.

I assume you mean by "configured to announce on all vlans" that the Announcing Set for that port is set to all VLANs. Yes, in that case the non-drb's port will send Hellos only on VLANs for which it is an appointed forwarder.

Generally speaking, if there are RBridge ports that don't have the designated VLAN enabled, arguably your network is mis-configured. Most commonly one would expect all the RBridges in a campus to be configured to designated the same VLAN if they are DRB and one would expect that that VLAN would be enabled on all RBridge ports connected to inter-RBridge links. But, of course, more complex configurations may be fine.

But if such an rb is not avf on any
vlans, it looks like it will send no hellos. Or does such an rb not accept the drb's desginated vlan in such a case?
Is there text addressing this is the spec?  All I see is the following from 4.4.3:


RBridges send TRILL Hellos Outer.VLAN tagged with

   the Designated VLAN, unless that VLAN is not enabled on the port.

Right, the RBridge port does not send any Hellos, because sending Hellos would generally just add useless traffic. Consider:

(1) Since the designated VLAN is disabled at the port, no inter-rbridge traffic can flow through the port (i.e., no TRILL encapsulated data or LSPs ...)

(2) Since the port is not an appointed forwarder for any VLAN, no native traffic can flow through the port (i.e., no data will be picked up and encapsulated and no data will be decapsulated and sent.

So the port is basically orphaned from the link, although there still are frames that could flow on the port, such as LLDP frames.

There was considerable controversy in the working group over how many Hellos to send and the provisions in the current draft are the compromise that was arrived at. The parenthetical at the top of page 51 of the draft contemplates sending more Hellos than called for by the set operation expressions.

Thanks,
Donald

Jeff

_______________________________________________
rbridge mailing list
rbridge@postel.org<mailto:rbridge@postel.org>
http://mailman.postel.org/mailman/listinfo/rbridge


_______________________________________________
rbridge mailing list
rbridge@postel.org
http://mailman.postel.org/mailman/listinfo/rbridge