table of contents
| nbox-ip(1) | General Commands Manual | nbox-ip(1) |
NAME¶
nbox-ip - Look up an IP address, or reserve the next one in a prefix
SYNOPSIS¶
nbox ip [--vrf] [--journal] [--journal-limit] [-h|--help] [ADDRESS] [subcommands]
DESCRIPTION¶
Look up an IP address, or reserve the next one in a prefix
OPTIONS¶
- --vrf <VRF>
- Disambiguate by VRF (name, slug, or RD) when the address exists in several
- --journal
- Also fetch the object's recent journal entries
- --journal-limit <N>
- Max inline journal entries to fold in (implies --journal; default 5)
- -h, --help
- Print help
- [ADDRESS]
- IP address, optionally with a mask. Omit when using a subcommand (e.g. `nbox ip reserve <prefix>`)
SUBCOMMANDS¶
- nbox-ip-reserve(1)
- Reserve (allocate) the next available IP address in a prefix. A write: requires the `--allow-writes` gate AND confirmation (`--confirm`, or an interactive prompt on a TTY in plain output). `--dry-run` previews with no mutation and needs neither. NetBox allocates the address server-side and race-safe, so the applied address may differ from any previewed candidate
| ip |