beautypg.com

Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 791

background image

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

767

53-1003031-02

Configuring BGP-based auto-discovery for VPLS

8

Defining the route target for a VPLS instance (optional)

NOTE

When the user decides to manually define a route target, it is recommended that the user do so
before enabling VPLS auto-discovery.

The route target extended community for VPLS auto-discovery defines the import and export
policies that a VPLS instance uses. The export route target sets an extended community attribute
number that is appended to all routes that are exported from the VPLS instance. The import route
target value sets a filter that determines the routes that are accepted into the VPLS instance. Any
route with a value in its import route target contained in its extended attributes field matching the
value in the VPLS instance’s import route target are accepted. Otherwise the route is rejected.

In a configuration with VPLS auto-discovery, configuring a route target is optional. When the user
does not manually configure one, the system automatically generates the import and export route
target for each VPLS instance configured on the Brocade device when VPLS auto-discovery is
enabled. A manually-configured route target takes precedence over one that is automatically
generated by VPLS auto-discovery. When all manually-configured route targets are removed from a
VPLS instance while VPLS auto-discovery is enabled, the system automatically generates a new
route target for the VPLS instance.

The Brocade device supports up to 16 unique import and export route targets per VPLS instance.
When the user attempts to configure more than 16, the system displays the following error
message:

Error: Maximum number of Import RT for a VPLS instance is 16!

Error: Maximum number of Export RT for a VPLS instance is 16!

To define an import route target of 3:6 and an export route target of 3:8 for a VPLS instance, enter
the following commands.

Brocade(config)# router mpls

Brocade(config-mpls)# vpls c1

Brocade(config-mpls-vpls-c1)# route-target import 3:6

Brocade(config-mpls-vpls-c1)# route-target export 3:8

Syntax: [no] route-target [both | import | export] ASN:num | IP-address:num

The both parameter specifies both import and export values apply to the specified route target for
the VPLS instance where this command is applied. This is the default state and applies when no
specific value for this parameter is set.

The import parameter specifies that routes with route-target extended community attributes
matching the specified route-target can be imported into the VPLS instance where this command is
applied.

The export parameter specifies the route-target extended community attributes that are attached
to routes exported from the specified VPLS instance.

The ASN:num parameter identifies the route as an ASN relative. This number is the local ASN
number followed by a colon (:) and a unique arbitrary number.

The IP-address:num parameter identifies the route as an IP-address relative. This number is the
local IP address followed by a colon (:) and a unique arbitrary number.