Configuring IP Unicast Routing
Configuring IP Addressing
DETAILED STEPS
Command
1.
configure terminal
2.
interface interface-id
3.
no shutdown
4.
ip directed-broadcast
[access-list-number]
5.
exit
6.
ip forward-protocol {udp [port] | nd |
sdns}
7.
end
8.
show ip interface [interface-id]
or
show running-config
9.
copy running-config startup-config
Use the no ip directed-broadcast interface configuration command to disable translation of directed broadcast to
physical broadcasts. Use the no ip forward-protocol global configuration command to remove a protocol or port.
EXAMPLE
The following example enables forwarding of IP directed broadcasts on Ethernet interface 0. The ip forward-protocol
command using the udp keyword without specifying any port numbers allows forwarding of UDP packets on the default
ports.
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface ethernet 0
Switch(config-if)# ip directed-broadcast
Switch(config-if)# exit
Switch(config)# ip forward-protocol udp
Switch(config)# end
Purpose
Enter global configuration mode.
Enter interface configuration mode, and specify the
interface to configure.
Enable the interface if necessary. By default, UNIs and ENIs
are disabled and NNIs are enabled.
Enable directed broadcast-to-physical broadcast
translation on the interface. You can include an access list to
control which broadcasts are forwarded. When an access
list is specified, only IP packets permitted by the access list
are eligible to be translated.
Return to global configuration mode.
Specify which protocols and ports the router forwards when
forwarding broadcast packets.
udp—Forward UPD datagrams.
port: (Optional) Destination port that controls which
UDP services are forwarded.
nd—Forward ND datagrams.
sdns—Forward SDNS datagrams.
Return to privileged EXEC mode.
Verify the configuration on the interface or all interfaces.
(Optional) Save your entries in the configuration file.
End with CNTL/Z.
811