Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

API to Force Bond Link Switchover

SUMMARY Read this topic to learn about the L2 feature in the Juniper Cloud-Native Router that is used to force traffic to switch from the active interface to the standby interface in a bonded pair using REST API.

API to Force Bond Link Switchover

When you run cloud-native router in L2 mode with cascaded nodes you can configure those nodes to use bond interfaces. If you configure the bond interfaces in the ACTIVE_BACKUP mode, the vRouter-agent exposes the REST API call: curl -X POST http://127.0.0.1:9091/bond-switch/bond0 on localhost port 9091. You can use this REST API call to force traffic to switch from the active interface to the standby interface.

Configuration Example

You can configure the bond mode in the values.yaml file before deployment. For example:The vRouter contains two CLI commands that allow you to see the active interface in a bonded pair and to see the traffic statistics associated with your bond interfaces. These commands are: dpdkinfo -b and dpdkinfo -n respectively.