ip forward-protocol udp

Configures the Layer 3 switch to forward client requests for UDP applications.
Syntax
ip forward-protocol udp { port-name | port-num }
ip forward-protocol udp { port-name | port-num } ip-address
no ip forward-protocol udp { port-name | port-num }
no ip forward-protocol udp { port-name | port-num } ip-address
Command Default

Layer 3 switch does not forward client requests for UDP applications.

Parameters
port-name
Specifies the UDP application name. The values can be echo, discard, time, tacacs, dns, bootps, bootpc, tftp, ntp, netbios-ns, netbios-dgm, mobile-ip, and talk.
port-num
Specifies the UDP application port number.
ip-address
Specifies an IP address.
Modes

Global configuration mode

Interface subtype configuration mode

Usage Guidelines

You also must configure a helper address on the interface that is connected to the clients for the application. The Layer 3 switch cannot forward the requests unless you configure the helper address

This command disables forwarding of SNMP requests to the helper addresses configured on Layer 3 switch interfaces.

The ip-address option is only available in Interface subtype configuration mode.

The no form of the command stops forwarding client requests for the UDP applications.

Examples

The following example enables the forwarding of NTP broadcasts.

device# configure terminal
device(config)# ip forward-protocol udp ntp

The following example enables the forwarding of DNS broadcasts and specifies an IP subnet broadcast address.

device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# ip forward-protocol udp dns 10.1.1.255
History
Release version Command history
08.0.90 Support for this command was added in Interface subtype configuration mode and the ip-address option was added.