51
Show command
Switch(config)# show ip address
Show the current IP configurations or verify
the configured IP settings.
Switch(config)# show ip dhcp
snooping
Show each interface
‟s DHCP Snooping
settings.
Switch(config)# show ip dhcp
snooping interface
Show each port
‟s DHCP Snooping Option
82 and trust port settings.
Switch(config)# show ip dhcp
snooping interface [port_list]
[port_list]
Show the specific ports
‟ DHCP Snooping
Option 82 and trust port settings.
Switch(config)# show ip dhcp
snooping status
Show DHCP Snooping status.
IP DHCP Snooping example
Switch(config)# ip dhcp snooping
Enable DHCP snooping function.
Switch(config)# ip dhcp snooping dhcp-server
[port_list]
Configure DHCP server trust ports.
Switch(config)# ip dhcp snooping initiated 10
Specify the time value that packets might
be received to 10 seconds.
Switch(config)# ip dhcp snooping leased 240
Specify packets‟ expired time to 240
seconds.
Switch(config)# ip dhcp snooping option
Enable DHCP Option 82 Relay Agent.
3. Use
“Interface” command to configure a group of ports’ DHCP Snooping settings.
DHCP & Interface Command
Parameter Description
Switch(config)# interface
[port_list]
[port_list]
Enter several discontinuous port numbers
separated by commas or a range of ports
with a hyphen. For example:1,3 or 2-4
Switch(config-if-PORT-PORT)#
ip dhcp snooping option
Enable the selected interfaces
‟ DHCP
Option 82 Relay Agent.
Switch(config-if-PORT-PORT)#
ip dhcp snooping trust
Configure the selected interfaces to DHCP
Option 82 trust ports.
No command
Switch(config)# interface
[port_list]
[port_list]
Enter several discontinuous port numbers
separated by commas or a range of ports
with a hyphen. For example:1,3 or 2-4
Switch(config-if-PORT-PORT)#
no ip dhcp snooping option
Set the selected interfaces to non-DHCP
Option 82 Relay Agent.
Switch(config-if-PORT-PORT)#
no ip dhcp snooping trust
Set the selected interfaces
‟ to non-DHCP
Option 82 trust ports.
Show command
Switch(config)# show ip dhcp snooping
Show each port
‟s DHCP Snooping Option
82 and trust port settings.
Switch(config)# show ip dhcp snooping
interface [port_list]
Show the specified ports
‟ DHCP Snooping
trust port settings.
Summary of Contents for FOS-3124 SERIES
Page 202: ...202 Restart DHCP service ...