beautypg.com

Show ip dhcp relay statistics – Brocade Network OS Command Reference v4.1.0 User Manual

Page 894

background image

856

Network OS Command Reference

53-1003115-01

show ip dhcp relay statistics

2

show ip dhcp relay statistics

Displays the general information about the DHCP Relay function.

Synopsis

show ip dhcp relay statistics [ip-address ip-addr] [rbridge-id rbridge-id | all |range]

Operands

ip-address ip-addr

IPv4 address of DHCP server where client requests are to be forwarded.

rbridge-id rbridge-id

Specific RBridge identification. You can specify multiple RBridge IDs,
separated by commas.

all

All RBridge IDs in the logical chassis cluster.

range

A range of RBridge IDs separated by a dashes or commas, for example:

1-3 - RBridge ID 1 through 3
1-3, 5 - RBridge ID 1 through 3 and RBridge ID 5
1, 3, 5, 6 - RBridge ID 1, 3, 5, and 6

Defaults

If the rbridge-id parameter is omitted, IP DHCP Relay statistics display for the local switch. If the
ip-address parameter is omitted, statistics display for all configured addresses on defined
switches.

Command Modes

Privileged EXEC mode

Description

The following information is displayed about the IP DHCP Relay function for IP DHCP Relay
addresses configured on a local switch, specific switches, or all switches in a logical chassis
cluster:

DHCP Server IP Address configured in the switch.

Number of DHCP DISCOVERY, OFFER, REQUEST, ACK, NAK, DECLINE, 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 67) and relayed by the Relay Agent.

Usage Guidelines

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 a logical chassis cluster. To display addresses
for configured interfaces on a local switch, an RBridge ID parameter is not required.

Examples

To display statistics for 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

Active Clients: 400

Clients to Restore: 0

Client Packets: 12780

Server Packets: 12359

Timed Out: 0