618 IP Routing Commands
console(config)#interface vlan 15
console(config-if-vlan15)#ip mtu 1480
ip netdirbcast
Use the ip netdirbcast command in Interface Configuration mode to enable the forwarding of 
network-directed broadcasts. When enabled, network directed broadcasts are forwarded. When 
disabled they are dropped. Use the no form of the command to disable the broadcasts.
Syntax
ip netdirbcast 
no ip netdirbcast 
Default Configuration
Disabled is the default configuration.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
This command has no user guidelines.
Example
The following example defines the IP address and subnet mask for VLAN 15.
console(config)#interface vlan 15
console(config-if-vlan15)#ip netdirbcast
ip route
Use the ip route command in Global Configuration mode to configure a static route. Use the no 
form of the command to delete the static route. The IP route command sets a value for the 
route preference. Among routes to the same destination, the route with the lowest preference 
value is the route entered into the forwarding database. Specifying the preference of a static 
route controls whether a static route is more or less preferred than routes from dynamic routing 
protocols. The preference also controls whether a static route is more or less preferred than other 
static routes to the same destination.
Syntax
ip route 
ip addr
 {
subnetmask
 | 
prefix
 
length 
} 
nextHopRtr
 [ 
preference 
]