DHCP and UDP Commands
208967-B 2-3
show ip dhcp-relay Commands
show ip dhcp-relay fwd-path Command
The
show ip dhcp-relay fwd-path command displays DHCP routing
information, including interface, server, enabled or disabled, and mode (forward
BootP messages only, DHCP messages only, or both).
show ip dhcp-relay counters Command
The
show ip dhcp-relay counters command displays DHCP counter
information, including the number of requests and the number of replies for each
interface.
Figure 2-1
shows an example of show ip dhcp-relay counters command.
Passport-8610/show/ip/dhcp-relay# counters
================================================================================
Dchp
================================================================================
INTERFACE REQUESTS REPLIES
--------------------------------------------------------------------------------
10.10.40.1 0 0
Figure 2-1.
show ip dhcp-relay counters
Command Output
disable-fwd-path agent
<value> server <value>
Disables DHCP relaying on the path from the IP
address to the server. This is the default.
• agent <value> is the IP address configured
on an interface (a locally configured IP address).
• server <value> is the IP address of the
DHCP server in the network.
mode <mode> agent <value>
server <value>
Modifies DHCP mode to forward BootP messages
only, DHCP messages only, or both. The default is
both.
• <mode> is {bootp|dhcp|bootp_dhcp}.
• agent <value> is the IP address configured
on an interface (a locally configured IP address).
• server <value> is the IP address of the
DHCP server in the network.
config ip dhcp-relay
followed by:
cli.book Page3 Wednesday,April19, 2000 3:14PM