[ no ] bgp enforce-first-as
Command introduced before JUNOSe Release 7.1.0.
Forces BGP to compare the configured remote AS number of an external peer with the first AS in the AS path of routes received from the peer. If the AS numbers do not match, BGP sends the peer an error message. The no version restores the default condition, which does not perform the AS comparison.