> For the complete documentation index, see [llms.txt](https://phiph.gitbook.io/foundation-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phiph.gitbook.io/foundation-1/network/bash.md). Agents can also search and read this documentation through its [MCP server](https://phiph.gitbook.io/foundation-1/~gitbook/mcp).

# Bash

### dg\_custom.sh

This script adds/deletes/lists IPs in datagroup using API. It sends commands to a main node and then syncs cluster. Plus it checks that all commands were successfull. Be careful: you have to specify mask, when you delete IPs. Script is focused on that there are 5 regions, where F5 BIG-IP is installed, you have to choose the region to configure.

### dg\_all.sh

This script adds/deletes IPs in datagroup using API to many BIG-IP simulteniously. It sends commands to a main node and then syncs cluster. Plus it checks that all commands were successfull. Be careful: you have to specify mask, when you delete IPs. You can add any amount of BIG-IPs.
