Start and stop a router and apply rules
Apply the rules so that the saved firewall and NAT rules take effect without restarting the router. Stop the router when you need to add or remove one of its networks.
Before you begin
- You need the Cluster master role, or you must be the VDC admin who created the router.
- To apply rules, the router must have the Started status.
- The web interface shows the start, stop and restart buttons only if router state management is allowed in the cluster settings. Installing Center allows it; if the buttons are missing, contact vStack support.
1. Apply the rules
- In the left menu, select Virtual Data Centers → the VDC → Edges, and click the router row in the Edges table. The router page opens.
- Click Apply rules at the bottom of the page. The same action is in the Actions menu of the router page.
Center sends all saved firewall and NAT rules to the router. The button is unavailable while the router does not have the Started status or is still booting.
2. Stop or start the router
While the router is stopped, no traffic flows between its networks. The web interface does not ask you to confirm the stop.
- Click the stop button on the toolbar at the top of the router page — its tooltip is Stop edge. When the router stops, the Status field shows Offline.
- Make the required changes, for example connect a network in the Networks section — Create a router and connect networks to it.
- Click the start button on the same toolbar — its tooltip is Start edge.
While booting, the router automatically gets all saved rules from Center. You do not need to apply them separately after the start.
The button with the Restart edge tooltip stops and starts the router in one action. The same actions are in the ⋯ menu of the router row in the Edges table.
Repeating a command for a router that is already in the target state succeeds: Start edge for a running router or Stop edge for a stopped one does not mark the operation as failed.
While another operation is running on the router service VM, Center rejects starting, stopping and deleting the router and changing its ports with the error "VM is locked". Wait for the operation to finish and try again.
Check the result
- After the start, the Status field on the router page shows Started.
- After the rules are applied, the web interface shows a success notification. If router state management is allowed, the Rules applied field in the General properties section shows when the rules were last applied.
If Center responds that the router is not running or is still booting, wait for the Started status and apply the rules again.
Next
- Configure firewall rules
- Configure NAT rules
- Routers — when rules take effect.
API methods: edge-deploy-rules, edge-start, edge-stop, edge-restart — in the API reference.