Disabling or Re-enabling DHCP Option 82 Processing on an Interface
By default, when DHCP option 82 is enabled on a VLAN, DHCP packets received on all
member ports of the VLAN are subject to DHCP option 82 processing. You can disable
or re-enable this processing on one or more member ports of the VLAN.
- To disable DHCP option 82, enter
global configuration mode by using the
configure terminalcommand. - Enter interface configuration mode.
- Disable DHCP option 82 on the interface.
- Re-enable DHCP option 82 as required at the interface configuration level.
- You can also re-enable DHCP option 82 after it has been disabled on a range of ports.
First, specify the range of ports at the global configuration level and then enter
the
dhcp snooping relay informationcommand.
The following example disables DHCP option 82.
device# configure terminal device(config)# interface ethernet 1/1/4 device(config-if-e1000-1/1/4)# no dhcp snooping relay information
The following example re-enables DHCP option 82 at the interface configuration level.
device# configure terminal device(config)# interface ethernet 1/1/4 device(config-if-e1000-1/1/4)# dhcp snooping relay information