Ip Dhcp Relay Enable (Interface) - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

DHCP Relay Commands
OL-32830-01 Command Line Interface Reference Guide

11.2 ip dhcp relay enable (Interface)

Use the ip dhcp relay enable Interface Configuration mode command to enable
the DHCP relay feature on an interface. Use the no form of this command to disable
the DHCP relay agent feature on an interface.
Syntax
ip dhcp relay enable
no ip dhcp relay enable
Parameters
N/A
Default Configuration
Disabled
Command Mode
Interface Configuration mode
User Guidelines
The operational status of DHCP Relay on an interface is active if one of the
following conditions exist:
DHCP Relay is globally enabled, and there is an IP address defined on the
interface.
Or
DHCP Relay is globally enabled, there is no IP address defined on the
interface, the interface is a VLAN, and option 82 is enabled.
Example
The following example enables DHCP Relay on VLAN 21.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
interface vlan
21
ip dhcp relay enable
11
272

Advertisement

Table of Contents
loading

Table of Contents