[Contents] [Prev] [Next] [Index] [Report an Error]

Example: Configuring a Router to Use Anycast RP

The following example configures a router to use anycast RP:

[edit]
interfaces {
...
lo0 {
unit 0 {
family inet {
# This must be a unique routable address and router-id
address 10.1.1.1/32 {
primary;
}
# This must be a non-unique routable anycast RP address
address 10.10.10.10/32;
address 127.0.0.1/32;
}
}
}
}
routing-options {
interface-routes {
rib-group ifrg;
}
rib-groups {
ifrg {
import-rib [ inet.0 inet.2];
}
mcrg {
export-rib inet.2;
import-rib inet.2;
}
}
autonomous-system 1234;
}
protocols {
bgp {
group red {
type internal;
family inet any;
neighbor 10.1.1.2 {
local-address 10.1.1.1;
}
}
}
msdp {
rib-group mcrg;
group red {
peer 10.1.1.2 {
local-address 10.1.1.1;
}
}
}
pim {
dense-groups {
224.0.1.39/32;
224.0.1.40/32;
}
rib-group mcrg;
rp {
local {
address 10.10.10.10;
}
}
interface all {
mode sparse-dense;
version 2;
}
interface fxp0.0 {
disable;
}
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]