This chapter covers the following topics:
Introduction to multicast forwarding
Video and audio transmissions typically require one-to-many and many-to-many communication, rather than the point-to-point connections that many other types of network applications use. Video and audio transmissions use the IP Multicast Backbone (MBONE) as a much cheaper and faster way to communicate the same information to multiple hosts.
Figure 6-1. MAX TNT forwarding multicast traffic to LAN and WAN clients
Enabling multicast forwarding
To enable the MAX TNT to operate as a multicast forwarder, you must first enable the Multicast-Forwarding feature and specify on which interface the multicast router resides. Following are the relevant parameters, which are shown with their default values:
IP-GLOBAL
multicast-forwarding = no
mbone-profile = ""
mbone-lan-interface = { { any-shelf any-slot 0 } 0 }
multicast-hbeat-addr = 0.0.0.0
multicast-hbeat-port = 0
multicast-hbeat-slot-time = 0
multicast-hbeat-number-slot = 0
multicast-hbeat-alarm-threshold = 0
multicast-hbeat-src-addr = 0.0.0.0
multicast-hbeat-src-addr-mask = 0.0.0.0
multicast-member-timeout = 360
Identifying the MBONE interface
The MBONE interface is the one on which the multicast router resides. It may be a LAN or WAN interface, but it cannot be both. Only one interface can support a multicast router. For example, the following commands enable the MAX TNT to operate as a multicast forwarder and specifies that the multicast router resides on the Ethernet port of the shelf-controller:
admin> read ip-global
IP-GLOBAL read
admin> set multicast-forwarding = yes
admin> set mbone-lan-interface = { {1 c 1} 0}
admin> writeThe following commands specify the name of a local Connection profile for the WAN interface on which the multicast router resides:
IP-GLOBAL written
admin> read ip-global
IP-GLOBAL read
admin> set multicast-forwarding = yes
admin> set mbone-profile = multicast-router
admin> write
IP-GLOBAL written
IP-GLOBALMulticast-Member-Timeout specifies the timeout (in seconds) for client responses to multicast polling messages. When the system is operating as a multicast forwarder, it forwards polling messages generated by the multicast router, and keeps track of active memberships from its client interfaces. If no client responds to the polling messages within the amount of time you specify for Multicast-Member-Timeout, the MAX TNT stops forwarding multicast traffic on that interface.
multicast-member-timeout = 360
In the following example, an administrator configures the timeout value to 60 seconds:
admin> read ip-global
IP-GLOBAL read
admin> set multicast-member-timeout = 60
admin> write
IP-GLOBAL written
Trap type: TRAP_ENTERPRISE
Code: TRAP_MULTICAST_TREE_BROKEN (19)
Arguments:
1) Multicast group address being monitored (4 bytes),
2) Source address of last heartbeat packet received (4 bytes)
3) Slot time interval configured in seconds (4 bytes),
4) Number of slots configured (4 bytes).
5) Total number of heartbeat packets received before the unit started sending SNMP Alarms (4 bytes).
The Multicast-Hbeat-Number-Slot and Multicast-Hbeat-Slot-Time parameters define how many times the MAX TNT should poll for multicast traffic and how long each polling interval should last, respectively. At the end of the period defined by the combination of these settings, the MAX TNT compares the number of multicast packets to the non-zero value of the Multicast-Hbeat-Alarm-Threshold parameter.
With the following sample configuration, the MAX TNT polls ten times at 10-second intervals and then compare the total traffic count to the specified alarm threshold. If fewer than 30 packets have been received, it generates the SNMP alarm.
admin> read ip-global
IP-GLOBAL/ read
admin> set multicast-hbeat-slot-time = 10
admin> set multicast-hbeat-number-slot = 10
admin> set multicast-hbeat-alarm-threshold = 30
admin> write
IP-GLOBAL/ written
admin> read ip-global
IP-GLOBAL/ read
admin> set multicast-hbeat-addr = 224.1.1.1
admin> writeThe next sample configuration limits monitoring to packets forwarded to and received from the multicast address 224.1.1.1 on UDP port 16387.
IP-GLOBAL/ written
admin> read ip-global
IP-GLOBAL/ read
admin> set multicast-hbeat-addr = 224.1.1.1
admin> set multicast-hbeat-port = 16387
admin> writeThe following example shows how to specify a source subnet to ignore. Multicast packets that from the 10.1.0.0 subnet will be ignored for heartbeat monitoring purposes:
IP-GLOBAL/ written
admin> read ip-global
IP-GLOBAL/ read
admin> set multicast-hbeat-src-addr = 10.1.2.3
admin> set multicast-hbeat-src-addr-mask = 255.255.0.0
admin> write
IP-GLOBAL/ written
Configuring the interface to the multicast router
The interface to the multicast router is either a local IP interface or a WAN connection, as specified in Identifying the MBONE interface. If the IP-Global profile specifies that the router is on a local interface, you set the following parameter on that interface:
IP-INTERFACE {{shelf-N slot-N N } N }If the IP-Global profile specifies that the router is on a WAN interface, you set the following parameter in that Connection profile, which is shown with its default value:
multicast-allowed = yes
CONNECTION station
ip-options...
multicast-allowed = no
The following example shows how to configure the MAX TNT as a multicast forwarder when the multicast router resides on a local interface, as shown in Figure 6-2:
Figure 6-2. Multicast router on a LAN interface
admin> read ip-global
IP-GLOBAL read
admin> set multicast-forwarding = yes
admin> set mbone-lan-interface = { {1 c 1} 0}
admin> write
IP-GLOBAL written
admin> read ip-interface {{1 c 1}0}
IP-INTERFACE/{ { shelf-1 controller 1 } 0 } read
admin> set multicast-allowed = yes
admin> write
IP-INTERFACE/{ { shelf-1 controller 1 } 0 } written
The following example shows how to configure the MAX TNT as a multicast forwarder when the multicast router resides on a WAN interface, as shown in Multicast router on a WAN interface. (It does not show all of the encapsulation, Telco, and routing options, which are described in other chapters of this guide.)
Figure 6-3. Multicast router on a WAN interface
admin> read ip-global
IP-GLOBAL read
admin> set multicast-forwarding = yes
admin> set mbone-profile = multicast-router
admin> write
IP-GLOBAL written
admin> read connection multicast-router
CONNECTION/multicast-router read
admin> set ip multicast-allowed = yes
admin> write
CONNECTION/multicast-router written
Configuring interfaces to multicast clients
Following are the parameters for configuring the interface on which multicast clients reside. The parameters are shown with their default values:
IP-INTERFACE {{shelf-N slot-N N } N }
multicast-allowed = no
multicast-rate-limit = 100
multicast-group-leave-delay = 0
CONNECTION stationSetting Multicast-Allowed to Yes enables the MAX TNT to begin handling IGMP requests and responses on the interface. The MAX TNT does not begin forwarding multicast traffic until the rate limit is set.
ip-options...
multicast-allowed = no
multicast-rate-limit = 100
multicast-group-leave-delay = 0
For example if you set Multicast-Rate-Limit to 5, the MAX TNT accepts a packet from multicast clients on the interface every 5 seconds. Any subsequent packets received within that 5-second window are discarded.
If Multicast-Group-Leave-Delay is set to zero (the default), the MAX TNT forwards the Leave Group messages immediately.
If you set Multicast-Group-Leave-Delay to a non-zero value, when the MAX TNT receives a Leave Group message from a client on the interface, instead of forwarding the Leave Group message, it sends back a query to make sure there are no clients with active multicast sessions for that group in the interface. If it receives a response before the specified Multicast-Group-Leave-Delay interval, it does not forward the Leave Group message. Otherwise, it forwards the message and clears the IGMP group session from its tables after the specified interval.
If users might establish multiple multicast sessions for identical groups, you should set this parameter to a value between 10 and 20.
Figure 6-4. LAN multicast client interface
admin> read ip-interface {{1 6 1 0}
IP-INTERFACE/{ { shelf-1 slot-6 1 } 0 } read
admin> set multicast-allowed = yes
admin> set multicast-rate-limit = 5
admin> set multicast-group-leave-delay = 10
admin> writeNote that you must set the rate limit to a number lower than 100 to enable the MAX TNT to forward multicast traffic. If other local IP interfaces support multicast clients, the administrator should enable multicasting and configure the rate limit in those IP-Interface profiles. (The interface configured as the MBONE interface in the MAX TNT cannot support multicast clients.)
IP-INTERFACE/{ { shelf-1 slot-6 1 } 0 } written
Figure 6-5. WAN multicast client interfaces
admin> read connection vat-1
CONNECTION/vat-1 read
admin> set ip multicast-allowed = yes
admin> set ip multicast-rate-limit = 5
admin> set ip multicast-group-leave-delay = 20
admin> writeNote that you must set the rate limit to a number lower than 100 to enable the MAX TNT to forward multicast traffic.
CONNECTION/vat-1 written
admin> read connection w95-1
CONNECTION/w95-1 read
admin> set ip multicast-allowed = yes
admin> set ip multicast-rate-limit = 5
admin> set ip multicast-group-leave-delay = 20
admin> write
CONNECTION/w95-1 written
admin> read connection w95-2
CONNECTION/w95-2 read
admin> set ip multicast-allowed = yes
admin> set ip multicast-rate-limit = 5
admin> set ip multicast-group-leave-delay = 20
admin> write
CONNECTION/w95-2 written
Copyright © 1998, Ascend Communications, Inc. All rights reserved.