Example 10-7 – Cisco 10000 User Manual

Page 285

Advertising
background image

10-15

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 10 Configuring Address Pools

On-Demand Address Pool Manager

Example 10-7 Defining DHCP ODAPs on an Interface

!

interface Virtual-Template1

ip vrf forwarding green

ip unnumbered loopback1

ppp authentication chap

peer default ip address dhcp-pool

Configuring ODAPs to Obtain Subnets Through IPCP Negotiation

Example 10-8

creates a DHCP address pool named my_pool, configures the pool as an on-demand

address pool using IPCP as the subnet allocation protocol, and configures the Ethernet0 interface to
automatically obtain its IP address from the my_pool address pool.

Example 10-8 Enabling ODAPs to Obtain Subnets Through IPCP Negotiation

!

ip dhcp pool my_pool

import all

origin ipcp

!

interface Ethernet0

ip address pool my_pool

ip verify unicast reverse-path

shutdown

hold-queue 32 in

!

Monitoring and Maintaining an On-Demand Address Pool

To monitor and maintain an ODAP, enter the following commands in privileged EXEC mode:

Command

Purpose

Router# clear ip dhcp [pool name] binding {* |

address}

Deletes an automatic address binding or objects for a specific
pool from the DHCP server database.

Router# clear ip dhcp [pool name] conflict {* |

address}

Clears an address conflict(s) for a specific pool from the DHCP
server database.

Router# clear ip dhcp [pool name] subnet {* |

address}

Clears all currently leased subnets in the specified DHCP pool or
in all DHCP pools if you do not specify a specific pool.

Router# debug dhcp details

Monitors subnet allocation and subnet releases for the on-demand
address pools.

Router# debug ip dhcp server events

Reports DHCP server events, such as assignments and database
updates.

Router# show ip dhcp import

Displays the option parameters imported into the DHCP server
database.

Advertising