4 dhcp snoop commands, 1 dhcp snoop enable command, 2 dhcp snoop disable command – ZyXEL Communications IES-708-22A User Manual

Page 281

Advertising
background image

Chapter 45 DHCP Commands

IES-708-22A User’s Guide

281

where

This command adds the specified information for the relay agent.

45.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.

45.4.1 DHCP Snoop Enable Command

Syntax:

ras> switch dhcpsnoop enable <portlist>

where

This command activates the DHCP snooping feature on the specified port(s). The following
example enables DHCP snooping on port 1.

45.4.2 DHCP Snoop Disable Command

Syntax:

ras> switch dhcpsnoop disable <portlist>

where

This command disables the DHCP snooping feature on the specified port(s).

<relay info>

=

Up to 23 English keyboard characters of additional information
for the IES-708-22A to add to the DHCP requests that it relays
to a DHCP server.
Examples of information you could add would be the name of
the IES-708-22A or the ISP.

<portlist>

=

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~8,enet1>.

ras> switch dhcpsnoop enable 1

<portlist>

=

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~8,enet1>.

Advertising