keep
Syntax
Hierarchy Level
[edit protocols bgp],[edit protocols bgpgroupgroup-name],[edit protocols bgp groupgroup-nameneighboraddress],
[edit routing-instancesrouting-instance-nameprotocols bgp],[edit routing-instancesrouting-instance-nameprotocols bgpgroupgroup-name],[edit routing-instancesrouting-instance-nameprotocols bgp groupgroup-name
neighboraddress]Description
Specify whether routes learned from a BGP peer are retained in the routing table even if they contain an AS number that was exported from the local AS.
Default
If you do not include this statement, most routes are retained in the routing table.
Options
none—Retain none of the routes. Whenkeep noneis configured for the BGP session and the inbound policy changes, the JUNOS software forces readvertisement of the full set of routes advertised by the peer.Usage Guidelines
See Configure How Often BGP Exchanges Routes with the Routing Table.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.