INS_CWGE24MS2_REV–
10/05/16 PAGE 204
INSTALLATION AND OPERATION MANUAL
CWGE24MS2
TECH SUPPORT: 1.888.678.9427
Enable the global DHCP Snooping and VLAN 1 DHCP Snooping.
» CWGE24MS2(config)#dhcp-snooping
» CWGE24MS2(config)#dhcp-snooping vlan 1
» CWGE24MS2(config)#interface gi1/0/1
» CWGE24MS2(config-if)#dhcp-snooping trust
» DHCP Client-1: ipconfig /release
» DHCP Client-1: ipconfig /renew
=> DHCP Client-1 can get an IP address.
If you configure a static host entry in the DHCP snooping binding table, and then you want to
change the host to DHCP client, the host will not get a new IP from DHCP server, and then you
must delete the static host entry first.
CLI Configuration
Node
Command
Description
enable
show dhcp-snooping This command displays the current DHCP snooping configurations.
configure
dhcp-snooping
(disable|enable)
This command disables/enables the DHCP snooping on the switch.
configure
dhcp-snooping vlan
VLANID
This command enables the DHCP snooping function on a VLAN or
range of VLANs.
configure
no dhcp-snooping
vlan VLANID
This command disables the DHCP snooping function on a VLAN or
range of VLANs.
configure
dhcp-snooping server
IPADDR
This command configures a valid DHCP server.
interface
dhcp-snooping host This command configures the maximum host count for the specific port.
interface
no dhcp-snooping
host
This command configures the maximum host count to default for the
specific port.
interface
dhcp-snooping trust This command configures the trust port for the specific port.
interface
no dhcp-snooping
trust
This command configures the un-trust port for the specific port.
configure
interface range
gigabitethernet1/0/
PORTLISTS
This command enters the interface configure node.
if-range
dhcp-snooping host This command configures the maximum host count for the specific ports.
if-range
no dhcp-snooping
host
This command configures the maximum host count to default for the
specific ports.
if-range
dhcp-snooping trust This command configures the trust port for the specific ports.
if-range
no dhcp-snooping
trust
This command configures the un-trust port for the specific ports.