xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
243
D G S – 3 $ 0 0 : 4 # c o n f i g d h c p _ r e l a y h o p s 2 t i m e 2 3
C o m m a n d : c o n f i g d h c p _ r e l a y h o p s 2 t i m e 2 3
S u c c e s s .
D G S – 3 4 2 6 : 5 #
config dhcp_relay add ipif
Purpose
Used to add an IP destination address to the switch's DHCP/BOOTP relay table.
Syntax
config dhcp_relay add ipif <ipif_name 12> <ipaddr>
Description
This command is used to add an IP address as a destination to forward (relay)
DHCP/BOOTP relay packets to.
Parameters
<ipif_name 12>
– The name of the IP interface in which DHCP relay is to be enabled.
<ipaddr>
–
The DHCP server IP address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add an IP destination to the DHCP relay table:
D G S – 3 4 2 6 : 5 # c o n f i g d h c p _ r e l a y a d d i p i f S y s t e m 1 0 . 5 8 . 4 4 . 6
C o m m a n d : c o n f i g d h c p _ r e l a y a d d i p i f S y s t e m 1 0 . 5 8 . 4 4 . 6
S u c c e s s .
D G S – 3 4 2 6 : 5 #
config dhcp_relay delete ipif
Purpose
Used to delete an IP destination addresses from the Switch's DHCP/BOOTP relay table.
Syntax
config dhcp_relay delete ipif <ipif_name 12> <ipaddr>
Description
This command is used to delete an IP destination addresses in the Switch’s
DHCP/BOOTP relay table.
Parameters
<ipif_name 12>
– The name of the IP interface that contains the IP address below.
<ipaddr>
– The DHCP server IP address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an IP destination from the DHCP relay table:
D G S – 3 4 2 6 : 5 # c o n f i g d h c p _ r e l a y d e l e t e i p i f S y s t e m 1 0 . 5 8 . 4 4 . 6
C o m m a n d : c o n f i g d h c p _ r e l a y d e l e t e i p i f S y s t e m 1 0 . 5 8 . 4 4 . 6
S u c c e s s .
D G S – 3 4 2 6 : 5 #