Routing Lab

05 · Operations

Switch the traffic path

Three commands cover everything an operator does day to day.

Divert

Send traffic through the protected path (VyOS / Imperva).

shell
./.lab-control.sh divert

Revert

Return to the direct AWS path (BYOIP from AWS).

shell
./.lab-control.sh revert

Status

Show the current state across all layers.

shell
./.lab-control.sh status

Rule of thumb

Always finish a change with status. If layers disagree, re-run divert or revert rather than editing state by hand.