Result
The relay agent uses the address of the receiving port in DHCP requests.
Further notes
You enable the use of a common agent address with the
ip dhcp relay common-agent-
address
command.
You define a common agent address with the
ip dhcp relay common-agent-address-
interface
command.
You reset the common agent address to the default value with the
no ip dhcp relay
common-agent-address-interface
command.
7.4.2.8
ip dhcp relay common-agent-address-interface
Description
With this command you define the interface whose IP address the relay agent uses as the
source address (giaddr) in DHCP requests.
Requirement
You are in the Global configuration mode.
The command prompt is:
cli(config)#
Syntax
Call up the command with the following parameters:
ip dhcp relay common-agent-address-interface { vlan <vlan-id
(1-4094)> | <interface-type> <interface-id> }
The parameter has the following meaning:
Parameter
Description
Range of values / note
vlan
Keyword for a VLAN connection
-
vlan-id
Number of the addressed VLAN
1 ... 4094
Default: vlan1
interface-type
Type or speed of the interface
Enter a valid interface name.
interface-id
Slot no. and port no. of the interface
For information on names of addresses and interfaces, refer to the section "Addresses and
Result
The IP address of the interface is used as a common agent address.
Network protocols
7.4 DHCP Relay
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
315