Cooperative route filtering – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 752
![background image](/manuals/361646/752/background.png)
728
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
BGP or MPLS VPN sample configurations
6
Brocade(config-vrf-vpn1)# rd 2:1
Brocade(config-vrf-vpn1)# route-target export 100:2
Brocade(config-vrf-vpn1)# route-target import 100:1
Brocade(config-vrf-vpn1)# exit-vrf
Brocade(config)# router bgp
Brocade(config-bgp)# local-as 1
Brocade(config-bgp)# neighbor 10.2.2.1 remote-as 1
Brocade(config-bgp)# neighbor 10.2.2.1 update-source loopback 1
Brocade(config-bgp)# address-family vpnv4 unicast
Brocade(config-bgp-vpnv4u)# neighbor 10.2.2.1 activate
Brocade(config-bgp)# address-family ipv4 unicast vrf VPN1
Brocade(config-bgp-ipv4u-vrf)# redistribute ospf
Brocade(config-bgp-ipv4u-vrf)# exit
Brocade(config)# router ospf vrf VPN1
Brocade(config-ospf-router)# domain-id 10.0.0.100
Brocade(config-ospf-router)# domain-tag 10.0.0.100
Brocade(config-ospf-router)# area 1
Brocade(config-ospf-router)# redistribute bgp
Brocade(config-ospf-router)# exit
Brocade(config)# router ospf
Brocade(config-ospf-router)# area 0
Brocade(config-ospf-router)# exit
Brocade(config)# interface ethernet 1/2
Brocade(config-if-e10000-1/2)# ip ospf area 0
Brocade(config-if-e10000-1/2)# ip address 10.33.35.1/24
Brocade(config-if-e10000-1/2)# exit
Brocade(config)# router mpls
Brocade(config-mpls)# policy
Brocade(config-mpls-policy)# traffic-engineering ospf
Brocade(config-mpls)# mpls-interface eth 1/2
Brocade(config-mpls)# lsp tunnel1
Brocade(config-mpls-lsp-tunnel1)# to 10.2.2.1
Brocade(config-mpls-lsp-tunnel1)# enable
Brocade(config-mpls-lsp-tunnel1)# exit
Brocade(config)# interface ethernet 1/1
Brocade(config-if-e10000-1/1)# vrf forwarding VPN1
Brocade(config-if-e10000-1/1)# ip address 10.33.36.3/24
Brocade(config-if-e10000-1/1)# ip ospf area 1
Brocade(config-if-e10000-1/1)# exit
Cooperative route filtering
The cooperative route filtering feature allows the user to move the filtering function of a
route-target import filter to a peer. In this situation, an Outbound Route Filter (ORF) is derived from
the contents of all of the route-target import commands of BGP configured VRFs on a PE and
shared with a peer PE. This ORF is then used to exclude any routes that are blocked by that ORF
from being sent by the peer PE to the PE with the route-target import commands that the ORF was