Ip dhcp relay address – Brocade Network OS Command Reference v4.1.0 User Manual
Page 385
Network OS Command Reference
347
53-1003115-01
ip dhcp relay address
2
ip dhcp relay address
Configures the IP DHCP Relay on a Layer 3 interface.
Synopsis
ip dhcp relay address ip-addr [use-vrf vrf-name]
Operands
ip-addr
IPv4 address of the DHCP server where the DHCP client requests are to be
forwarded.
use-vrf
Use this option if the VRF where the DHCP server is located is different from
the VRF of the interface where the client is connected.
vrf-name
VRF name.
Defaults
None
Command Modes
Interface configuration mode
Description
Configures the IP DHCP Relay on the switch Layer 3 interface using the IPv4 address of the DHCP
server where the DHCP client requests are to be forwarded. You can configure the address on a
virtual Ethernet (VE) or a physical GigabitEthernet, TengigabitEthernet, or FortyGigabitEthernet
interface.
Usage Guidelines
Enter the command while in interface configuration mode for a VE or physical interface where you
want to configure the IP DHCP Relay. Configure up to four DHCP server IP addresses per interface.
Use the no version of this command to remove the IP DHCP Relay from the interface. If the use-vrf
option is not used, it is assumed that the DHCP server and interface where the client is connected
are on the same VRF.
Examples
To configure an IP DHCP Relay address on a TenGigabitEthernet interface in standalone mode:
sw0(config)# interface TenGiga 2/3/1
sw0(conf-if-te-2/3/1)# ip dhcp relay address 100.1.1.2
To configure an IP DHCP Relay address on a VE interface in standalone mode:
sw0(config)# interface ve 100
sw0(config-Ve-100)# ip dhcp relay address 100.1.1.2
To configure an IP DHCP Relay address on a VE interface in VCS mode:
switch(config)# rbridge-id 1
switch(config-rbridge-id-1)interface ve 101
switch(config-Ve-101)# ip dhcp relay address 100.1.1.2
switch(config-Ve-101)# ip dhcp relay address 12.3.4.6
To configure an IP DHCP Relay address on an interface if the DHCP server is on a different VRF
than the interface where the client connects:
switch# config
Entering configuration mode terminal
switch(config)# rbridge-id 2
switch(config-rbridge-id-2)# interface ve 103
switch(config-Ve-103)# ip dhcp relay address 3.1.2.255 use-vrf blue
See Also