The information you are about to copy is INTERNAL!
DO NOT share it with anyone outside Check Point.
When using 'aspath-prepend-count' in routemap for BGP, the prepend count is not exported to the BGP peer
|
Technical Level
|
Solution ID |
sk101789 |
Technical Level |
|
Product |
Quantum Security Gateways |
Version |
R75.40 (EOL), R75.40VS (EOL), R75.45 (EOL), R75.46 (EOL), R75.47 (EOL), R76 (EOL), R77 (EOL), R77.10 (EOL) |
OS |
Gaia |
Platform / Model |
All |
Date Created |
25-Jul-2014
|
Last Modified |
25-Jul-2014
|
Symptoms
When configuring a routemap to publish routes to a BGP neighbor with 'aspath-prepend-count
' greater than 1, the prepend count is ignored and the AS will only appear once in the published path.
The prepend count is applied only if either 'action metic
', or 'action localpref
', or 'action tag
', or 'action add_community
' is also set in the routemap.
Example of the issue:
Configure the following routemap:
HostName> set routemap network-to-bgp id 10 on
HostName> set routemap network-to-bgp id 10 allow
HostName> set routemap network-to-bgp id 10 match network 10.10.10.0/24 all
HostName> set routemap network-to-bgp id 10 match protocol direct
HostName> set routemap network-to-bgp id 10 action aspath-prepend-count 6
Export the routemap:
HostName> set bgp external remote-as 20000 export-routemap "network-to-bgp" preference 1 on
The prepend count is applied only if you also run the following command:
HostName> set routemap network-to-bgp id 10 action metric value 100
Cause
Incomplete parsing of the routemap settings.
Solution
|
Note: To view this solution you need to
Sign In
.
|