Command Reference DHCP Commands
The following example sets the custom string for circuit-id.
Ruijie(config-if-GigabitEthernet 0/2)# ip dhcp relay information remote-id
format hex abc111
Ruijie(config-if-GigabitEthernet 0/2)# ip dhcp relay information remote-id
format ascii port-test
The following example disables this function.
Ruijie(config-if-GigabitEthernet 0/2)# no ip dhcp relay information remote-id
format hex
Ruijie(config-if-GigabitEthernet 0/2)# no ip dhcp relay information remote-id
format ascii
4.33 ip dhcp relay-information remote-id string
Use this command to set the port name for remote-id on an interface. Use the no form of this
command to restore the default setting.
ip dhcp relay-information remote-id string [ portname ]
no ip dhcp relay-information remote-id string
This function is disabled by default.
Interface configuration mode
This command is configured on the DHCP Relay. When you configure the ip dhcp relay-information
remote-id string command, the device, as the DHCP Relay, adds the option information in the
DHCP request packets.
The following example sets the port name for remote-id on an interface.
Ruijie(config-if-GigabitEthernet 0/2)# ip dhcp relay-information remote-id
string if-port-name
The following example disables this function.
Ruijie(config-if-GigabitEthernet 0/2)# no ip dhcp relay-information remote-id
string