Configuring static ip multicast routes – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 379

Advertising
background image

Multi-Service IronWare Routing Configuration Guide

351

53-1003033-02

Configuring MBGP

The weight num parameter specifies a weight to be added to routes to this network.

Enabling redistribution of directly-connected multicast routes into MBGP

To redistribute a directly-connected multicast route into MBGP enable redistribution of
directly-connected routes into MBGP, using a route map to specify the routes to be redistributed.

Example

Brocade(config)# access-list 10 permit 10.95.22.0 0.0.0.255

Brocade(config)# route-map mbgpmap permit 1

Brocade(config-routemap mbgpmap)# match ip address 10

Brocade(config-routemap mbgpmap)# exit

Brocade(config)# router bgp

Brocade(config-bgp-ipv4m)# redistribute connected route-map mbgpmap

The first command configures an IP ACL for use in the route map. The ACL matches on the
destination network for the route to be redistributed. The next four commands configure a route
map that matches on routes to the multicast network specified in IP ACL 10. The Brocade device
redistributes routes that match the route map into MBGP.

Syntax: [no] redistribute [connected | static] [metric num] [route-map map-name]

The connected parameter indicates that you are redistributing routes to directly attached devices
into MBGP.

The static parameter indicates that you are redistributing static mroutes into MBGP.

The metric num parameter changes the metric. You can specify a value from 0 – 4294967295.
The default is 0.

The route-map map-name parameter specifies a route map to be consulted before redistributing
the routes into MBGP.

NOTE

The route map you specify must already be configured.

NOTE

For IPv6 address family, make sure you enter the IPv6 versions of the commands.

Configuring static IP multicast routes

To configure static IP multicast routes, enter commands such as the following.

Brocade(config)# ip mroute 10.95.10.0 255.255.255.0 interface ethernet 1/2

Brocade(config)# ip mroute 0.0.0.0 0.0.0.0 interface ethernet 2/3

The commands in this example configure two static multicast routes. The first route is for a specific
source network, 10.95.10.0/24. If the Brocade device receives multicast traffic for network
10.95.10.0/24, the traffic must arrive on port 1/2. The second route is for all other multicast
traffic. Traffic from multicast sources other than 10.95.10.0/24 must arrive on port 2/3.

If you configure more than one static multicast route, the Brocade device always uses the most
specific route that matches a multicast source address. Thus, if you want to configure a multicast
static route for a specific multicast source and also configure another multicast static route for all
other sources, you can configure two static routes as shown in this example.

Advertising