BGP allow-as-in

Could any clarify whether the default value of the “allow-as-in” field prevents the peer from giving a route with your own as in the path (does it do the same thing as if it were set to 0)?

How many times to allow own AS number in AS-PATH, before discarding a prefix.

If it is set to 0 then prefix with its own AS will be discarded.

I understand that. My question is more whether the default value is the same as 0. The default value is technically a blank field so I don’t know what value it represents.

Yes, default is the same as 0.

Cool. Thanks.