77
CHAPTER 3
INTRODUCTION TO CLI
Explanation:
Specify the remoted ID format inserted in DHCP Relay information option.
Negation:
(config)# no ip dhcp relay information remote-id format
Show:
# show ip dhcp relay
3.9.21.14 (config)# ip dhcp server
Syntax:
(config)# ip dhcp server
Explanation:
Enable DHCP server function globally.
Example:
Enable DHCP server function.
Negation:
(config)# no ip dhcp server
Show:
> show ip dhcp server
# show ip dhcp server
3.9.21.15 (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.21.16 (config)# ip dhcp snooping table get
Syntax:
(config)# ip dhcp snooping table get <url>
<url>: Specify the location of tftp server.
Explanation:
Get the DHCP Snooping table via the specified TFTP URL.
# config t
(config)# ip dhcp server
# config t
(config)# ip dhcp snooping
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......