Chapter 44 DHCP Commands

44.1.3 Disable Command

Syntax:

ras> switch dhcprelay disable

This command turns off the DHCP relay feature.

44.1.4 Server Set Command

Syntax:

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

where

<vid>

=

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

<primary-

=

The IP address of one DHCP server.

server>

 

 

<secondary-

=

The IP address of a second DHCP server.

server>

 

 

This command specifies the DHCP server(s) that serve the specified VLAN. The primary server is required; the secondary server is optional. The IES-612-51A routes DHCP requests to the specified DHCP server(s) according to the relaymode. See Section 44.1.7 on page 293.

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

44.1.5 Server Delete Command

Syntax:

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

where

<vid>

=

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

<primary-

=

The IP address of one DHCP server.

server>

 

 

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.

44.1.6 Server Active Command

Syntax:

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

292

 

IES-612-51A User’s Guide