You can configure 4-byte autonomous system number (ASN) capability for a neighbor or peer-group.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# neighbor 10.1.2.3 capability as4 enable
device# configure terminal device(config)# router bgp device(config-bgp-router)# local-as 1000 device(config-bgp-router)# neighbor 10.1.2.3 capability as4 enable