Show, Clear, Debug Commands
Page 1752 7750 SR OS Services Guide
dhcp
Syntax dhcp
Context show>service>id
Description This command enables the context to display DHCP information for the specified service.
lease-state
Syntax lease-state [[sap sap-id] | [sdp sdp-id:vc-id] | [interface interface-name] | [ip-address ip-
address]] [detail]
Context show>service>id>dhcp
Description This command displays DHCP lease state related information.
Parameters sap sap-id — Specifies the physical port identifier portion of the SAP definition. See Common CLI
Command Descriptions on page 1933 for command syntax.
sdp-id — The SDP identifier.
Values 1 — 17407
vc-id — The virtual circuit ID on the SDP ID for which to display information.
Values 1 — 4294967295
interface interface-name — Displays information for the specified IP interface.
ip-address ip-address — Displays information associated with the specified IP address.
detail — Displays detailed information.
Sample Output
A:ALA-_Dut-A# show service id 13 dhcp lease-state
===============================================================================
DHCP lease state table, service 13
===============================================================================
IP Address Mac Address Sap/Sdp Id Remaining Lease MC
LifeTime Origin Stdby
-------------------------------------------------------------------------------
13.13.40.1 00:00:00:00:00:13 1/1/1:13 00h00m58s Radius
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:ALA-_Dut-A#
A:ALA-_Dut-A# show service id 13 dhcp lease-state detail
===============================================================================
DHCP lease states for service 13
===============================================================================
Service ID : 13
IP Address : 13.13.40.1
Mac Address : 00:00:00:00:00:13