The customer had the below 2 questions about event-options configuration:
In event options we have this line of configuration, what its the mean of this line.
attributes-match vrrpd_new_master.vrrp-group-id matches 251
In the vrrp we have this line
set groups CGNAT-VRRP-HFC1 interfaces <*> unit <*> family inet address <*> vrrp-group <*> track interface ams0.10 priority-cost 20
when this command could be considered true?.
The customer just have questions about when the mentioned lines are considered true, however there are no issues reported with the existing configuration
The first line:
This policy matches an attribute on an specific event and run configuration changes in case the attribute is matching the specified value. In this case the event is vrrpd_new_master, and is matching the attribute of vrrp-group-id. In other words, every time vrrp claims the mastership, it will match the group id, and if is matching the value of 251, it will run all the changes after the "then" statement
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/attributes-match-edit-event-options.html
Regarding the second command:
Is a group to be called on different parts of the configuration, and is considered true when is applied it on any portion of the configuration with the command "apply-groups"
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/apply-groups.html