BGP VRF Redistribution Question

Refer to the config below:

R2(config)#router bgp 100
(config-router)#address-family ipv4 vrf A
(config-router-af)#redistribute static
(config-router-af)#network 10.1.2.0 mask 255.255.255.0

R2# sh bgp vpnv4 unicast all

How come the static route and 10.1.2.0/24 are inside the vpnv4 address family?
I thought I only redistribute it into BGP?
How does BGP know that it has to place it in the VPNv4 address family?
I mean, there are so many protocols running in BGP. How does BGP know what to do with it? icon_pale.gif

Comments

Sign In or Register to comment.