Step 3 - Configure Outbound Route Maps
Configure outbound route maps to advertise the LAN and prepend the AS path on the secondary path. Set the matched protocol according to how the LAN prefix exists on the gateway.
Step 3 - Configure Outbound Route Maps
Advertise the LAN and prepend the AS path on the secondary path. Set the matched protocol according to how the LAN prefix exists on the gateway. Use static for a static route or direct for a connected interface.
Run:
set routemap bgpout id 500 on
set routemap bgpout id 500 allow
set routemap bgpout id 500 match as <SASE_AS> on
set routemap bgpout id 500 match network <LAN_PREFIX> all
set routemap bgpout id 500 match protocol <direct|static>
set routemap bgpout_sec id 500 on
set routemap bgpout_sec id 500 allow
set routemap bgpout_sec id 500 match as <SASE_AS> on
set routemap bgpout_sec id 500 match network <LAN_PREFIX> all
set routemap bgpout_sec id 500 match protocol <direct|static>
set routemap bgpout_sec id 500 action aspath-prepend-count <N>