You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[doc] Update docs for dhcp_relay config cli (#2598)
What I did
Updated docs about dhcp_relay config cli
How I did it
Updated docs about dhcp_relay config cli
Signed-off-by: Yaqiang Zhu <[email protected]>
Copy file name to clipboardExpand all lines: doc/Command-Reference.md
+68
Original file line number
Diff line number
Diff line change
@@ -2349,6 +2349,74 @@ This command is used to delete a configured DHCP Relay Destination IP address or
2349
2349
Restarting DHCP relay service...
2350
2350
```
2351
2351
2352
+
**config dhcp_relay ipv4 helper add/del**
2353
+
2354
+
This command is used to add or delete IPv4 DHCP Relay helper addresses to a VLAN. Note that more than one DHCP Relay helper addresses can be operated on a VLAN interface.
Added DHCP relay address [7.7.7.7, 1.1.1.1] to Vlan1000
2371
+
Restarting DHCP relay service...
2372
+
```
2373
+
2374
+
```
2375
+
admin@sonic:~$ sudo config dhcp_relay ipv4 helper del 1000 7.7.7.7
2376
+
Removed DHCP relay address [7.7.7.7] from Vlan1000
2377
+
Restarting DHCP relay service...
2378
+
```
2379
+
2380
+
```
2381
+
admin@sonic:~$ sudo config dhcp_relay ipv4 helper del 1000 7.7.7.7 1.1.1.1
2382
+
Removed DHCP relay address [7.7.7.7, 1.1.1.1] from Vlan1000
2383
+
Restarting DHCP relay service...
2384
+
```
2385
+
2386
+
**config dhcp_relay ipv6 destination add/del**
2387
+
2388
+
This command is used to add or del IPv6 DHCP Relay destination addresses to a VLAN. Note that more than one DHCP Relay Destination addresses can be operated on a VLAN interface.
0 commit comments