Enterasys Networks XSR CLI Router User Manual


 
Other IP Commands
XSR CLI Reference Guide 5-153
Mode
Globalconfiguration:XSR(config)#
Example
Inthefollowingexample,asshowninFigure 55,Router1setstwocandidatesforthedefault
route:network199.15.2.0and198.15.2.0.
XSR(config)#ip default-network 199.15.2.0
XSR(config)#ip default-network 198.15.2.0
Bothdefaultroutesappearintheroutingtable,asadvertisedbyRouter2,andRouter3,whichrun
RIP,sobotharecandidatesforthedefaultroute.Therouteto199.15.2.0isthreehopsaway,and
therouteto198.15.2.0isfourhopsaway.Sotherouteto199.15.2.0is
selectedasthedefaultroute,
andSerial1/0isthegatewayoflastresortforRouter1.Adefaultroute0/0nexthopSerial1/0is
configuredonRouter1.
Figure 5-5 IP Default Route Example
ip directed-broadcast
Thiscommandenables/disablesIPdirectedbroadcast.Optionally,youcanspecifyanaccesslistto
controlwhichbroadcastsareforwarded.
Syntax
ip directed-broadcast [access-list-number]
Parameters
Syntax of the “no” Form
Thenoformofthiscommanddisablesdirectedbroadcastglobally:
no ip directed-broadcast [access-list-number]
INTERNET
Router 2
Route
Metric
199.15.2.0
198.15.2.0
Router 1
Serial 1/1
3
4
198.15.1.0
Serial 1
INTERNET
198.15.2.0
199.15.2.0
Router 3
199.15.1.0
access-list-
number
ACLnumber.Ifthisisset,abroadcastmustpasstheACLtobeforwarded.If
notset,allbroadcastsareforwarded.