For introductory information about user datagram protocol (UDP), see UDP broadcast forwarding.
To configure and enable UDP broadcast forwarding on the switch:
This command routes an inbound UDP broadcast packet received from a client on the VLAN to the unicast or broadcast address configured for the UDP port type.
Syntax:
Used in a VLAN context to configure or remove a server or broadcast address and its associated UDP port number. You can configure a maximum of 16
forward-protocol udp
assignments in a given VLAN. The switch allows a total of 256forward-protocol udp
assignments across all VLANs.You can configure UDP broadcast forwarding addresses regardless of whether UDP broadcast forwarding is globally enabled on the switch. However, the feature does not operate unless globally enabled.
|
This can be either of the following:
|
||||||||||||||||||||||
|
Any UDP port number corresponding to a UDP application supported on a device at the specified unicast address or in the subnet at the specified broadcast address. For more information on UDP port numbers, refer to TCP/UDP port number ranges. | ||||||||||||||||||||||
|
Allows use of common names for certain well-known UDP port numbers. You can type in the specific name instead of having to recall the corresponding number:
|
Example
Syntax:
Displays the current status of UDP broadcast forwarding and lists the UDP forwarding addresses configured on all static VLANS in the switch or on a specific VLAN.
Example:
Displaying global IP forward-protocol status and configuration
This example shows the global display showing UDP broadcast forwarding status and configured forwardig addresses for inbound UDP broadcast traffic for all VLANs configured on the routing switch.
HP Switch(config)# show ip forward-protocol IP Forwarder Addresses UDP Broadcast Forwarding: Disabled VLAN: 1 IP Forward Addresses UDP Port -------------------- -------- 15.75.11.43 37 15.75.11.255 53 15.75.12.255 1813 VLAN: 2 IP Forward Addresses UDP Port -------------------- -------- 15.75.12.255 1812
Displaying IP forward-protocol status and per-VLAN configuration
This example shows the display of UDP broadcast forwarding status and the configured forwarding addresses for inbound UDP broadcast traffic on VLAN 1.
HP Switch(config)# show ip forward-protocol vlan 1 IP Forwarder Addresses UDP Broadcast Forwarding: Disabled IP Forward Addresses UDP Port -------------------- -------- 15.75.11.43 37 15.75.11.255 53 15.75.12.255 1813
The number of UDP broadcast entries and IP helper addresses combined can be up to 16 per VLAN, with an overall maximum of 2048 on the switch. (IP helper addresses are used with the switch's DHCP relay operation.)
For example, if VLAN 1 has 2 IP helper addresses configured, you can add up to 14 UDP forwarding entries in the same VLAN.
Message | Meaning |
---|---|
udp-bcast-forward: IP Routing support must be enabled first. |
Appears in the CLI if an attempt to enable UDP broadcast forwarding has been made without IP routing being enabled first. Enable IP routing, then enable UDP broadcast forwarding. |
UDP broadcast forwarder feature enabled |
UDP broadcast forwarding has been globally enabled on the router. Appears in the Event Log and, if configured, in SNMP traps. |
UDP broadcast forwarder feature disabled |
UDP broadcast forwarding has been globally disabled on the routing switch. This action does not prevent you from configuring UDP broadcast forwarding addresses, but does prevent UDP broadcast forwarding operation. Appears in the Event Log and, if configured, in SNMP traps. |
UDP broadcast forwarder must be disabled first. |
Appears in the CLI if you attempt to disable routing while UDP forwarding is enabled on the switch. |