Table 9 Example of a UDP packet-forwarding environment (continued)
NotesUDP
port
Forwarding
address
Subnet maskIP addressInterface
unicast forwarding address configured in VLAN 1
must be on this VLAN.
Also the destination VLAN for UDP 1812 from
clients on VLAN 1.
Destination VLAN for UDP 1813 broadcasts from
clients on VLAN 1.
N/ANone255.255.255.015.75.12.1VLAN 3
NOTE: If an IP server or subnet entry is invalid, a switch will not try to forward UDP packets to
the configured device or subnet address.
Subnet masking for UDP forwarding addresses
The subnet mask for a UDP forwarding address is the same as the mask applied to the subnet on
which the inbound UDP broadcast packet is received. To forward inbound UDP broadcast packets
as limited broadcasts to other subnets, use the broadcast address that covers the subnet you want
to reach. For example, if VLAN 1 has an IP address of 15.75.10.1/24 (15.75.10.1
255.255.255.0), you can configure the following unicast and limited broadcast addresses for
UDP packet forwarding to subnet 15.75.11.0:
IP addressForwarding destination type
15.75.11.XUDP unicast to a single device in the 15.75.11.0 subnet
15.75.11.255UDP broadcast to subnet 15.75.11.0
Configuring and enabling UDP broadcast forwarding
To configure and enable UDP broadcast forwarding on the switch:
1. Enable routing.
2. Globally enable UDP broadcast forwarding.
3. On a per-VLAN basis, configure a forwarding address and UDP port type for each type of
incoming UDP broadcast you want routed to other VLANs.
Globally enabling UDP broadcast forwarding
Syntax:
[no] ip udp-bcast-forward
Enables or disables UDP broadcast forwarding on the routing switch. Routing must
be enabled before executing this command.
Using the no form of this command disables any ip forward protocol udp
commands configured in VLANs on the switch.
Default: Disabled
Configuring UDP broadcast forwarding on individual VLANs
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:
[no] ip forward-protocol udp <ip-address> <port-number |
port-name>
UDP broadcast forwarding 77