3 disable command, 4 server set command, 5 server delete command – ZyXEL Communications IES-708-22A User Manual

Page 278: 6 server active command

Advertising
background image

Chapter 45 DHCP Commands

IES-708-22A User’s Guide

278

45.1.3 Disable Command

Syntax:

ras> switch dhcprelay disable

This command turns off the DHCP relay feature.

45.1.4 Server Set Command

Syntax:

ras> switch dhcprelay server set <vid> <primary-server> [<secondary-
server>]

where

This command specifies the DHCP server(s) that serve the specified VLAN. The primary
server is required; the secondary server is optional. The IES-708-22A routes DHCP requests to
the specified DHCP server(s) according to the

relaymode

. See

Section 45.1.7 on page 279

.

Use VLAN ID 0 to set up the default DHCP server(s) for all non-listed VLAN.

45.1.5 Server Delete Command

Syntax:

ras> switch dhcprelay server delete <vid> [<primary-server>]

where

This command deletes all information about DHCP servers for the specified VLAN.
Afterwards, the specified VLAN can uses the default DHCP server(s) set up for VLAN ID 0,
if any.

45.1.6 Server Active Command

Syntax:

ras> switch dhcprelay server active <vid> <active-server>

<vid>

=

The ID of the VLAN served by the specified DHCP server(s).

<primary-
server>

=

The IP address of one DHCP server.

<secondary-
server>

=

The IP address of a second DHCP server.

<vid>

=

The ID of the VLAN served by the specified DHCP server(s).

<primary-
server>

=

The IP address of one DHCP server.

Advertising