59-29
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 59 Configuring the Cisco IOS DHCP Server
Configuration Examples for the Cisco IOS DHCP Server
*May 26 23:14:21.711: DHCPD: Adding binding to radix tree (10.9.9.4)
*May 26 23:14:21.711: DHCPD: Adding binding to hash tree
*May 26 23:14:21.711: DHCPD: parsing text line “Infinite”
*May 26 23:14:21.711: DHCPD: parsing text line “”
*May 26 23:14:21.711: DHCPD: parsing text line
!IP address Interface-index Lease expiration VRF
*May 26 23:14:21.711: DHCPD: parsing text line “*end*”
*May 26 23:14:21.711: DHCPD: read static bindings from
tftp://10.19.192.33/abcemp/static_pool.
Example: Customizing DHCP Server Operation
Switch#
configure terminal
Switch(config)#
ip dhcp ping packets 5
Switch(config)#
ip dhcp ping timeout 850
Switch(config)#
ip dhcp bootp ignore
Switch(config)#
end
Example: Configuring the Option to Ignore all BOOTP Requests
The following example shows two DHCP pools that are configured on the device and that the device’s
DHCP server is configured to ignore all received BOOTP requests. If a BOOTP request is received from
subnet 10.0.18.0/24, the request will be dropped by the device (because the ip helper-address command
is not configured). If there is a BOOTP request from subnet 192.168.1.0/24, the request will be
forwarded to 172.16.1.1 via the ip helper-address command.
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
ip subnet-zero
!
ip dhcp bootp ignore
!
ip dhcp pool ABC
network 192.168.1.0 255.255.255.0
default-router 192.168.1.3
lease 2
!
ip dhcp pool DEF
network 10.0.18.0 255.255.255.0
!
ip cef
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Ethernet1/0
ip address 10.0.18.68 255.255.255.0
duplex half
!
interface Ethernet1/1
ip address 192.168.1.1 255.255.255.0
ip helper-address 172.16.1.1
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...