Troubleshooting DHCP Relay
Before you begin
Configure the server to reply to the client subnet. Check the server configuration file to verify the configuration.
Configure a route on the server for the client subnet to create a path on which to send replies.
About this task
Perform this procedure to troubleshoot the DHCP relay agent.
Procedure
Example
Switch:1# ping 192.0.2.31
Switch:1:#show spanning-tree mstp port role
================================================================================
CIST Port Roles and States
================================================================================
Port-Index Port-Role Port-State PortSTPStatus PortOperStatus
--------------------------------------------------------------------------------
1/1 Disabled Forwarding Disabled Disabled
1/2 Disabled Forwarding Disabled Disabled
1/3 Disabled Discarding Enabled Disabled
1/4 Disabled Discarding Enabled Disabled
1/5 Disabled Forwarding Disabled Disabled
1/6 Disabled Forwarding Disabled Disabled
1/7 Disabled Forwarding Disabled Disabled
1/8 Disabled Forwarding Disabled Disabled
1/9 Disabled Discarding Enabled Disabled
1/10 Disabled Discarding Enabled Disabled
1/11 Disabled Discarding Enabled Disabled
1/12 Designated Forwarding Enabled Enabled
1/13 Disabled Forwarding Disabled Disabled
1/14 Disabled Forwarding Disabled Disabled
--More-- (q = quit)
Switch:1:# trace level 9 3
Switch:1:# trace grep 00-1A-4B-8A-FB-6B
Variable Definitions
Use the data in the following table to use the troubleshooting commands in this procedure.
|
Variable |
Value |
|---|---|
|
{slot/port[/sub-port][-slot/port[/sub-port]][,...]} |
Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
|
WORD<0-128> |
Specifies the text string to use as the search criterion. |
|
WORD<0-256> |
Specifies the IP address. |
