xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
252
config dhcp_relay option_61 delete
Purpose
This command is used to delete an option 61 rule.
Syntax
config dhcp_relay option_61 delete [mac_address <macaddr> | string <desc
255>|all]
Description
This command is used to delete an option 61 rule.
Parameters
mac_address
– The entry with the specified MAC address will be deleted.
string
– The entry with the specified string will be deleted.
all
– All rules excluding the default rule will be deleted.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the DHCP relay option 61 rules:
D G S – 3 4 2 6 : 5 # c o n f i g d h c p _ r e l a y o p t i o n _ 6 1 d e l e t e m a c _ a d d r e s s 0 0 - 1 1 - 2 2 - 3 3 - 4 4 - 5 5
C o m m a n d : c o n f i g d h c p _ r e l a y o p t i o n _ 6 1 d e l e t e m a c _ a d d r e s s 0 0 - 1 1 - 2 2 - 3 3 - 4 4 - 5 5
S u c c e s s
D G S – 3 4 2 6 : 5 #
show dhcp_relay option_61
Purpose
This command displays DHCP relay option 61.
Syntax
show dhcp_relay option_61
Description
This command is used to display DHCP relay option 61.
Parameters None.
Restrictions None.
Example usage:
To display the DHCP relay option 61:
D G S – 3 4 2 6 : 5 # s h o w d h c p _ r e l a y o p t i o n _ 6 1
C o m m a n d : s h o w d h c p _ r e l a y o p t i o n _ 6 1
D e f a u l t R e l a y R u l e : D r o p
M a t c h i n g R u l e s :
C l i e n t - I D T y p e R e l a y R u l e
- - - - - - - - - - - - - - - - - - - - - - - -
0 0 - 0 1 - 2 2 - 3 3 - 4 4 - 5 5 M A C A d d r e s s D r o p
T o t a l E n t r i e s : 1
D G S – 3 4 2 6 : 5 #