It's been a long battle, but we moved again our server to another cloud service, protecting ourselves from (sadly) Chinese IP Addresses, which would bring down AlcatelUnleashed. Hopefully, this is now under control. Feel free to contact us through the CONTACT US link at the bottom of this page if you have any question. Happy browsing!

omniswitch 6900 AOS 8.10.93.R03 per interface remote-id for dhcp-relay

Post Reply
thijn
Member
Posts: 1
Joined: 30 Oct 2025 08:33

omniswitch 6900 AOS 8.10.93.R03 per interface remote-id for dhcp-relay

Post by thijn »

Hi,
I am struggling with the commands to set a remote-id for each interface i expect a dhcp client.
These devices will be provisioned using ZTP, and i want the DHCP server to provide a specific lease and script if the remote-id matches.
So when a DHCP request arrives at the DHCP-relay on int 1/1/1 option-82 should kick in and add the remote-id "switch1", while when on int 1/1/2 the remote id should be switch2.

On Cisco XR i would use:
dhcp ipv4
profile ZTP relay
interface gi1/1 relay profile ZTP
interface gi1/1 relay information option remote-id format-type ascii router01
interface gi1/1 relay information option format-type circuit-id format-string "%s:%s" hostname l3-interface

I have been searching for some examples and trying to figure it out using the CLI ref guide, but i get stuck.
I am looking for either proper documentation for reference or maybe an example code block

Thank you in advance.
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 2080
Joined: 01 Jul 2008 10:51
Location: Germany

Re: omniswitch 6900 AOS 8.10.93.R03 per interface remote-id for dhcp-relay

Post by silvio »

Hi, since long time I haven't used this. But you can try the following:
ip dhcp relay insert-agent-information
ip dhcp relay insert-agent-information policy replace
ip dhcp relay insert-agent-information format interface-alias
interface 1/1/1 alias "switch-1"
interface 1/1/2 alias "switch-2"

Maybe not all lines are neccessary. But it will be great if you post the right solution here.
BR Silvio
Post Reply

Return to “OmniSwitch 6900”