GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
109
Interface Configuration
Usage Guide:
Use the ip dhcp snooping option command to enable that insert option82 content into packet. Use the no form of
this command to disable.
Example:
The example shows how to enable option82 insertion. You can verify settings by the following show ip dhcp
snooping interface command.
switch(config)# interface gi1
switch(config-if)# ip dhcp snooping option
switch(config-if)# do show ip dhcp snooping interfaces gi1
Interfaces | Trust State | Rate (pps) | hwaddr Check | Insert Option82 |
------------+--------------+-------------+-------------------+-------------------+
gi1 | Untrusted | None | disabled | enabled |
4.6.11 ip dhcp snooping option action
Command:
ip dhcp snooping option action (drop|keep|replace)
no ip dhcp snooping option action
Parameter:
drop
Drop packets with option82 that are received from un trusted port
keep
Keep original option82 content in packet
replace
Replace option82 content by switch setting
Default:
DHCP snooping option82 is drop
Mode:
Interface Configuration
Usage Guide:
Use the ip dhcp snooping option action command to set the action when receive packets that with option82
content. Use the no form of this command to default setting.
Example:
The example shows how to set action to replace option82 content. You can verify settings by the following show