Closed EasyNetDev closed 5 years ago
I am working on this issue
Hi AdrianBan,
We can remove the "ip multicast-routing" command as internally it does not do anything, by default it is already enabled on FRR.
"ip forwarding" and "ipv6 forwarding" should be enabled in the file "/etc/sysctl.conf " as given below
//Uncomment the next line to enable packet forwarding for IPv4 net.ipv4.ip_forward=1
//Uncomment the next line to enable packet forwarding for IPv6 //Enabling this option disables Stateless Address Autoconfiguration //based on Router Advertisements for this host net.ipv6.conf.all.forwarding=1
"ip pim ssm" command is a hidden command which internally enables pim sm on that particular interface. Thats why on that interface you are able to see pim sm as enabled. For this we are introducing one command "ip pim" which will enable pim sm on the interface and the commands "ip pim sm" and "ip pim ssm" will be hidden.
I have verified the command "ip pim ssm prefix-list ssm-range" on FRR, after booting up with the saved configuration, it is coming up with correct ssm range. Please find the logs as given below.
I have verified the pim ssm prefixlist configuration and booting up the system. Please find the logs as given below.
dev(config)# ip pim ssm prefix-list ssm-range
dev(config)# end
dev# exit
dev# show running-config
Building configuration...
Current configuration:
!
frr version 5.1-dev-MyOwnFRRVersion
frr defaults traditional
hostname dev
log syslog informational
ip pim ssm prefix-list ssm-range
service integrated-vtysh-config
username cumulus nopassword
!
line vty
!
end
dev# write
Note: this version of vtysh never writes vtysh.conf
2018/08/23 00:40:51 unknown: Ran out of docstring while parsing 'ip pim sm'
2018/08/23 00:40:51 unknown: Ran out of docstring while parsing 'ip pim ssm'
2018/08/23 00:40:51 unknown: Ran out of docstring while parsing 'no ip pim sm'
2018/08/23 00:40:51 unknown: Ran out of docstring while parsing 'no ip pim ssm'
Building Configuration...
Warning: /etc/frr/frr.conf.sav unlink failed
Integrated configuration saved to /etc/frr/frr.conf
[OK]
root@dev:~/frr_2# cat /etc/frr/frr.conf
frr version 5.1-dev-MyOwnFRRVersion
frr defaults traditional
hostname dev
log syslog informational
ip pim ssm prefix-list ssm-range
service integrated-vtysh-config
username cumulus nopassword
!
line vty
!
root@dev:~/frr_2# systemctl stop frr
root@dev:~/frr_2# systemctl start frr
dev(config)# do show running-config
Building configuration...
Current configuration:
!
frr version 5.1-dev-MyOwnFRRVersion
frr defaults traditional
hostname dev
log syslog informational
ip pim ssm prefix-list ssm-range
service integrated-vtysh-config
username cumulus nopassword
!
line vty
!
end
dev(config)# end
dev# exit
Hi @AdrianBan, The fix is merged https://github.com/FRRouting/frr/pull/2985. As per my previous comment, pim ssm prefixlist configuration and booting up the system is not reproducible.
Hi @patrasar,
With 5.0.1 I didn't notice this issue anymore. I had old version of FRR, so could be this the issue.
Kind regards, Adrian
Hi,
Those issues were fixed.
I will close the ticket.
Hi,
Working for a while with FRR, I've notice missing some comands in vtysh and in saved configuration or are interpreted wrongly:
ip forwarding ipv6 forwarding ip multicast-routing ip pim ssm prefix-list ssm-range
interface XXX ip pim ssm
Even if I'm typing those commands I see that they do their effect but are not saved. Example:
but the configuration file:
Booting a system with integrated file (frr.conf) it doesn't starts the ip forwarding. By default is no ip forwarding.
Also command ip pim ssm prefix-list is inserting a wrong prefix-list: