Cisco Systems 1800 manual Configuration Example, Verify Your Dhcp Configuration

Page 4

Chapter 5 Configuring a LAN with DHCP and VLANs

Configure DHCP

Configuration Example

The following configuration example shows a portion of the configuration file for the DCHP configuration described in this chapter.

ip dhcp excluded-address 192.168.9.0

!

ip dhcp pool dpool1 import all

network 10.10.0.0 255.255.255.0 default-router 10.10.10.10 dns-server 192.168.35.2 domain-name cisco.com

!

ip domain name smallbiz.com ip name-server 192.168.11.12

Verify Your DHCP Configuration

Use the following commands to view your DHCP configuration.

show ip dhcp import—Displays the optional parameters imported into the DHCP server database.

show ip dhcp pool—Displays information about the DHCP address pools.

show ip dhcp server statistics—Displays the DHCP server statistics, such as the number of address pools, bindings, and so forth.

Router# show ip dhcp import

 

 

 

Address Pool Name: dpool1

 

 

 

 

 

 

Router# show ip dhcp pool

 

 

 

 

 

 

Pool dpool1 :

 

 

 

 

 

 

 

Utilization mark (high/low)

: 100 / 0

 

 

 

 

 

Subnet size (first/next)

: 0 / 0

 

 

 

 

 

Total addresses

 

: 254

 

 

 

 

 

Leased addresses

 

: 0

 

 

 

 

 

Pending event

 

: none

 

 

 

 

 

1 subnet is currently in the pool :

 

 

 

 

 

Current index

IP address range

Leased addresses

10.10.0.1

10.10.0.1

- 10.10.0.254

0

 

 

 

 

Router# show ip dhcp

server statistics

 

 

 

 

 

Memory usage

15419

 

 

 

 

 

 

Address pools

1

 

 

 

 

 

 

Database agents

0

 

 

 

 

 

 

Automatic bindings

0

 

 

 

 

 

 

Manual bindings

0

 

 

 

 

 

 

Expired bindings

0

 

 

 

 

 

 

Malformed messages

0

 

 

 

 

 

 

Secure arp entries

0

 

 

 

 

 

 

Message

Received

 

 

 

 

 

 

BOOTREQUEST

0

 

 

 

 

 

 

DHCPDISCOVER

0

 

 

 

 

 

 

DHCPREQUEST

0

 

 

 

 

 

 

DHCPDECLINE

0

 

 

 

 

 

 

DHCPRELEASE

0

 

 

 

 

 

 

DHCPINFORM

0

 

 

 

 

 

 

Cisco 1800 Series Integrated Services Routers (Fixed) Software Configuration Guide

 

 

 

 

 

 

 

 

5-4

 

 

 

 

OL-6426-02

 

 

 

 

 

 

 

Image 4
Contents Configuring a LAN with Dhcp and VLANs Configure Dhcp Configuration TasksVLANs Ip domain name nameIp dhcp excluded-address low-address Ip dhcp pool nameImport all Domain-name domainConfiguration Example Verify Your Dhcp ConfigurationRouter# show ip dhcp import Router# show ip dhcp poolCommand Purpose Configure VLANsExample Verify Your Vlan Configuration Router# show vlan-switch VlanOL-6426-02
Related manuals
Manual 85 pages 32.54 Kb Manual 25 pages 31.42 Kb