
C
HAPTER
45
| DHCP Commands
DHCP Relay
– 1418 –
C
OMMAND
M
ODE
Interface Configuration (VLAN)
U
SAGE
G
UIDELINES
◆
DHCP relay service applies to DHCP client requests received on the
specified VLAN.
◆
This command is used to configure DHCP relay for host devices
attached to the switch. If DHCP relay service is enabled, and this switch
sees a DHCP client request, it inserts its own IP address into the
request so that the DHCP server will know the subnet where the client
is located. Then, the switch forwards the packet to a DHCP server on
another network. When the server receives the DHCP request, it
allocates a free IP address for the DHCP client from its defined scope
for the DHCP client’s subnet, and sends a DHCP response back to the
DHCP relay agent (i.e., this switch). This switch then passes the DHCP
response received from the server to the client.
◆
You must specify the IP address for at least one DHCP server.
Otherwise, the switch’s DHCP relay agent will not forward client
requests to a DHCP server. Up to five DHCP servers can be specified in
order of preference.
If any of the specified DHCP server addresses are not located in the
same network segment with this switch, use the
or
command to specify the default router through
which this switch can reach other IP subnetworks.
◆
To start DHCP relay service, enter the
command.
E
XAMPLE
Console(config)#interface vlan 1
Console(config-if)#ip dhcp relay server 10.1.0.99
Console(config-if)#
R
ELATED
C
OMMANDS
ip dhcp restart relay
This command enables DHCP relay for the specified VLAN. Use the
no
form
to disable it.
D
EFAULT
S
ETTING
Disabled
C
OMMAND
M
ODE
Privileged Exec
C
OMMAND
U
SAGE
This command is used to configure DHCP relay functions for host devices
attached to the switch. If DHCP relay service is enabled, and this switch
sees a DHCP request broadcast, it inserts its own IP address into the
Summary of Contents for ECS4110-28T
Page 2: ......
Page 4: ......
Page 63: ...FIGURES 63 Figure 428 Configuring VLAN Translation 1177...
Page 64: ...FIGURES 64...
Page 72: ...TABLES 72...
Page 74: ...SECTION I Getting Started 74...
Page 102: ...SECTION II Web Configuration 102 General IP Routing on page 679...
Page 154: ...CHAPTER 4 Basic Management Tasks Resetting the System 154...
Page 198: ...CHAPTER 5 Interface Configuration VLAN Trunking 198 Figure 65 Configuring VLAN Trunking...
Page 272: ...CHAPTER 9 Congestion Control Automatic Traffic Control 272...
Page 286: ...CHAPTER 10 Class of Service Layer 3 4 Priority Settings 286...
Page 420: ...CHAPTER 13 Security Measures DHCP Snooping 420...
Page 566: ...CHAPTER 14 Basic Administration Protocols OAM Configuration 566...
Page 638: ...CHAPTER 15 Multicast Filtering Multicast VLAN Registration for IPv6 638...
Page 662: ...CHAPTER 16 IP Configuration Setting the Switch s IP Address IP Version 6 662...
Page 678: ...CHAPTER 17 IP Services Configuring the PPPoE Intermediate Agent 678...
Page 792: ...CHAPTER 21 System Management Commands Switch Clustering 792...
Page 822: ...CHAPTER 23 Remote Monitoring Commands 822...
Page 888: ...CHAPTER 24 Authentication Commands PPPoE Intermediate Agent 888...
Page 968: ...CHAPTER 25 General Security Measures Port based Traffic Segmentation 968...
Page 994: ...CHAPTER 26 Access Control Lists ACL Information 994...
Page 1034: ...CHAPTER 28 Link Aggregation Commands Trunk Status Display Commands 1034...
Page 1044: ...CHAPTER 29 Power over Ethernet Commands 1044...
Page 1084: ...CHAPTER 33 UniDirectional Link Detection Commands 1084...
Page 1090: ...CHAPTER 34 Address Table Commands 1090...
Page 1194: ...CHAPTER 37 VLAN Commands Configuring Voice VLANs 1194...
Page 1388: ...CHAPTER 42 CFM Commands Delay Measure Operations 1388...
Page 1410: ...CHAPTER 44 Domain Name Service Commands 1410...
Page 1420: ...CHAPTER 45 DHCP Commands DHCP Relay 1420...
Page 1472: ...CHAPTER 46 IP Routing Commands IPv4 Commands 1472...
Page 1474: ...SECTION IV Appendices 1474...
Page 1502: ...COMMAND LIST 1502...
Page 1513: ......
Page 1514: ...ECS4110 28T ECS4110 28P ECS4110 52T ECS4110 52P E072014 ST R02 150200000929A...