Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols dhcp relay interface relay-agent-address command configures the IP address of the DHCP relay agent.


Command Syntax

set protocols dhcp relay interface <vlan-interface-name> relay-agent-address <agent-ipv4-address>


Parameters

Parameter

Description

interface <vlan-interface-name>

Specifies an L3 VLAN interface name. The value is a string.

relay-agent-address <agent-ipv4-address>

Specifies the IP address of the DHCP relay agent. The value is in dotted decimal notation.


Usage Guidelines

DHCP relay agent address is a required configuration in VRRP topology, when the VRRP Master/Backup devices are used as the DHCP relay agents, you must configure the DHCP relay agent address to the virtual IP address of the VRRP group.

The interface name here should be configured with the L3 VLAN interface which is enabled with DHCP relay and VRRP group.

However, in a non-VRRP topology, there’s no need to configure the DHCP relay agent address. By default, the system sets the IP address of the L3 VLAN interface that is enabled with the DHCP relay as the DHCP relay agent address.

The system supports multiple DHCP relay agent addresses on a switch, one DHCP relay agent address for each VRRP group.


Example

  • Configure a DHCP relay agent address on L3 VLAN interface vlan100.
admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 1 ip 192.168.1.5
admin@Xorplus# set protocols dhcp relay interface vlan100 relay-agent-address 192.168.1.5


  • No labels