ip forward-protocol udp
Syntax
ip forward-protocol udp <IPV4-ADDR> {<PORT-NUM> | <PROTOCOL>}
no ip forward-protocol udp
Description
Defines the UDP server to which the interface forwards ingress UDP broadcast packets received on a specific UDP port. A maximum of 8 UDP broadcast servers can be configured per interface.
The
no
form of this command removes traffic forwarding for the specified server and port/protocol.
Command context
config-if
Parameters
<IPV4-ADDR>
Specifies the UDP server IP address in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255. You can remove leading zeros. For example, the address192.169.005.100
becomes192.168.5.100
.When specifying an IPv4 address, you can remove leading zeros. For example, the address
192.169.005.100
becomes192.168.5.100
.<PORT-NUM>
- Specifies the UDP port number for which traffic is forwarded.
<PROTOCOL>
- Specifies the protocol name for which traffic is forwarded. Supported protocols and their port numbers are:
- dns (53): Domain Name Service
- ntp (123): Network Time Protocol
- netbios-ns (137): NetBIOS Name Service
- netbios-dgm (138): NetBIOS Datagram Service
- radius (1812): Remote Authentication Dial-In User Service
- radius-old (1645): Remote Authentication Dial-In User Service
- rip (520): Routing Information Protocol
- snmp (161): Simple Network Management Protocol
- snmp-trap (162): Simple Network Management Protocol
- tftp (69): Trivial File Transfer Protocol
- timep (37): Time Protocol
Authority
Administrators
Examples
Forwarding DNS traffic to server 192.168.1.10 on interface 1/1/1:
switch(config)# interface 1/1/1 switch(config-if)# ip udp-bcast-forward protocol udp 192.168.1.10 dns
Forwarding DNS traffic (port 53) to server 192.168.1.10 on interface 1/1/1:
switch(config)# interface 1/1/1 switch(config-if)# ip udp-bcast-forward protocol udp 192.168.1.10 53