Defining ipv4 or ipv6 address families of a vrf, Defining automatic route filtering – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 646
622
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
Configuring BGP VPNs on a PE
6
The route_distinguisher variable specifies a route distinguisher for a VRF that gives a route
associated with the VRF a unique identity. The RD is prepended on the address being advertised.
The RD allows the same IP address to be used in different VPNs without creating any conflicts. It
can also be used with the route-target command to constrain distribution of routes to or from a
VPN. The route_distinguisher parameter can be either ASN-relative or IP address-relative as
described:
ASN-relative – Composed of the local ASN number followed by a “:” and a unique arbitrary number.
For example: 3:6.
IP address-relative – Composed of the local IP address followed by a “:” and a unique arbitrary
number.
Defining IPv4 or IPv6 address families of a VRF
Each address family configuration level allows the user to access commands that apply to that
particular address family only.
To define IPv4 or IPv6 address families of a VRF, enter the following command.
Brocade(config)# vrf VPN1
Brocade(config-vrf-vpn1)# address-family ipv4
Brocade(config-vrf-vpn1-ipv4)# exit-address-family
Brocade(config-vrf-vpn1)# exit-vrf
Brocade(config)#
Syntax: [no] address-family ipv4/ipv6
Syntax: exit-address-family
The exit-address-family command moves the user out of the IPv4 or IPv6 address family of a VRF
the user is configuring.
Defining automatic route filtering
Each VRF is configured with import and export route targets. The export route target sets an
extended community attribute number that is appended to all routes that are exported from the
VRF. The import route target value sets a filter that determines the routes that are accepted into the
VRF. Any route with a value in its import route-target contained in its extended attributes field
matching the value in the VRFs import route target is accepted. Otherwise, the route is rejected.
This process is referred to as automatic route filtering.
To define an import route target of 3:6 and an export route target of 3:8 for a VPN, enter the
following commands.
Brocade(config-vrf)# route-target import 3:6
Brocade(config-vrf)# route-target export 3:8
Syntax: [no] route-target [import | export | both] route-target
This command associates a route target specified by the route-target variable with a specified VRF
for control on routes.