Ip Dhcp-Relay Agent-Option - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.x
Table of Contents

Advertisement

D
H
C
YNAMIC
OST
ONFIGURATION
-
-
IP DHCP
RELAY AGENT
OPTION

ip dhcp-relay agent-option

Overview
This command enables the DHCP Relay Agent to insert the DHCP Relay Agent
Information Option (Option 82) into the client-request packets that it relays to its
DHCP server. This allows the DHCP Relay Agent to pass on information to the
server about the network location of the client device. The DHCP Relay Agent strips
the DHCP Relay Agent Option 82 field out of the DHCP server's response, so that
the DHCP client never sees this field.
When the DHCP Relay Agent appends its DHCP Relay Agent Option 82 data into
the packet, it first overwrites any pad options present; then if necessary, it increases
the packet length to accommodate the DHCP Relay Agent Option 82 data.
The no variant of this command stops the DHCP Relay Agent from appending the
Option 82 field onto DHCP requests before forwarding it to the server.
For DHCP Relay Agent and DHCP Relay Agent Option 82 introductory information,
see the
NOTE
82 field, if the commands
policy
Syntax
ip dhcp-relay agent-option
no ip dhcp-relay agent-option
Default
DHCP Relay Agent Information Option (Option 82) insertion is disabled by default.
Mode
Interface Configuration for a VLAN interface.
Usage
Use this command to alter the DHCP Relay Agent Option 82 setting when your
device is the first hop for the DHCP client. To limit the maximum length of the
packet, use the
This command cannot be enabled if DHCP snooping is enabled on your device
(service dhcp-snooping
To make the DHCP Relay Agent listening on vlan15 append the DHCP Relay
Examples
Agent Option 82 field, use the commands:
awplus#
awplus(config)#
awplus(config-if)#
To stop the DHCP Relay Agent from appending the DHCP Relay Agent Option 82
field on vlan15, use the commands:
awplus#
awplus(config)#
awplus(config-if)#
C613-50103-01 REV A
P
(DHCP) C
ROTOCOL
OMMANDS
DHCP Feature Overview and Configuration
: The DHCP-relay service might alter the content of the DHCP Relay Agent Option
have been configured.
ip dhcp-relay max-message-length
command), and vice versa.
configure terminal
interface vlan15
configure terminal
interface vlan15
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
ip dhcp-relay agent-option
ip dhcp-relay agent-option
no ip dhcp-relay agent-option
Guide.
and
ip dhcp-relay information
command.
2196

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents