
Chapter 45 DHCP Commands
IES-612-51 User’s Guide
284
45.4 DHCP Relay Option 82 Sub-option 2 Commands
Use the following commands to configure the DHCP relay Option 82 (agent information)
feature, sub-option 2 (remote ID). This feature applies regardless of whether or not the DHCP
relay is on.
45.5 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 forwards packets from only 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.
In some cases, you might want to allow packets from an IP address not offered by the DHCP
server. This might apply, for example, to static IP addresses. In this case, you can specify the
IP address whose packets are allowed, and the IES-612-51 forwards these packets as well.
Table 103 DHCP Relay Option 82 Sub-option 2 Commands
COMMAND DESCRIPTION P
switch dhcprelay opt82sub2
enable <vid|all>
This command turns on the DHCP relay agent
information (Option 82, Sub-option 2) for the
specified VLAN or for all VLANs.
M/H
switch dhcprelay opt82sub2
disable <vid|all>
This command turns off the DHCP relay agent
information (Option 82, Sub-option 2) for the
specified VLAN or for all VLANs.
M/H
switch dhcprelay opt82sub2 set
<vid|all> <relay-info>
This command adds the specified information for
the relay agent (Option 82, Sub-option 2) for the
specified VLAN or for all VLANs.
relay-info: Up to 23 ASCII characters of
additional information for the IES-612-51 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-612-51 or the ISP. To clear this
field, type a pair of double quotation marks with no
space between them (““).
M/H
Table 104 DHCP Snoop Commands
COMMAND DESCRIPTION P
switch dhcpsnoop enable <port-
list>
This command activates the DHCP snooping
feature on the specified port(s).
M/H
switch dhcpsnoop disable
<port-list>
This command disables the DHCP snooping feature
on the specified port(s).
M/H
switch dhcpsnoop flush <port-
list>
This command clears the DHCP snooping binding
table on the specified port(s). The system also
automatically clears the binding table when you
disable DHCP snooping.
M/H
switch dhcpsnoop show <port-
list>
Use this command to display the current DHCP
snooping settings of the specified port(s).
L/L
Komentarze do niniejszej Instrukcji