75
CHAPTER 3
CLI CONFIGURATION
drop:
Drop the packet when it receives a DHCP message that already contains relay information.
keep:
Keep the client’s DHCP information.
replace:
Replace the DHCP client packet information with the switch’s relay information. This is the default
setting.
Example:
Keep the client’s DHCP information.
Negation:
(config)# no ip dhcp relay information policy
3.9.18.9 (config)# ip dhcp snooping
Syntax:
(config)# ip dhcp snooping
Explanation:
Enable DHCP snooping function globally. When DHCP snooping mode operation is enabled, the DHCP
request messages will be forwarded to trusted ports and only allow reply packets from trusted ports.
Example:
Enable DHCP snooping function.
Example:
Set the holdtime to 5.
Negation:
(config)# no ip dhcp snooping
Show:
> show ip dhcp snooping [ interface ( <port_type> [ <in_port_list> ] ) ]
# show ip dhcp snooping [ interface ( <port_type> [ <in_port_list> ] ) ]
# show ip dhcp snooping table
Clear:
# clear ip dhcp snooping statistics [ interface ( <port_type> [ <in_port_list> ] ) ]
3.9.18.10 (config)# ip dns proxy
Syntax:
(config)# ip dns proxy
Explanation:
Enable DNS (Domain Name System) proxy function.
Example:
Enable DNS (Domain Name System) proxy function.
Negation:
(config)# no ip dns proxy
# config t
(config)# ip dns proxy
# config t
(config)# ip dhcp snooping
# config t
(config)# ip dhcp relay information policy keep
Содержание IFS-1604GSM Series
Страница 385: ......