Define a routing policy to match and replace a list of autonomous systems (AS) numbers or private AS numbers with the local AS number of the BGP peering session to maintain network interoperability. This configuration works only on AS sequences and not on AS sets. In route-reflector scenarios, in addition to using external BGP (EBGP), enable internal BGP (IBGP) to leverage this capability. Include the policy action as-path-replace as-list | private statement at the [edit policy-options policy-statement statement-name then] hierarchy level to activate the feature.
| Product / Application | Software | Introduced Release |
|---|---|---|
| MX204 | Junos OS | 25.4R1 |
| MX240 | Junos OS | 25.4R1 |
| MX301 | Junos OS | 25.4R1 |
| MX304 | Junos OS | 25.4R1 |
| MX480 | Junos OS | 25.4R1 |
| MX960 | Junos OS | 25.4R1 |
| MX2008 | Junos OS | 25.4R1 |
| MX2010 | Junos OS | 25.4R1 |
| MX2020 | Junos OS | 25.4R1 |
| MX10003 | Junos OS | 25.4R1 |
| MX10004 | Junos OS | 25.4R1 |
| MX10008 | Junos OS | 25.4R1 |
| MX10016 | Junos OS | 25.4R1 |
| PTX10008 | Junos OS Evolved | 25.4R1 |