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

Sample Configuration of an IPTV Network

This section provides a comprehensive sample configuration for the video services routers (VSR1 and VSR2) in the network topology shown in Figure 1 and described in the following example sections.

Configuration for Router VSR1

[edit]
interfaces {
ge-1/0/0 {
unit 0 {
family inet {
unnumbered-address lo0.0;
}
}
}
ge-1/0/1 {
unit 0 {
family inet {
address 10.1.1.1/24;
}
}
vlan-tagging;
unit 1 {
family inet {
address 10.1.1.1/24 {
vrrp-group 1 {
virtual-address 10.1.1.99;
priority 200;
fast-interval 250;
}
}
}
}
}
}
protocols {
igmp {
interface ge-1/0/0.0;
promiscuous-mode;
immediate-leave;
}
}
ospf {
area 0 {
interface ge-1/0/1;
}
}
pim {
rp {
local {
address 1.1.1.1;
}
}
interface ge-1/0/0.0 {
mode sparse;
bfd-liveness-detection {
minimum-interval 100;
}
}
rp {
local {
address 1.1.1.1;
}
}
interface ge-1/0/1.0 {
mode sparse;
bfd-liveness-detection {
minimum-interval 100;
}
}
}
forwarding-options {
dhcp-relay {
server-group {
DS1 {
100.1.1.1;
}
}
active-server-group DS1;
group one {
interface ge-1/0/0.0;
}
}
}
routing-options {
static {
route 1.1.1.1/32 {
qualified-next-hop ge-1/0/0.0;
}
}
}

Configuration for Router VSR2

[edit]
interfaces {
ge-1/0/0 {
unit 0 {
family inet {
unnumbered-address lo0.0;
}
}
}
ge-1/0/1 {
unit 0 {
family inet {
address 10.1.1.2/24;
}
}
}
ge-1/0/1 {
vlan-tagging;
unit 1 {
family inet {
address 10.1.1.2/24 {
vrrp-group 1 {
virtual-address 10.1.1.99;
priority 100;
fast-interval 250;
}
}
}
}
}
}
protocols {
igmp {
interface ge-1/0/0.0;
promiscuous-mode;
immediate-leave;
}
ospf {
area 0 {
interface ge-1/0/1;
}
}
pim {
rp {
local {
address 1.1.1.1;
}
}
interface ge-1/0/0.0 {
mode sparse;
bfd-liveness-detection {
minimum-interval 100;
}
}
rp {
local {
address 1.1.1.1;
}
}
interface ge-1/0/1.0 {
mode sparse;
bfd-liveness-detection {
minimum-interval 100;
}
}
}
}
forwarding-options {
dhcp-relay {
server-group {
DS1 {
100.1.1.1;
}
}
active-server-group DS1;
group one {
interface ge-1/0/0.0;
}
}
}
routing-options {
static {
route 1.1.1.2/32 {
qualified-next-hop ge-1/0/0.0;
}
}
}

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