04-28-2021 04:07 AM - edited 04-28-2021 11:08 AM
We are trying to insert the subscriber-id option in to the DHCP DISCOVER packet using the configuration under an EFP as per below. In this example the DHCP server does not receive the DHCP subscriber-id option that has been configured.
ip dhcp relay information option
ip dhcp relay information policy encapsulate
ip dhcp relay information trust-all
interface Vlan50 ip dhcp relay information trusted ip address 192.168.130.1 255.255.255.0 ip helper-address 10.1.1.5 interface GigabitEthernet0/2 switchport trunk allowed vlan none
switchport mode trunk
ip dhcp relay information option-insert
service instance 101 ethernet encapsulation dot1q 18 rewrite ingress tag pop 1 symmetric ip dhcp relay information option subscriber-id EXAMPLE
bridge-domain 50
If I move the subscriber id configuration under the vlan as per below it works perfectly and the DHCP server receives the subscriber id sub-option within option 82 of the DHCP Discover packet.
ip dhcp relay information option ip dhcp relay information policy encapsulate ip dhcp relay information trust-all interface Vlan50 ip dhcp relay information trusted ip address 192.168.130.1 255.255.255.0 ip helper-address 10.1.1.5 ip dhcp relay information option subscriber-id EXAMPLE
interface GigabitEthernet0/2 switchport trunk allowed vlan none
switchport mode trunk
ip dhcp relay information option-insert service instance 101 ethernet encapsulation dot1q 18 rewrite ingress tag pop 1 symmetric bridge-domain 50
Can anyone provide any working examples for the use case of configuring "ip dhcp relay information option subscriber-id" within the efp, or point to the relevant documentation?
Firmware version is 15.5(3)S8
04-28-2021 09:46 AM
I am thinking this was due that interface in bridge mode "bridge-domain 50"
Do you have BVI Interface ? where you can configure
04-29-2021 12:49 PM - edited 04-29-2021 12:50 PM
On this series of cisco switch when you add the bridge-domain command under an EFP it will automatically create and link the SVI if it doesn’t exist, so in this case we are not using a BVI.
L2 and L3 forwarding is fully working using the SVI.
05-10-2021 06:37 AM
Does anyone have any suggestions?
06-18-2021 09:02 AM
Any suggestions? Still can't find any literature on this.
04-03-2023 04:27 AM
@jbillo27 Did you ever get a solution to this as IM trying todo the same and getting the same results
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide