Juniper JUNOS OS 10.4 - PROTECTED SYSTEM DOMAIN Configuration Manual page 195

Protected system domain configuration
Table of Contents

Advertisement

Results
Copyright © 2010, Juniper Networks, Inc.
from protocol static;
then {
next-hop self;
accept;
}
These statements specify that for all remaining static routes, the next-hop address
is replaced by the local IP address used for the BGP adjacency. The router is then
accepted with the new, next-hop value.
At the
[edit policy-options nh-self]
14.
define the next term for the
At the
15.
[edit policy-options nh-self term c]
statement to reject all other routes.
Display the results of the configuration:
routing-options {
autonomous-system 2;
}
protocols {
bgp {
group int {
type internal;
local-address 10.12.1.2;
export nh-self;
neighbor 10.12.1.1;
}
}
ospf {
area 0.0.0.0 {
interface ge-1/1/1.0;
interface ge-1/1/0.0;
}
}
}
policy-options {
policy-statement nh-self {
term a {
from {
protocol static;
route-filter 0.0.0.0/0 exact;
}
then reject;
}
term b {
from protocol static;
then {
next-hop self;
accept;
}
}
term c {
then reject;
}
Chapter 14: Configuration Examples
hierarchy level, include the
nh-self
policy.
hierarchy level, include the
statement to
term c
then reject
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents