Symptom
Nexus 9000 configured as a BGP speaker with a 4 byte ASN and the global CLI knob "as-format asdot" enabled still displays the ASN in asplain format in the running configuration:
N9K# conf t
Enter configuration commands, one per line. End with CNTL/Z.
N9K(config)# feature bgp
N9K(config)# router bgp 4259905537
N9K(config-router)# show bgp process | i asformat
BGP asformat : asplain
N9K(config-router)# exit
N9K(config)# as-format asdot
N9K(config)# show bgp process | i asformat
BGP asformat : asdot
N9K(config)# show run bgp
feature bgp
router bgp 4259905537
Conditions
Nexus 9000 on any NX-OS version up to 10.2(2).
Workaround
If customers prefer to see config one way or another - it's need to store a new startup-config with desired asn format and performa a reload or config replace.
Further Problem Description
This is an ehancement defect to fix this cosmetic display issue. The current behavior is to store and display the asn format as entered by the user. The as-format configuration knob does not affect the running or startup config's representation of ASN. All explicit ASN configuration will be displayed in the format they were configured by the user.