home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

interfaces <interface> vrrp vrrp-group <group-id> run-transition-scripts

Specifies a script to run when the VRRP on an interface changes state.

set interfaces interface vrrp vrrp-group group-id run-transition-scripts [ backup | fault | master ] script
delete interfaces interface vrrp vrrp-group group-id run-transition-scripts [ backup | fault | master ]
show interfaces interface vrrp vrrp-group group-id run-transition-scripts [ backup | fault | master ]
interface
The interface type and identifier. For detailed keywords and arguments that can be specified as interfaces, refer to Supported Dataplane Interfaces.
group-id
The VRRP group to which the interface belongs. The identifier ranges from 1 through 255.
backup script
Specifies the name of the executable script to run during VRRP state transition to the backup state.
fault script
Specifies the name of the executable script to run during VRRP state transition to the fault state.
master script
Specifies the name of the executable script to run during VRRP state transition to the master state.

Configuration mode


interfaces interface {
    vrrp {
        vrrp-group group-id {
            run-transition-scripts {
                backup script
                fault script
                master script
            }
        }
    }
}

Use this command to specify a script to run when the VRRP group on an interface changes state. The state is backup, fault, or master. A script file is assumed to be in the /config/scripts directory unless an absolute path is specified.

Use the set form of the command to specify a script to run when the VRRP group on an interface changes state.

Use the delete form of the command to stop the script from being run when an interface changes states.

Use the show form of the command to view the configuration.