Cisco Systems OL-4580-01 DHCP Relay Agent Configuration Quick Start, Task and Command Example

Models: OL-4580-01

1 186
Download 186 pages 41.96 Kb
Page 172
Image 172
DHCP Relay Agent Configuration Quick Start

Chapter 8 Configuring the DHCP Relay Agent

DHCP Relay Agent Configuration Quick Start

DHCP Relay Agent Configuration Quick Start

Table 8-1provides a quick overview of the steps required to configure the DHCP relay agent for the circuit. Each step includes the CLI command required to complete the task. For a complete description of each feature and all the options associated with the CLI command, see the sections following Table 8-1.

Table 8-1 DHCP Relay Agent Configuration Quick Start

Task and Command Example

1.Specify the DHCP relay destination IP address in dotted-decimal notation.

(config-circuit[VLAN2])#dhcp relay-to 192.168.22.25

2.Enable the DHCP relay agent on the CSS circuit.

(config-circuit[VLAN2])# dhcp-relay-agent

3.Set the maximum allowable number in the hops field of the BOOTP header.

(config)# dhcp-agent max-hops 10

4.(Optional) Verify the DHCP configuration.

(config)# # show dhcp-relay-agent global

The following running-configuration example shows the results of entering the commands in Table 8-1.

!*************************** GLOBAL ***************************

dhcp-agent max-hops 10

!************************** CIRCUIT **************************

circuit VLAN2

dhcp relay-to 192.168.22.25 dhcp-relay-agent

 

Cisco Content Services Switch Routing and Bridging Configuration Guide

8-2

OL-4580-01

Page 172
Image 172
Cisco Systems OL-4580-01 manual DHCP Relay Agent Configuration Quick Start, Task and Command Example