mirror of
https://github.com/espressif/openthread.git
synced 2026-08-01 16:47:47 +00:00
[cli] adding set ipv4 CIDR for NAT64 in README (#9511)
This commit is contained in:
@@ -2341,6 +2341,21 @@ Gets the IPv4 configured CIDR in the NAT64 translator.
|
||||
Done
|
||||
```
|
||||
|
||||
### nat64 cidr \<IPv4 address\>
|
||||
|
||||
Sets the IPv4 CIDR in the NAT64 translator.
|
||||
|
||||
Note:
|
||||
|
||||
- `OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE` is required.
|
||||
- A valid CIDR must have a non-zero prefix length.
|
||||
- When updating the CIDR, NAT64 translator will be reset and all existing sessions will be expired.
|
||||
|
||||
```bash
|
||||
> nat64 cidr 192.168.100.0/24
|
||||
Done
|
||||
```
|
||||
|
||||
### nat64 disable
|
||||
|
||||
Disable NAT64 functions, including the translator and the prefix publishing.
|
||||
|
||||
Reference in New Issue
Block a user