Chapter 4: Configuring the Router as a DHCP Server

Related Topics To use the J-Web interface to ping a host, see “Using the J-Web Ping Host

Tool” on page 216. For more information about the ping command, see “Pinging Hosts from the CLI” on page 230 or the JUNOS System Basics and Services Command Reference.

Displaying DHCP Statistics

Purpose Display DHCP statistics, including lease times, packets dropped, and DHCP and BOOTP messages received and sent, to verify normal operation.

Action Enter the show system services dhcp statistics command to display the DHCP statistics.

user@host> show system services dhcp statistics

Packets dropped:

 

Total

0

Messages received:

 

BOOTREQUEST

0

DHCPDECLINE

0

DHCPDISCOVER

0

DHCPINFORM

0

DHCPRELEASE

0

DHCPREQUEST

78

Messages sent:

 

BOOTREPLY

0

DHCPOFFER

0

DHCPACK

78

DHCPNAK

0

Meaning Verify the following:

The default settings displayed are consistent with your DHCP server configuration.

The number of dropped packets and errors is small.

DHCPREQUEST messages have been received and DHCPACK messages have been sent.

Related Topics For complete descriptions of the show system services dhcp statistics command and output, see the JUNOS System Basics and Services Command Reference.

Displaying DHCP Statistics 79

Page 101
Image 101
Juniper Networks J-Series manual Displaying Dhcp Statistics