Microsoft ES4649 Switch User Manual


 
Command Line Interface
4-124
4
ip dhcp relay server
This command specifies the addresses of DHCP servers to be used by the switch’s
DHCP relay agent. Use the no form to clear all addresses.
Syntax
ip dhcp relay server address1 [address2 [address3 ...]]
no ip dhcp relay server
address - IP address of DHCP server. (Range: 1-3 addresses)
Default Setting
None
Command Mode
Interface Configuration (VLAN)
Usage Guidelines
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.
To start DHCP relay service, enter the ip dhcp restart relay command.
Example
Related Commands
ip dhcp restart relay (4-123)
DHCP Server
Console(config)#interface vlan 1
Console(config-if)#ip dhcp relay server 10.1.0.99
Console(config-if)#
Table 4-45 DHCP Server Commands
Command Function Mode Page
service dhcp Enables the DHCP server feature on this switch GC 4-125
ip dhcp
excluded-address
Specifies IP addresses that a DHCP server should not assign to
DHCP clients
GC 4-125
ip dhcp pool Configures a DHCP address pool on a DHCP Server GC 4-126
network Configures the subnet number and mask for a DHCP address
pool
DC 4-127
default-router Specifies the default router list for a DHCP client DC 4-127
domain-name Specifies the domain name for a DHCP client DC 4-128
dns-server Specifies the Domain Name Server (DNS) servers available to a
DHCP client
DC 4-128
next-server Configures the next server in the boot process of a DHCP client DC 4-129
bootfile Specifies a default boot image for a DHCP client DC 4-129
netbios-name-server Configures NetBIOS Windows Internet Naming Service (WINS)
name servers available to Microsoft DHCP clients
DC 4-130