Overview
17-30
17.2 Configuring DHCP Server using CLI
DHCP configuration is conducted by creating pools and mapping them to L3 interfaces (SVI).
A pool can be configured either as a network pool or host pool. A network pool includes ranges. When the
network pool is mapped to a L3 interface, DHCP clients requesting IP from the interface get an IP from the
included range. A host pool is used to assign static/fixed IP address to DHCP clients.
17.2.1 Creating network pool
RFS7000(config)#ip dhcp pool test
RFS7000(config-dhcp)#network 192.168.0.0/24
RFS7000(config-dhcp)#address range 192.168.0.30 192.168.0.60
RFS7000(config-dhcp)#domain-name test.com
RFS7000(config-dhcp)#dns-server 192.168.0.10 192.168.0.11
RFS7000(config-dhcp)#lease 10
RFS7000(config-dhcp)#exit
17.2.2 Creating host pool
RFS7000(config)#ip dhcp pool hostpool
RFS7000(config-dhcp)#client-name linuxbox
RFS7000(config-dhcp)#host 192.168.0.50
RFS7000(config-dhcp)#hardware 00:a0:f8:6f:6b:88
RFS7000(config-dhcp)#exit
17.2.3 Troubleshooting DHCP configuration
DHCP Server configurations come into effect only after rebooting the DHCP Server. Execute the
ip dhcp
restart
, at a global level, to restart the DHCP Server.
The following steps help setup/troubleshoot DHCP
related configuration issues:
1.To change the domain name for a pool from its existing name to
example.com
:
RFS7000(config)#ip dhcp pool test
RFS7000(config-dhcp)#domain-name example.com
RFS7000(config-dhcp)#exit
2.
Use
service dhcp
to restart the DHCP Server to implement any change made to the configuration.
The switch , by default, restarts the DHCP Server after 30 seconds of making a change to the
configuration:
RFS7000(config)#ip dhcp excluded-address 192.168.0.20 192.168.0.30
RFS7000(config)#service dhcp
Содержание RFS7000 Series
Страница 1: ... RFS7000 Series RF Switch CLI Reference Guide ...
Страница 10: ...x RFS7000 Series CLI Reference Guide ...
Страница 30: ...Overview 1 10 ...
Страница 150: ...Overview 3 16 RFS7000 show management Mgmt Interface vlan1 Management access permitted via any vlan interface RFS7000 ...
Страница 196: ...Overview 4 46 ...
Страница 270: ...Overview 5 74 ...
Страница 284: ...Overview 6 14 ...
Страница 294: ...Overview 7 10 ...
Страница 304: ...Overview 8 10 ...
Страница 308: ...Overview 9 4 ...
Страница 338: ...Overview 11 36 ...
Страница 366: ...Overview 12 28 ...
Страница 380: ...Overview 13 14 ...
Страница 404: ...Overview 15 2 terminal Sets terminal line parameters page 15 14 Command Description Ref ...
Страница 434: ...Overview 16 18 ...
Страница 466: ...Overview 17 32 ...
Страница 474: ...Overview 18 8 ...
Страница 504: ...Overview 19 30 ...
Страница 572: ...Overview 20 68 ...
Страница 581: ...21 9 new show alarm log count all new acknowledged severity to limit 1 65535 RFS7000 config sole ...
Страница 584: ...Overview 21 12 ...
Страница 586: ...A 2 RFS7000 Series CLI Reference Guide ...
Страница 587: ......
Страница 588: ...MOTOROLA INC 1303 E ALGONQUIN ROAD SCHAUMBURG IL 60196 http www motorola com 72E 103891 01 Revision A January 2008 ...