Zyxel OLT2412 [217/326] Dhcp command examples

Zyxel OLT2412 [217/326] Dhcp command examples
Chapter 29 DHCP
OLT2412 User’s Guide
217
29.4 DHCP Command Examples
In this example, the OLT relays DHCP requests for the VLAN1 and VLAN2 domains. There is only
one DHCP server for DHCP clients in both domains.
Table 117 Global DHCP Relay Commands
COMMAND DESCRIPTION
show dhcp smart-relay
Displays global DHCP relay settings.
dhcp smart-relay
Enables DHCP relay for all broadcast domains on the OLT.
Note: You have to disable dhcp relay before you can enable
dhcp smart-relay.
no dhcp smart-relay
Disables global DHCP relay settings.
dhcp smart-relay helper-address
<remote-dhcp-server1> [<remote-
dhcp-server2>] [<remote-dhcp-
server3>]
Sets the IP addresses of up to 3 DHCP servers.
dhcp smart-relay information
Allows the OLT to add system name to agent information.
no dhcp smart-relay information
System name is not appended to option 82 information field for
global dhcp settings.
dhcp smart-relay option
Allows the OLT to add DHCP relay agent information.
no dhcp smart-relay option
Disables the relay agent information option 82 for global dhcp
settings.
Table 118 DHCP Relay Commands
COMMAND DESCRIPTION
show dhcp relay <vlan-id>
Displays DHCP relay settings for the specified VLAN.
dhcp relay <vlan-id> helper-
address <remote-dhcp-server1>
[<remote-dhcp-server2>]
[<remote-dhcp-server3>]
[option] [information]
Enables DHCP relay on the specified VLAN and sets the IP
address of up to 3 DHCP servers. Optionally, sets the OLT to add
relay agent information and system name.
Note: You have to configure the VLAN before you configure a
DHCP relay for the VLAN. You have to disable dhcp
smart-relay before you can enable dhcp relay.
no dhcp relay <vlan-id>
Disables DHCP relay.
no dhcp relay <vlan-id>
information
System name is not appended to option 82 information field.
no dhcp relay <vlan-id> option
Disables the relay agent information option 82.
Table 119 DHCP Relay Broadcast Commands
COMMAND DESCRIPTION
dhcp relay-broadcast
The broadcast behavior of DHCP packets will not be terminated
by the OLT.
no dhcp relay-broadcast
The OLT terminates the broadcast behavior of DHCP packets.

Содержание