Configuring DHCP Service DHCP Relay Configuration
Configuration Guide  
  403
Switch(config)#show ip dhcp relay
DHCP relay state: enabled
......
Switch(config)#end
Switch#copy running-config startup-config
2.2.2  (Optional) Configuring Option 82
Follow these steps to configure Option 82:
Step 1 configure
Enter global configuration mode.
Step 2 interface {
 
fastEthernet 
port 
| range fastEthernet 
port-list 
| gigabitEthernet 
port 
| range 
gigabitEthernet 
port-list 
| ten-gigabitEthernet 
port 
| range ten-gigabitEthernet 
port-list 
}
Enter interface configuration mode.
Step 3 ip dhcp relay information option
Enable the Option 82 feature on the port.
Step 4 ip dhcp relay information strategy { keep | replace | drop }
Specify the operation for the Option 82 field of the DHCP request packets from the Host. 
The following options are provided:
keep: Indicates keeping the Option 82 field of the packets.
replace: Indicates replacing the Option 82 field of the packets with one defined by switch. 
By default, the Circuit ID is defined to be the VLAN and the number of the port which 
receives the DHCP Request packets. The Remote ID is defined to be the MAC address of 
the DHCP Snooping device which receives the DHCP Request packets. 
drop: Indicates discarding the packets that include the Option 82 field.
Step 5 ip dhcp relay information format { normal | private }
Specify the format of option 82 sub-option value field.
normal: Indicates that the format of sub-option value field is TLV (type-length-value).
private: Indicates that the format of sub-option value field is the value you configure for the 
related sub-option.
Step 6 ip dhcp relay information circuit-id 
string
Configure the circuit ID. The circuit ID configurations of the switch and the DHCP server 
should be compatible with each other.
string: 
Enter the circuit ID, which contains up to 64 characters.