740
C
52: DHCP R
HAPTER
Description
Example
A
C
C
ELAY
GENT
ONFIGURATION
Use the
display dhcp relay statistics
statistics related to a specified or all DHCP server groups.
Note that if no parameter (server-group and all) is specified, all DHCP packet
statistics on the relay agent will be displayed.
# Display all DHCP packet statistics on the relay agent.
<Sysname> display dhcp relay statistics
Bad packets received:
DHCP packets received from clients:
DHCPDISCOVER packets received:
DHCPREQUEST packets received:
DHCPINFORM packets received:
DHCPRELEASE packets received:
DHCPDECLINE packets received:
BOOTPREQUEST packets:
DHCP packets received from servers:
DHCPOFFER packets received:
DHCPACK packets received:
DHCPNAK packets received:
BOOTPREPLY packets:
DHCP packets sent to servers:
DHCP packets sent to clients:
# Display DHCP packet statistics related to every server group on the relay agent.
<Sysname> display dhcp relay statistics server-group all
DHCP relay server-group
Packet type
Client -> Server:
DHCPDISCOVER
DHCPREQUEST
DHCPINFORM
DHCPRELEASE
DHCPDECLINE
BOOTPREQUEST
Server -> Client:
DHCPOFFER
DHCPACK
DHCPNAK
BOOTPREPLY
DHCP relay server-group
Packet type
Client -> Server:
DHCPDISCOVER
DHCPREQUEST
DHCPINFORM
DHCPRELEASE
DHCPDECLINE
BOOTPREQUEST
Server -> Client:
DHCPOFFER
DHCPACK
DHCPNAK
BOOTPREPLY
OMMANDS
command to display DHCP packet
Packet number
Packet number
0
20
10
10
0
0
0
0
20
10
10
0
0
20
20
#2
5
5
0
0
0
0
5
5
0
0
#3
5
5
0
0
0
0
5
5
0
0