Junos sample multicast configuration

root> show configuration interfaces lo0

unit 0 {

family inet {

address 2.2.2.2/32; ## Shared IP address to be used in anycast RP.

address 192.168.1.1/32 {

primary; ## Above IP is selected as router-id

}

}

}

root> show configuration routing-options

interface-routes {

rib-group inet to-inet2; ## To add local/direct routes to both inet.0 and inet.2 table

}

static {

rib-group to-inet2; ## To add static route to both inet.0 and inet.2 table

route 4.4.4.4/32 next-hop 10.1.2.2;

}

rib-groups {

to-inet2 {

import-rib [ inet.0 inet.2 ];

}

use-inet2 {

import-rib inet.2; ## To use only inet.2 table

}

}

root> show configuration protocols pim

dense-groups { ## Use dense-mode for this MC group

225.1.1.1/32;

}

rib-group inet use-inet2; ## To make inet.2 table for RPF check

rp {

bootstrap-priority 100; ## BSR priority set to 100

local { ## Local router is RP for mentioned group-range

address 2.2.2.2;

group-ranges {

226.1.1.1/32;

}

}

}

interface all { ## All interface to sparse-dense mode

mode sparse-dense;

}

interface em5.0 {

disable; ## PIM disabled on above interface

}

root> show configuration protocols msdp

rib-group inet use-inet2;

group mesh { ## Mesh group

mode mesh-group;

local-address 2.2.2.2;

peer 3.3.3.3;

peer 1.1.1.1;

}

group others {

local-address 2.2.2.2;

peer 4.4.4.4;

}

Advertisements
This entry was posted in jncis, Junos, multicast and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s