![Juniper JUNOS OS 10.3 - SOFTWARE Manual Download Page 2037](http://html.mh-extra.com/html/juniper/junos-os-10-3-software/junos-os-10-3-software_manual_20327932037.webp)
retain
Syntax
(retain | no-retain);
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name
routing-options rib routing-table-name
static
(defaults | route)],
[edit logical-systems logical-system-name routing-instances routing-instance-name
routing-options
static
(defaults | route)],
[edit logical-systems logical-system-name routing-options rib routing-table-name
static
(defaults | route)],
[edit logical-systems logical-system-name routing-options
static
(defaults | route)],
[edit routing-instances routing-instance-name routing-options rib routing-table-name
static
(defaults | route)],
[edit routing-instances routing-instance-name routing-options
static
(defaults | route)],
[edit routing-options rib routing-table-name
static
(defaults | route)],
[edit routing-options
static
(defaults | route)]
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Configure statically configured routes to be deleted from or retained in the forwarding
table when the routing protocol process shuts down normally:
•
retain
—Have a static route remain in the forwarding table when the routing protocol
process shuts down normally. Doing this greatly reduces the time required to restart
a system that has a large number of routes in its routing table.
•
no-retain
—Delete statically configured routes from the forwarding table when the
routing protocol process shuts down normally.
Default
no-retain
Required Privilege
Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related
Documentation
•
static on page 1968
•
Configuring Static Routes
1941
Copyright © 2010, Juniper Networks, Inc.
Chapter 73: Configuration Statements for Layer 3 Protocols
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...