47.4 DHCP Snoop Commands
Use these commands to configure or show DHCP snooping settings on the subscriber ports.
The system gets the client MAC-IP address information (in the reply from a DHCP server) and
stores it in the DHCP snooping table. The system only forwards packets from the clients
whose MAC-IP address is in the DHCP snooping table. Packets from unknown IP address(es)
are not forwarded (dropped). This feature prevents clients from assigning their own static IP
addresses.
47.4.1 DHCP Snoop Enable Command
Syntax:
ras> switch dhcpsnoop enable <portlist>
where
<portlist>
This command activates the DHCP snooping feature on the specified port(s). The following
example enables DHCP snooping on port 1.
Figure 157 DHCP Snoop Enable Command Example
ras> switch dhcpsnoop enable 1
47.4.2 DHCP Snoop Disable Command
Syntax:
ras> switch dhcpsnoop disable <portlist>
where
<portlist>
This command disables the DHCP snooping feature on the specified port(s).
47.4.3 DHCP Snoop Flush Command
Syntax:
ras> switch dhcpsnoop flush <portlist>
where
<portlist>
IES-1248-71/73 User's Guide
You can specify a single port <1>, all ports <*> or a list of ports
=
<1,3,enet1>. You can also include a range of ports
<1,5,6~10,enet1,enet2>.
You can specify a single port <1>, all ports <*> or a list of ports
=
<1,3,enet1>. You can also include a range of ports
<1,5,6~10,enet1,enet2>.
You can specify a single port <1>, all ports <*> or a list of ports
=
<1,3,enet1>. You can also include a range of ports
<1,5,6~10,enet1,enet2>.
Chapter 47 DHCP Commands
317