Further notes
You enable the DHCP Relay Agent with the
service dhcp-relay
command.
You can display the status of this function and other information with the
show ip dhcp
relay information
command.
7.4.3
Commands in the Interface Configuration mode
This section describes commands that you can call up in the Interface Configuration mode of
VLAN.
In the global configuration mode, enter the
interface vlan $$$
command to change to
this mode. When doing this, you need to replace the
$$$
placeholders with the relevant VLAN
ID.
Commands relating to other topics that can be called in the Interface Configuration mode of
VLAN can be found in the relevant sections.
● If you exit the Interface Configuration mode of VLAN with the
exit
command, you return
to the Interface Configuration mode.
● If you exit the Interface Configuration mode of VLAN with the
end
command, you return to
the Privileged EXEC mode.
7.4.3.1
ip dhcp relay circuit-id
Description
With this command, you assign a Circuit ID to the interface.
Requirement
● The interface is an IP interface.
● You are in the Interface configuration mode of VLAN
The command prompt is as follows:
cli(config-if-vlan-$$)#
Syntax
Call up the command with the following parameters:
ip dhcp relay circuit-id <circuit-id>
The parameter has the following meaning:
Parameter
Description
Range of values / note
circuit-id
Circuit ID
1 ... 188
Network protocols
7.4 DHCP Relay
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
318
Configuration Manual, 07/2017, C79000-G8976-C361-06