Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions docs/user-guide/dhcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,22 @@ kubectl fabric vpc attach \
--connection server-01--mclag--leaf-01--leaf-02
```

!!! note "CLI Limitations"
The CLI does not currently support configuring static leases or advanced DHCP options. Use YAML configuration with `kubectl apply -f` for these features.
## CLI helpers for leases
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## CLI helpers for leases
#### CLI helpers for leases

Should this go under “CLI Usage” (and “Basic configuration”) rather than being a level-2 heading?


Use the CLI to manage leases without editing YAML. `static-lease` adds or updates a static lease, and
`cleanup-leases` clears dynamic leases for a subnet:

```bash
kubectl fabric vpc static-lease \
--vpc vpc-1 \
--subnet default \
--mac 52:54:00:12:34:56 \
--ip 10.10.1.50
```

```bash
kubectl fabric vpc cleanup-leases --vpc vpc-1 --subnet default
```

## DHCP Options

Expand Down