beautypg.com

Displaying ip dhcp relay statistics – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 657

background image

Displaying IP DHCP Relay statistics

Display information about the DHCP Relay function, such as the DHCP Server IP address configured
on the switch and the number of various DHCP packets received by the interface configured for IP
DHCP Relay.

Use the show ip dhcp relay statistics command to display the following information about the IP
DHCP Relay function:

• DHCP Server IP Address configured in the switch.
• Number of DHCP DISCOVERY, OFFER, REQUEST, ACK, NAK, DECLINE, INFORM, and

RELEASE packets received.

• Number of DHCP client packets received (on port 67) and relayed by the Relay Agent.
• Number of DHCP server packets received (on port 68) and relayed by the Relay Agent.

NOTE
You can specify a list of RBridge IDs separated by commas, or a range separated by a dash (for
example, 1-2). No spaces are allowed in the range string. The range does not need to be contiguous
(for example, 1-2,5). You can also specify “all” for all RBridge IDs in the logical chassis cluster.

1. Access a switch where an IP DHCP Relay has been configured on an interface.
2. In privileged EXEC mode, enter show ip dhcp relay statistics. Optionally, you can specify specific

RBridge IDs if you only want to view the statistics for those RBridges.

Displaying statistics on a local switch

The following is an example of displaying statistics on a local switch.

sw0# show ip dhcp relay statistics

DHCP Relay Statistics - RBridge Id: 3

--------------------------------------

Address Disc. Offer Req. Ack Nak Decline Release Inform

------- ----- ----- ---- --- --- ------- ------- ------

10.1.0.1 400 100 2972 2968 0 0 0 0

20.2.0.1 400 100 2979 2975 0 0 0 0

30.3.0.1 400 100 3003 2998 0 0 0 0

40.4.0.1 400 100 3026 3018 0 0 0 0

Client Packets: 12780

Server Packets: 12359

Displaying IP DHCP Relay statistics

Network OS Administrator’s Guide

657

53-1003225-04