Redistributing Eigrp into BGP

Just trying to get familiar with the command to redistribution of eigrp into bgp! So bgp is learning route by eigrp!! So can someone help

Hi Virgil,

This could be as simple as:

R2(config)#router bgp 1
R2(config-router)#redistribute eigrp 1

Where 1 is the AS number for BGP and EIGRP.