The format of DHCP snooping option 82 (Circuit-ID/Remote-ID) on Edgecore switch

Steven_zhangCreated at:Dec 11, 2019 14:00:48Updated at:Dec 11, 2019 14:00:51

Models: ECS4620 series, ECS4510 series, ECS4120 series, ECS4100 series, ECS4110 series, ECS2100 series, ECS3510-28T/52T, ES3528Mv2, ES3510MA

mceclip0.png

 

Configuration example:

mceclip1.png

 

1. Enable DHCP snooping on global mode and VLAN.

Console#configure
Console(config)#ip dhcp snooping
Console(config)#ip dhcp snooping vlan 1

2. Enable the DHCP Option 82 information.

Console(config)#ip dhcp snooping information option

3. Specify the DHCP snooping trust port.

Console(config)#interface ethernet 1/2
Console(config-if)#ip dhcp snooping trust

4. Check the status of DHCP snooping.

mceclip2.png

 

5. When the switch receives the DHCP packets from the client, the DHCP packets will be added the option 82 information. (capture packet on port 2 aka Eth 1/2)

mceclip3.png

 

Additional example:

By default, the Remote-ID is MAC address. You can change the type of Remote-ID to switch's IP address.

mceclip4.png

 

Console(config)#interface vlan 1
Console(config-if)#ip address 1.1.1.1/24
Console(config)#ip dhcp snooping
Console(config)#ip dhcp snooping vlan 1
Console(config)#ip dhcp snooping information option remote-id ip-address
Console(config)#interface ethernet 1/2
Console(config-if)#ip dhcp snooping trust

 

The switch will insert an IP address in the remote ID sub-option on the DHCP packet of the client.

mceclip5.png