
IES-612-51 User’s Guide
281
CHAPTER 45
DHCP Commands
This chapter describes how to use the DHCP Relay and DHCP Snoop commands. Use these
commands to configure the DHCP relay feature. See Chapter 25 on page 187 for background
information on DHCP relay.
45.1 General DHCP Command Parameters
The following table describes commonly used DHCP command parameter notation.
45.2 DHCP Relay Commands
Table 100 General DHCP Command Parameters
NOTATION DESCRIPTION
vid|all The ID of the VLAN to which to apply the setting. Type all to apply the setting
to all VLANs.
port-list You can specify a single port (1), all ports (*) or a list of ports (1,3). You can
also include a range of ports (1,5,6~10).
Table 101 DHCP Relay Commands
COMMAND DESCRIPTION P
switch dhcprelay show This command displays the DHCP relay settings for
each VLAN. These settings include whether or not
this feature is activated for each VLAN, the relay
mode, the current list of DHCP servers, the status of
the DHCP relay agent info option 82 feature and the
information configured for it.
L/L
switch dhcprelay enable
<vid|all>
This command turns on the DHCP relay for the
specified VLAN or for all VLANs.
M/H
switch dhcprelay disable
<vid|all>
This command turns off the DHCP relay for the
specified VLAN or for all VLANs.
M/H
Comentarios a estos manuales