beautypg.com

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

Page 753

background image

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

729

53-1003031-02

BGP or MPLS VPN sample configurations

6

derived from. For example, in

Figure

78

the routes that are admitted into VPN1 and VPN2 have

route targets of 1:1 and 2:2. The user can use the cooperative route filtering feature to send an
ORF that is derived from the route-target import commands on PE 1 to PE 2 to only accept these
routes.

FIGURE 78

Cooperative route filtering example

The following example shows the commands required to configure VRF VPN1 on PE 1 in

Figure

78

with an import route-target of 1:1 and VRF VPN2 on PE 1 with an import route-target import of 2:2.

Brocade(config)# vrf VPN1

Brocade(config-vrf-VPN1)# route-target import 1:1

Brocade(config-vrf-VPN1)# exit-vrf

Brocade(config)# vrf VPN2

Brocade(config-vrf-VPN2)# route-target import 2:2

Brocade(config-vrf-VPN2)# exit-vrf

The following commands configure PE 1 to send the filter derived from the import route-target
commands in VPN1 and VPN2 to PE 2.

Brocade(config-bgp)# address-family vpnv4 unicast

Brocade(config-bgp-vpnv4u)# neighbor 10.3.3.2 capability orf extended-community

send-vrf-filter

The following commands configure PE 2 to receive the filter derived from the import route-target
commands in VPN1 and VPN2 on PE 1.

Brocade(config-bgp)# address-family vpnv4 unicast

Brocade(config-bgp-ivpnv4u)# neighbor 10.3.3.1 capability orf extended-community

receive