![]() | Command: ip dhcp-relay (VLAN Interface Configuration) |
Configures DHCP relay for a vlan.
ip dhcp-relay broadcast
ip dhcp-relay clear-counters
ip dhcp-relay min-sec <0-65535>
ip dhcp-relay min-sec <0-65535> mode {bootp | bootp-dhcp | dhcp}
ip dhcp-relay mode {bootp | bootp-dhcp | dhcp}
ip dhcp-relay
ip dhcp-relay option82
default ip dhcp-relay option82
no ip dhcp-relay
no ip dhcp-relay option82
no ip dhcp-relay broadcast
None
VLAN Interface Configuration
| Parameter | Description |
|---|---|
|
broadcast | Enables the broadcast of DHCP reply packets to the DHCP clients on this VLAN interface |
|
clear-counters | Clears the DHCP relay coutners for the VLAN. |
|
min-sec <minsec> | Indicates the min-sec value. The switch immediately forwards a BootP/DHCP packet if the secs field in the BootP/DHCP packet header is greater than the configured min-sec value; otherwise, the packet is dropped. Range is 0-65535. The default is 0. |
|
mode {bootp |dhcp |bootp_dhcp} | Specifies the type of DHCP packets this VLAN supports: bootp - Supports BootP only; dhcp - Supports DHCP only; bootp_dhcp - Supports both BootP and DHCP. |
|
option82 | Enables Option 82 for DHCP relay on a VLAN. |