To configure route-target filtering:
The AS number identifies the PE router to other BGP routers.
- host1(config)#router bgp 738
- 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
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
- host1(config-router-af)#neighbor 10.2.2.2
activate
- host1(config-router-af)#neighbor 10.2.2.2
next-hop-self
- host1(config-router-af)#default-information
originate
- or
- host1(config-router-af)#neighbor 10.2.2.2
default-originate
- host1(config-router-af)#external-paths 2
external-paths
- host1(config-router)#external-paths 45
- host1:vr1(config-router-af)#external-paths
45