36.7
ip dhcp relay vlan
Description
The ip dhcp relay vlan command is used to add DHCP server address to
specified VLAN. If there is an IP interface in the VLAN and it has configured a
DHCP server address at the interface level, then the configuration at the
interface level has higher priority. In this case, the DHCP server configured on
the VLAN will not be used to forward the DHCP packets. To delete the DHCP
server address use no ip dhcp relay vlan.
Syntax
ip dhcp relay vlan
no ip dhcp relay vlan
Parameter
vid
—— VLAN ID.
ip-address
Command
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Add DHCP server address 192.168.2.1 to VLAN 1 :
T2500G-10TS (config)# ip dhcp relay vlan 1 helper-address 192.168.2.1
36.8
show ip dhcp relay
Description
The show ip dhcp relay command is used to display the global status and
Option 82 configuration of DHCP Relay.
Syntax
show ip dhcp relay
Command Mode
Privileged EXEC Mode and Any Configuration Mode
vid
helper-address
vid
—— DHCP Server address.
mode
ip-address
[ ip-address ]
helper-address
348