Configuring static ip multicast routes – Brocade BigIron RX Series Configuration Guide User Manual

Page 1016

Advertising
background image

938

BigIron RX Series Configuration Guide

53-1002484-04

Configuring MBGP

28

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.
Here is an example.

BigIron RX(config)# access-list 10 permit 207.95.22.0 0.0.0.255

BigIron RX(config)# route-map mbgpmap permit 1

BigIron RX(config-routemap mbgpmap)# match ip address 10

BigIron RX(config-routemap mbgpmap)# exit

BigIron RX(config)# router bgp

BigIron RX(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 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.

Configuring static IP multicast routes

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

BigIron RX(config)# ip mroute 207.95.10.0 255.255.255.0 ethernet 1/2

BigIron RX(config)# ip mroute 0.0.0.0 0.0.0.0 ethernet 2/3

The commands in this example configure two static multicast routes. The first route is for a specific
source network, 207.95.10.0/24. If the device receives multicast traffic for network
207.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 207.95.10.0/24 must arrive on port 2/3.

If you configure more than one static multicast route, the 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.

Syntax: [no] ip mroute <ip-addr> <ip-mask> [<next-hop-ip-addr> | ethernet <slot/port> | ve

<num> | null0] [<cost>] [distance < num>]

The ip-addr and ip-mask parameters specifies the PIM source for the route.

The ethernet <slot/port> parameter specifies a physical port.

Advertising