#
# Sample for pimnbr
#
hello send fe0 
hello send fe0 hello-option 1 2 200
hello send fe0 src 192.168.10.1 dst 224.0.0.2
hello recv fe0 timeout 20
#
register send fe0 dst 192.168.100.1 encapip 192.168.1.1 224.2.1.2
register send fe0 dst 192.168.100.1 encapip 192.168.1.1 224.2.1.2 N
register send fe0 dst 192.168.100.1 encapip 192.168.1.1 224.2.1.2 B
register send fe0 dst 192.168.100.1 encapip 192.168.1.1 224.2.1.2 NB
register send fe0 dst 192.168.100.1
register send fe0 src 192.168.10.1 dst 192.168.100.1 encapip 192.168.1.1 224.2.1.2
register recv fe0 timeout 20
register-stop send fe0 dst 192.168.100.1 entry 192.168.1.1 224.1.1.1/32
register-stop send fe0 src 192.168.10.1 dst 192.168.100.1 entry 192.168.1.1 224.1.1.1/32
register-stop recv fe0 timeout 20
#
jp-list 1 upnbr 192.168.2.2 holdtime 150
jp-list 1 group 224.2.2.2/32 join 158.220.12.5/32 RP WC S
jp-list 1 group 224.2.2.2/32 join 158.220.12.5/32
join-prune send fe0 jp-list 1
join-prune send fe0 src 192.168.10.1 dst 224.0.0.9 jp-list 1
join-prune recv feo timeout 20
graft send fe0 jp-list 1
graft send fe0 src 192.168.10.1 dst 224.0.0.9 jp-list 1
graft recv fe0 timetou 20
gack send fe0 jp-list 1
gack send fe0 src 192.168.10.1 dst 192.168.100.1 jp-list 1
gack recv fe0 timeout 20
#
assert send fe0 pref 100 metric 100 entry 192.168.10.1 224.1.1.1/32 RP
assert send fe0 dst 192.168.100.1 pref 100 metric 100 entry 192.168.10.1 224.1.1.1/32 RP
assert recv fe0 timeout 20
#
rpset-list 1 group 224.0.0.0/8 rp 192.168.45.10 60 1
rpset-list 1 group 224.1.1.1/32 rp 192.168.45.10 60 1
bsr-list 1 addr 192.168.1.1 priority 10
bsr-list 1 rpset 1
bootstrap send fe0 bsr-list 1
bootstrap send fe0 src 192.168.10.1 dst 192.168.100.1 bsr-list 1
bootstrap recv fe0 timeout 20
#
crp-list 1 addr 192.168.100.4 holdtime 100 priority 3
crp-list 1 group 224.2.2.2/32
crp-list 1 group 224.3.3.3/32
crpadv send fe0 dst 224.0.0.13 crp-list 1
crpadv send fe0 src 192.168.10.1 dst 224.0.0.13 crp-list 1
crpadv recv fe0 timeout 20
#
#
quit

