beautypg.com

Related topics, Verifying the dhcp binding database – Juniper Networks J-Series User Manual

Page 98

background image

[edit]
user@host# show system services dhcp
pool 192.168.2.0/24 {

address-range low 192.168.2.2 high 192.168.2.254;
exclude-address {

192.168.2.33;

}
maximum-lease-time 2419200;
default-lease-time 1209600;
name-server {

192.168.10.2;

}
domain-search {

mycompany.net;
mylab.net;

}
option 16 ip-address 192.168.2.33;

}
static-binding 01.03.05.07.09.0b {

fixed-address {

192.168.2.50;

}

}

Meaning

Verify that the output shows the intended configuration of the DHCP server.

Related Topics

For more information about the format of a configuration file, see the J-series Services
Router Basic LAN and WAN Access Configuration Guide
.

Verifying the DHCP Binding Database

Purpose

Verify that the DHCP binding database reflects your DHCP server configuration.

Action

From operational mode in the CLI, to display all active bindings in the database,
enter the

show system services dhcp binding

command. To display all bindings in the

database, including their current binding state, enter the

show system services dhcp

binding detail

command. To display more information about a client, including its

DHCP options, enter the

show system services dhcp binding ip-address detail

command,

replacing ip-address with the IP address of the client.

The DHCP binding database resulting from the configuration defined in “Configuring
the DHCP Server with a Configuration Editor” on page 72 is displayed in the following
sample output.

To clear the DHCP binding database, enter the

clear system services dhcp binding

command. To remove a specific entry from the DHCP binding database, enter the

clear system services dhcp binding ip-address

command, replacing ip-address with the

IP address of the client.

You can also use the J-Web interface to view information in the DHCP binding
database. For more information, see “Monitoring DHCP” on page 143.

user@host> show system services dhcp binding

76

Verifying the DHCP Binding Database

J-series™ Services Router Administration Guide