Ip directed-broadcast – Enterasys Networks X-Pedition XSR CLI User Manual
Page 229
Other IP Commands
XSR CLI Reference Guide 5-153
Mode
Global configuration:
XSR(config)#
Example
In the following example, as shown in
, Router 1 sets two candidates for the default
route: network 199.15.2.0 and 198.15.2.0.
XSR(config)#ip default-network 199.15.2.0
XSR(config)#ip default-network 198.15.2.0
Both default routes appear in the routing table, as advertised by Router 2, and Router 3, which run
RIP, so both are candidates for the default route. The route to 199.15.2.0 is three hops away, and
the route to 198.15.2.0 is four hops away. So the route to 199.15.2.0 is selected as the default route,
and Serial 1/0 is the gateway of last resort for Router 1. A default route 0/0 next hop Serial 1/0 is
configured on Router 1.
Figure 5-5 IP Default Route Example
ip directed-broadcast
This command enables/disables IP directed broadcast. Optionally, you can specify an access list to
control which broadcasts are forwarded.
Syntax
ip directed-broadcast [access-list-number]
Parameters
Syntax of the “no” Form
The no form of this command disables directed broadcast globally:
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
ACL number. If this is set, a broadcast must pass the ACL to be forwarded. If
not set, all broadcasts are forwarded.