Configuring DHCP Snooping Relay Information Sub-options

You can configure DHCP relay agent sub-options such as the Subscriber ID (SID), Circuit ID (CID) or Remote ID (RID) options.
  1. Enter global configuration mode.
    device# configure terminal
  2. Enable DHCP snooping and DHCP option 82 on a VLAN.
    device(config)# ip dhcp snooping vlan 1
  3. Enter interface configuration mode for port 1/1/4.
    device(config)# interface ethernet 1/1/4
  4. Enable interface 1/1/4 to insert the SID, CID, or RID information in the DHCP packets.
    device(config-if-e1000-1/1/4)# dhcp snooping relay information subscriber-id Brcd01
    In the example, the SID is Brcd01.

The following example enables interface 1/1/4 to insert the CID information in the DHCP packets.

device(config-if-e1000-1/1/4)# dhcp snooping relay information circuit-id circuit01

The following example enables interface 1/1/4 to insert the RID information in the DHCP packets.

device(config-if-e1000-1/1/4)# dhcp snooping relay information remote-id remote01