Not sure if the firewall or the VRF are really important (just as to
whether you are needing to use address-family or not).

Also, not exactly sure what you mean by "fake" an AS.  However, if what you
mean is that you have a situation where RouterB is expecting to peer with
AS 5, but you are running AS 1:

RouterB#sho run | sec bgp
router bgp 2
 no synchronization
 bgp log-neighbor-changes
 neighbor 10.0.0.1 remote-as 5
 no auto-summary

You can masquerade as AS 5 while remaining configured as AS 1 using the
"local-as" command:

RouterA#sho run | sec bgp
router bgp 1
 no synchronization
 bgp log-neighbor-changes
 neighbor 10.0.0.2 remote-as 2
 neighbor 10.0.0.2 local-as 5
 no auto-summary

If, however, you mean that you have two VRFs on the same router, hairpinned
through a firewall, then I think you are sunk, as this uses
address-families under the bgp process, and unless I am mistaken, it is one
process with one AS per router.

M.



On Fri, Nov 25, 2011 at 8:09 AM, Amir Khalili <[email protected]> wrote:

> Hello
>
> How can we fake AS #  for a bgp neighbor to make ebgp peer?  This is using
> in vrf bgp router id in a vrf.
>
> BGP vrf A  -> FW ->  BGP vrf B  ( ebg peer )
>
> Cheers
> Amir
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
>
> Are you a CCNP or CCIE and looking for a job? Check out
> www.PlatinumPlacement.com
>
> To Unsubscribe from this list please visit the following link and follow
> the directions to unsubscribe.
> http://onlinestudylist.com/mailman/listinfo/ccie_rs
>



-- 
Matthew Mengel
[email protected]
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

To Unsubscribe from this list please visit the following link and follow the 
directions to unsubscribe. http://onlinestudylist.com/mailman/listinfo/ccie_rs

Reply via email to