Command: ip dhcp-relay (VLAN Interface Configuration)

Home | Command modes | Alphabetical listing

ip dhcp-relay (VLAN Interface Configuration)

Configures DHCP relay for a vlan.

Syntax

Default

None

Command mode

VLAN Interface Configuration

Command parameters

ParameterDescription

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.