beautypg.com

Show ip dhcp relay – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 650

background image

594

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002651-02

28

DHCP Relay

Command Usage
This command is used to configure DHCP relay functions for host devices attached to the switch. If
DHCP relay service is enabled, and this switch sees a DHCP request broadcast, it inserts its own IP
address into the request so the DHCP server will know the subnet where the client is located. Then,
the switch forwards the packet to the DHCP server on another network. When the server receives
the DHCP request, it allocates a free IP address for the DHCP client from its defined scope for the
DHCP client’s subnet, and sends a DHCP response back to the DHCP relay agent (i.e., this switch).
This switch then broadcasts the DHCP response received from the server to the client.

Example
In the following example, the device is reassigned the same address.

Console#ip dhcp restart relay

Console#show ip interface

VLAN 1 is Administrative Up - Link Up

Address is 74-8E-F8-68-02-30

Index: 1001, MTU: 1500

Address Mode is DHCP

IP Address: 192.168.0.2 Mask: 255.255.255.0

Proxy ARP is disabled

Console#

Related Commands

“ip dhcp relay server” on page 593

show ip dhcp relay

This command displays the configuration settings for DHCP relay service.

Syntax

show ip dhcp relay [vlan vlan-id]

vlan-id - VLAN identifier. (Range: 1-4093)

Command Mode
Privileged Exec

Example

Console#show ip dhcp relay

VLAN ID:1

DHCP relay-server address: 192.168.0.99

0.0.0.0

0.0.0.0

0.0.0.0

0.0.0.0

Console#

Related Commands

“ip dhcp relay server” on page 593