![MRV Communications OptiSwitch-2400/L3 User Manual Download Page 61](http://html1.mh-extra.com/html/mrv-communications/optiswitch-2400-l3/optiswitch-2400-l3_user-manual_1846068061.webp)
OptiSwitch 2400/L3
Configuring Routing Protocols
C
HAPTER
4
53
To configure DHCP:
1
From the enable mode, type
configure terminal
to begin
configuration.
2
Type
dhcp
to enter the DHCP Configuration mode.
3
Type
default-lease-time
and enter the time, in seconds, if no
specific lease time is assigned.
OS2400 (config-dhcp)#
default-lease-time
time
4
Type
max-lease-time
and enter the time, in seconds, for a
client requesting a specific lease time.
OS2400 (config-dhcp)#
max-lease-time
time
5
Type
domain
at the prompt, and then enter the domain name.
OS2400 (config-dhcp)#
domain
domain name
Type
dns
and then enter the server IP address, that specifies the
client's specific IP address.
OS2400 (config-dhcp)#
dns
server ip
6
Type
exit
to return to the previous mode.
7
Type
write file
to save the configuration changes to the
configuration files.
The following example displays a portion of the command line for
DHCP configuration. You can type
show dhcp configuration
to
display the various DHCP parameters configured for the specific
client.
OS2400# conf term
OS2400(config)# dhcp
OS2400(config-dhcp)# domain
NAME The domain name (e.g. opticalaccess.com)
OS2400(config-dhcp)# domain
OS2400(config-dhcp)# domain coco.com
OS2400(config-dhcp)# domain
NAME The domain name (e.g. opticalaccess.com)
OS2400(config-dhcp)# show dhcp configuration
DHCP CONFIGURATION:
entry: device = vif1:1
entry: device = vif3
entry: device = vif1
entry: device = vif2
dhcp status = disable
OS2400(config-dhcp)#