Switch User Manual

IP Helper/DHCP Relay Commands 961
Example
show ip helper-address
IP helper is enabled
Interface UDP Port Discard Hit Count Server Address
--------------- ----------- -------- ---------- ---------------
vlan 100 dhcp No 10 10.100.1.254
10.100.2.254
vlan 101 any Yes 2
any dhcp No 0 10.200.1.254
show ip dhcp relay
Use the show ip dhcp relay command in User EXEC mode to display the
BootP/DHCP Relay information.
Syntax
show ip dhcp relay
Parameter Description
This command has no arguments or keywords.
UDP Port The relay configuration is applied to packets whose destination
UDP port is this port. Entries whose UDP port is identified as
“any” are applied to packets with the destination UDP ports listed
in Table 47-1.
Discard If “Yes”, packets arriving on the given interface with the given
destination UDP port are discarded rather than relayed. Discard
entries are used to override global IP helper address entries which
otherwise might apply to a packet.
Hit Count The number of times the IP helper entry has been used to relay or
discard a packet.
Server Address The IPv4 address of the server to which packets are relayed.
2CSPC4.XCT-SWUM2XX1.book Page 961 Monday, October 3, 2011 11:05 AM