Reference v4.1.0 Instruction Manual
Network OS Command Reference 117
53-1003115-01
clear ip dhcp relay statistics
2
clear ip dhcp relay statistics
Clears IP DHCP Relay statistics
Synopsis clear ip dhcp relay statistics [ip-address ip-address] [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 dash 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, statistics clear for the local switch. If the ip_address
parameter is omitted, statistics clear for all configured addresses on defined switches.
Command Modes Privileged EXEC mode
Description Clears IP DHCP Relay statistics for a specific IP DHCP Relay address or all addresses on a local
switch, specific switches, or all nodes in a logical chassis cluster.
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.
Examples Clear statistics for IP DHCP Relay addresses on RBridge IDs 1, 3, and 5.
switch# clear ip dhcp relay statistics rbridge-id 1,3,5
Clear statistics for IP DHCP Relay address 10.1.0.1 configured on RBridge IDs 1, 3, and 5.
switch# clear ip dhcp relay statistics ip-address 10.1.0.1 rbridge-id 1,3,5
See Also show ip dhcp relay statistics