Cisco Systems OL-4580-01 Switch User Manual


 
8-3
Cisco Content Services Switch Routing and Bridging Configuration Guide
OL-4580-01
Chapter 8 Configuring the DHCP Relay Agent
Adding a DHCP Destination on a Circuit
Adding a DHCP Destination on a Circuit
A CSS circuit acts as the DHCP relay agent. For each circuit on the CSS, you can
configure a maximum of five DHCP destinations. The initial DHCP broadcast
request is sent to all of the configured destinations.
Do not configure a relay destination on a circuit when the relay destination is
directly connected to or reachable from one of the ports on the same circuit. In
this case, the DHCP packets reach the relay destination through normal broadcast
and a relay agent is not required.
Use the dhcp relay-to command to specify the DHCP relay destination address.
This command is available in circuit configuration mode. Enter an IP address in
dotted-decimal notation.
For example, to add a destination address of 192.168.22.25 to a DHCP server,
enter:
(config-circuit[VLAN2])# dhcp relay-to 192.168.22.25
To remove the relay destination address, enter:
(config-circuit[VLAN2])# no dhcp relay-to 192.168.22.25
Enabling and Disabling DHCP on the Circuit
After you enable the DHCP relay agent on the CSS circuit, the CSS transfers
DHCP messages between DHCP clients and servers. Use the dhcp-relay-agent
command to enable the agent on the circuit. This command is available in circuit
configuration mode.
For example:
(config-circuit[VLAN2])# dhcp-relay-agent
To disable the DHCP relay agent on the circuit, enter:
(config-circuit[VLAN2])# no dhcp-relay-agent