Other IP Commands
5-154 Configuring the Internet Protocol
Mode
Interfaceconfiguration: XSR(config-if<xx>)#
Default
Enabled
Example
ThefollowingexampledeniesICMPbroadcastsonportFastEthernet1:
XSR(config)#access-list 100 deny ICMP any any
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip directed-broadcast 100
ThefollowingexampleremovesthepreviousrestrictiononinterfaceFastEthernet1(broadcast
willbeperformedforallprotocols):
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#no ip directed-broadcast

ip dhcp relay-source gateway

ThiscommandallowsuserstoselectthesourceaddresstousewhenrelayingpacketstotheDHCP
servers.TheDHCPserversareconfiguredusingiphelperaddresscommand.
Syntax
ip dhcp relay-source gateway
Syntax of the “no” Form
Thenoformnegatesthecommandsothattheoutgoinginterfaceaddresswillbeusedasthe
sourceaddress:
no ip dhcp relay-source gateway
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Default
Theoutgoinginterfaceaddresswillbeusedasthesourceaddress.
Example
Inthefollowingexample,thesourceaddressissetforinterfacefastethernet1:
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip dhcp relay-source gateway