Skip to content

Commit 0012cbd

Browse files
tsvanduynjleveque
authored andcommitted
[Command Reference] Add config commands for DHCP relay destination address (sonic-net#610)
1 parent abd1dbc commit 0012cbd

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

doc/Command-Reference.md

+31
Original file line numberDiff line numberDiff line change
@@ -4108,6 +4108,37 @@ This command is used to delete the syslog server configured.
41084108
Restarting rsyslog-config service...
41094109
admin@str-s6000-acs-11:~$
41104110
```
4111+
4112+
# DHCP Relay Destination IP address Configuration Commands
4113+
4114+
This sub-section of commands is used to add or remove the DHCP Relay Destination IP address(es) for a VLAN interface.
4115+
4116+
**config vlan dhcp_relay add**
4117+
4118+
This command is used to add a DHCP Relay Destination IP address to the a VLAN. Note that more that one DHCP Relay Destination IP address can be added on a VLAN interface.
4119+
4120+
- Usage: config vlan dhcp_relay add <vlan-id> <dhcp_relay_destination_ip>
4121+
- Example:
4122+
```
4123+
admin@str-s6000-acs-11:~$ sudo config vlan dhcp_relay add 1000 7.7.7.7
4124+
Added DHCP relay destination address 7.7.7.7 to Vlan1000
4125+
Restarting DHCP relay service...
4126+
Running command: systemctl restart dhcp_relay
4127+
admin@str-s6000-acs-11:~$
4128+
```
4129+
4130+
**config vlan dhcp_relay delete**
4131+
4132+
This command is used to delete a configured DHCP Relay Destination IP address from a VLAN interface.
4133+
4134+
- Usage: config vlan dhcp_relay del <vlan-id> <dhcp_relay_destination_ip>
4135+
- Example:
4136+
```
4137+
admin@str-s6000-acs-11:~$ sudo config vlan dhcp_relay del 1000 7.7.7.7
4138+
Removed DHCP relay destination address 7.7.7.7 from Vlan1000
4139+
Restarting DHCP relay service...
4140+
Running command: systemctl restart dhcp_relay
4141+
admin@str-s6000-acs-11:~$
41114142
41124143
41134144
Go Back To [Beginning of the document](#SONiC-COMMAND-LINE-INTERFACE-GUIDE) or [Beginning of this section](#Quagga-BGP-Show-Commands)

0 commit comments

Comments
 (0)