Zyxel ES-3124-4F [59/250] Command examples

Zyxel ES-3124PWR [59/250] Command examples
Chapter 12 DHCP Commands
Ethernet Switch CLI Reference Guide
59
12.2 Command Examples
In this example, the Switch relays DHCP requests for the VLAN1 and VLAN2 domains.
There is only one DHCP server for DHCP clients in both domains.
Figure 1 Example: Global DHCP Relay
Table 40 dhcp server Command Summary
COMMAND DESCRIPTION M P
dhcp server <vlan-id> starting-
address <ip-addr> <subnet-mask>
size-of-client-ip-pool <1-253>
Enables DHCP server for the specified VLAN and specifies
the TCP/IP configuration details to send to DHCP clients.
C13
dhcp server <vlan-id> starting-
address <ip-addr> <subnet-mask>
size-of-client-ip-pool <1-253>
[default-gateway <ip-addr>]
[primary-dns <ip-addr>]
[secondary-dns <ip-addr>]
Enables DHCP server for the specified VLAN and specifies
the TCP/IP configuration details to send to DHCP clients.
Including default gateway IP address and DNS server
information.
C13
no dhcp server <vlan-id> Disables DHCP server for the specified VLAN. C 13
no dhcp server <vlan-id>
default-gateway
Disables DHCP server default gateway settings. C 13
no dhcp server <vlan-id>
primary-dns
Disables DHCP primary DNS server settings. C 13
no dhcp server <vlan-id>
secondary-dns
Disables DHCP server secondary DNS settings. C 13
VLAN1
VLAN2
192.168.1.100
DHCP Server:

Содержание

Похожие устройства

Скачать