Disabling the BGP AS_PATH Check Function
A device can be configured so that the AS_PATH check function for routes learned from
a specific location is disabled, and routes that contain the recipient BGP speaker's
AS number are not rejected.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router bgpcommand to enable BGP routing. - Enter the
neighbor allowas-incommand and specify a number to disable the BGP AS_PATH check function, and specify the number of times that the AS path of a received route may contain the recipient BGP speaker's AS number and still be accepted.