UDP Broadcast Configuration Examples

This example shows how to enable forwarding of Domain Naming System UDP datagrams (port 53):

System(rw-config)->ip forward-protocol udp 53

This example shows how to enable forwarding of Domain Naming System UDP datagrams (port 53) by naming the protocol:

System(rw-config)->ip forward-protocol udp domain

Configuring IP Broadcast describes how to configure IP broadcast.

Click to expand in new window

Configuring IP Broadcast

Step Task Command(s)
1 In interface configuration command mode, enable IP directed broadcasts on an interface. ip directed-broadcast
2 In configuration command mode, optionally, enable UDP broadcast forwarding and specify the destination port number or keyword that controls the forwarding protocol.
  • port - 1 - 65535
  • bootps - Specifies the Bootstrap Protocol server (67) port.
  • domain - Specifies the Domain Name Service (53) port.
  • nameserver - Specifies the IEN116 name service (42) port.
  • netbios-dgm - Specifies the NetBIOS datagram service (138) port.
  • netbios-ns - Specifies the NetBIOS name service (137) port.
  • tacacs - Specifies the Terminal Access Controller Access Control System (49) port.
  • tftp - Specifies the Trivial File Transfer Protocol (69) port.
  • time - Specifies the Time (37) port.
ip forward-protocol udp [port]
3 In interface configuration command mode, optionally, enable DHCP/BOOTP relay and the forwarding of local UDP broadcasts, specifying a new destination address. ip helper-address address
4 In global or interface configuration command mode, optionally insert relay agent information option 82 and its sub-options into the relay agent DHCP packet. See DHCP Relay Agent Information Options.