Dhcp relay, Dhcp relay for ipv4, Ip dhcp relay server – LevelOne GTL-2691 User Manual

Page 1365: Table 185: dhcp relay commands, Dhcp r

Advertising
background image

C

HAPTER

46

| DHCP Commands

DHCP Relay

– 1365 –

DHCP R

ELAY

This section describes commands used to configure DHCP relay functions

for host devices attached to the switch.

DHCP Relay for IPv4

ip dhcp relay server

This command specifies the addresses of DHCP servers to be used by the

switch’s DHCP relay agent. Use the no form to clear all addresses.

S

YNTAX

ip dhcp relay server address1 [address2 [address3 ...]]
no ip dhcp relay server

address - IP address of DHCP server. (Range: 1-3 addresses)

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Interface Configuration (VLAN)

U

SAGE

G

UIDELINES

You must specify the IP address for at least one DHCP server.

Otherwise, the switch’s DHCP relay agent will not forward client

requests to a DHCP server.

To start DHCP relay service, enter the

ip dhcp restart relay

command.

E

XAMPLE

Console(config)#interface vlan 1

Console(config-if)#ip dhcp relay server 10.1.0.99

Console(config-if)#

Table 185: DHCP Relay Commands

Command

Function

Mode

DHCP Relay for IPv4

ip dhcp relay server

Specifies DHCP server addresses for relay service IC

ip dhcp restart relay

Enables DHCP relay agent

PE

DHCP Relay for IPv6

ipv6 dhcp relay destination

Specifies destination address or VLAN to which

client messages are forwarded for relay service

IC

show ipv6 dhcp relay

destination

Shows destination addresses or VLAN to which

client messages are forwarded for relay service

PE

Advertising