omniswitch 6900 AOS 8.10.93.R03 per interface remote-id for dhcp-relay
Posted: 30 Oct 2025 09:51
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.
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.