Configuring Route-Target Filtering
To configure route-target filtering:
- Enable the BGP routing process in the specified AS.
The AS number identifies the PE router to other BGP routers.
host1(config)#router bgp 738 - Configure the peers for the BGP speaker. Use neighbor commands to specify the PE router peers to
which BGP advertises routes and to configure any additional BGP attributes.host1(config-router)#neighbor 10.2.2.2 remote-as 45 host1(config-router)#neighbor 10.2.2.2 update-source loopback 0 host1(config-router)#neighbor 10.2.2.2 next-hop-self
- Create the route-target address family to configure the
router to use BGP signaling to exchange the RT-MEM-NLRI attribute
with peer routers.
Optionally, you can use the signaling keyword with the address-family command when you configure the route-target address family to specify BGP signaling of reachability information. Currently, you can omit the signaling keyword with no adverse effects.
host1(config-router)#address-family route-target signaling - Activate the neighbors that routes of the route-target
address family are exchanged with for this BGP session. The neighbors
must first be created in the default IPv4 unicast address family.host1(config-router-af)#neighbor 10.2.2.2 activate host1(config-router-af)#neighbor 10.2.2.2 next-hop-self
- (Optional) Configure BGP to send a Default-MEM-NLRI route
for all peers in the address family or for a specific peer or peer
group in the address family.host1(config-router-af)#default-information originate orhost1(config-router-af)#neighbor 10.2.2.2 default-originate
- Set the maximum number of received external BGP paths
that can be accepted for route-target signaling. host1(config-router-af)#external-paths 2
- Configure any additional address family parameters desired for the session.
Hide Navigation Pane
Show Navigation Pane
SHA1